Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: Makefile

Issue 2832008: add C wrapper for libmetrics (Closed) Base URL: ssh://git@chromiumos-git//metrics.git
Patch Set: remove include Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | c_metrics_library.h » ('j') | c_metrics_library.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 14 matching lines...) Expand all
25 metrics_client.o 25 metrics_client.o
26 DAEMON_OBJS = \ 26 DAEMON_OBJS = \
27 counter.o \ 27 counter.o \
28 metrics_daemon.o \ 28 metrics_daemon.o \
29 metrics_daemon_main.o 29 metrics_daemon_main.o
30 TESTDAEMON_OBJS = \ 30 TESTDAEMON_OBJS = \
31 counter.o \ 31 counter.o \
32 metrics_daemon.o \ 32 metrics_daemon.o \
33 metrics_daemon_test.o 33 metrics_daemon_test.o
34 LIB_OBJS = \ 34 LIB_OBJS = \
35 c_metrics_library.o \
35 metrics_library.o 36 metrics_library.o
36 TESTLIB_OBJS = \ 37 TESTLIB_OBJS = \
37 metrics_library.o \ 38 metrics_library.o \
38 metrics_library_test.o 39 metrics_library_test.o
39 40
40 TESTCOUNTER_LIBS = -lgmock -lgtest -lbase -lrt -lpthread 41 TESTCOUNTER_LIBS = -lgmock -lgtest -lbase -lrt -lpthread
41 DAEMON_LDFLAGS = $(LDFLAGS) $(LDCONFIG) -lrt -lbase -lpthread -lgflags 42 DAEMON_LDFLAGS = $(LDFLAGS) $(LDCONFIG) -lrt -lbase -lpthread -lgflags
42 TESTDAEMON_LIBS = -lgmock -lgtest 43 TESTDAEMON_LIBS = -lgmock -lgtest
43 TESTLIB_LIBS = -lgtest -lbase -lrt -lpthread 44 TESTLIB_LIBS = -lgtest -lbase -lrt -lpthread
44 45
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 network_states.h \ 78 network_states.h \
78 power_states.h 79 power_states.h
79 metrics_daemon_test.o: \ 80 metrics_daemon_test.o: \
80 metrics_daemon.h \ 81 metrics_daemon.h \
81 network_states.h \ 82 network_states.h \
82 power_states.h 83 power_states.h
83 84
84 clean: 85 clean:
85 rm -f $(CLIENT) $(DAEMON) $(LIB) $(SHAREDLIB) *.o 86 rm -f $(CLIENT) $(DAEMON) $(LIB) $(SHAREDLIB) *.o
86 rm -f $(COUNTER_TEST) $(DAEMON_TEST) $(LIB_TEST) 87 rm -f $(COUNTER_TEST) $(DAEMON_TEST) $(LIB_TEST)
OLDNEW
« no previous file with comments | « no previous file | c_metrics_library.h » ('j') | c_metrics_library.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698