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

Side by Side Diff: Makefile

Issue 2806043: Add crash reporting to metrics_daemon. (Closed) Base URL: ssh://git@chromiumos-git/metrics.git
Patch Set: Created 10 years, 5 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 | no next file » | no next file with comments »
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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 tests: $(COUNTER_TEST) $(DAEMON_TEST) $(LIB_TEST) 47 tests: $(COUNTER_TEST) $(DAEMON_TEST) $(LIB_TEST)
48 48
49 $(CLIENT): $(CLIENT_OBJS) $(SHAREDLIB) 49 $(CLIENT): $(CLIENT_OBJS) $(SHAREDLIB)
50 $(CXX) $(LDFLAGS) $^ -o $@ 50 $(CXX) $(LDFLAGS) $^ -o $@
51 51
52 $(COUNTER_TEST): $(TESTCOUNTER_OBJS) 52 $(COUNTER_TEST): $(TESTCOUNTER_OBJS)
53 $(CXX) -o $@ $^ $(TESTCOUNTER_LIBS) 53 $(CXX) -o $@ $^ $(TESTCOUNTER_LIBS)
54 54
55 $(DAEMON): $(DAEMON_OBJS) $(SHAREDLIB) 55 $(DAEMON): $(DAEMON_OBJS) $(SHAREDLIB)
56 » $(CXX) -o $@ $^ $(DAEMON_LDFLAGS) 56 » $(CXX) -o $@ $^ $(DAEMON_LDFLAGS) -lcrash
57 57
58 $(DAEMON_TEST): $(TESTDAEMON_OBJS) 58 $(DAEMON_TEST): $(TESTDAEMON_OBJS)
59 $(CXX) -o $@ $^ $(DAEMON_LDFLAGS) $(TESTDAEMON_LIBS) 59 $(CXX) -o $@ $^ $(DAEMON_LDFLAGS) $(TESTDAEMON_LIBS)
60 60
61 $(LIB): $(LIB_OBJS) 61 $(LIB): $(LIB_OBJS)
62 $(AR) rcs $@ $^ 62 $(AR) rcs $@ $^
63 63
64 $(SHAREDLIB): $(LIB_OBJS) 64 $(SHAREDLIB): $(LIB_OBJS)
65 $(CXX) $(LDFLAGS) -shared $^ -o $@ 65 $(CXX) $(LDFLAGS) -shared $^ -o $@
66 66
67 $(LIB_TEST): $(TESTLIB_OBJS) $(SHAREDLIB) 67 $(LIB_TEST): $(TESTLIB_OBJS) $(SHAREDLIB)
68 $(CXX) -o $@ $^ $(LDFLAGS) $(TESTLIB_LIBS) 68 $(CXX) -o $@ $^ $(LDFLAGS) $(TESTLIB_LIBS)
69 69
70 %.o: %.cc 70 %.o: %.cc
71 $(CXX) $(CXXFLAGS) -c $< -o $@ 71 $(CXX) $(CXXFLAGS) -c $< -o $@
72 72
73 clean: 73 clean:
74 rm -f $(CLIENT) $(DAEMON) $(LIB) $(SHAREDLIB) *.o 74 rm -f $(CLIENT) $(DAEMON) $(LIB) $(SHAREDLIB) *.o
75 rm -f $(COUNTER_TEST) $(DAEMON_TEST) $(LIB_TEST) 75 rm -f $(COUNTER_TEST) $(DAEMON_TEST) $(LIB_TEST)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698