OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 # | 4 # |
5 # Makefile for metrics utilities -- library, client and daemon | 5 # Makefile for metrics utilities -- library, client and daemon |
6 # | 6 # |
7 | 7 |
8 CCONFIG = $(shell $(PKG_CONFIG) --cflags dbus-1 glib-2.0 dbus-glib-1) | 8 CCONFIG = $(shell $(PKG_CONFIG) --cflags dbus-1 glib-2.0 dbus-glib-1) |
9 LDCONFIG = $(shell $(PKG_CONFIG) --libs dbus-1 glib-2.0 gthread-2.0 dbus-glib-1) | 9 LDCONFIG = $(shell $(PKG_CONFIG) --libs dbus-1 glib-2.0 gthread-2.0 dbus-glib-1) |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 metrics_daemon.o: \ | 57 metrics_daemon.o: \ |
58 metrics_daemon.h \ | 58 metrics_daemon.h \ |
59 network_states.h \ | 59 network_states.h \ |
60 power_states.h | 60 power_states.h |
61 metrics_daemon_test.o: \ | 61 metrics_daemon_test.o: \ |
62 metrics_daemon.h \ | 62 metrics_daemon.h \ |
63 network_states.h \ | 63 network_states.h \ |
64 power_states.h | 64 power_states.h |
65 | 65 |
66 install: | |
67 install $(CLIENT) $(DESTDIR)/usr/bin | |
68 install $(DAEMON) $(DESTDIR)/usr/bin | |
69 install $(LIB) $(DESTDIR)/usr/lib | |
70 install $(SHAREDLIB) $(DESTDIR)/usr/lib | |
71 install metrics_library.h $(DESTDIR)/usr/include | |
72 install syslog_parser.sh $(DESTDIR)/usr/bin | |
73 install omaha_tracker.sh $(DESTDIR)/usr/sbin | |
74 | |
75 clean: | 66 clean: |
76 rm -f $(CLIENT) $(DAEMON) $(LIB) $(SHAREDLIB) $(TESTDAEMON) *.o | 67 rm -f $(CLIENT) $(DAEMON) $(LIB) $(SHAREDLIB) $(TESTDAEMON) *.o |
OLD | NEW |