| OLD | NEW | 
|   1 # Makefile for metrics client and library |   1 # Makefile for metrics client and library | 
|   2 ####################################################### |   2 ####################################################### | 
|   3 CXX=/usr/bin/g++ |   3 CXX=/usr/bin/g++ | 
|   4 CC=/usr/bin/gcc |   4 CC=/usr/bin/gcc | 
|   5 CFLAGS=-Wall -I/usr/include -I../../ |   5 CFLAGS=-Wall -I/usr/include -I../../ | 
|   6 CXXFLAGS=$(CFLAGS) |   6 CXXFLAGS=$(CFLAGS) | 
|   7 ####################################################### |   7 ####################################################### | 
|   8  |   8  | 
|   9 CLIENT=metrics_client |   9 CLIENT=metrics_client | 
|  10 LIBRARY=metrics_library |  10 LIBRARY=metrics_library | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
|  22         $(CXX) $(LDFLAGS) $(CLIENT_OBJECTS) libmetrics.a -o $(CLIENT) |  22         $(CXX) $(LDFLAGS) $(CLIENT_OBJECTS) libmetrics.a -o $(CLIENT) | 
|  23          |  23          | 
|  24 metrics_library: $(LIBRARY_OBJECTS) |  24 metrics_library: $(LIBRARY_OBJECTS) | 
|  25         ar rcs libmetrics.a $(LIBRARY_OBJECTS)   |  25         ar rcs libmetrics.a $(LIBRARY_OBJECTS)   | 
|  26          |  26          | 
|  27 .cc.o: |  27 .cc.o: | 
|  28         $(CXX) $(CXXFLAGS) $(DEFINES) -c $< -o $@ |  28         $(CXX) $(CXXFLAGS) $(DEFINES) -c $< -o $@ | 
|  29  |  29  | 
|  30 install: |  30 install: | 
|  31         install $(CLIENT) $(DESTDIR)/usr/bin |  31         install $(CLIENT) $(DESTDIR)/usr/bin | 
 |  32         install omaha_tracker.sh $(DESTDIR)/usr/sbin | 
|  32  |  33  | 
|  33 clean: |  34 clean: | 
|  34         @rm -f $(CLIENT) *.o *.a |  35         @rm -f $(CLIENT) *.o *.a | 
| OLD | NEW |