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

Side by Side Diff: src/platform/metrics_daemon/Makefile

Issue 553044: Use packaged libchrome and libchromeos rather than in-tree references (Closed)
Patch Set: Created 10 years, 11 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 | « src/platform/cryptohome/debian/control ('k') | src/platform/metrics_daemon/debian/changelog » ('j') | 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) 2009 The Chromium OS Authors. All rights reserved. 1 # Copyright (c) 2009 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 CCC = g++ 5 CCC = g++
6 CC = gcc 6 CC = gcc
7 7
8 INCLUDES = -I../.. -I../../third_party/chrome/files -I../../common 8 INCLUDES = -I../..
9 COPT = -g 9 COPT = -g
10 10
11 CCONFIG = $(shell pkg-config --cflags dbus-1 glib-2.0 dbus-glib-1) 11 CCONFIG = $(shell pkg-config --cflags dbus-1 glib-2.0 dbus-glib-1)
12 LDCONFIG = $(shell pkg-config --libs dbus-1 glib-2.0 gthread-2.0 dbus-glib-1) 12 LDCONFIG = $(shell pkg-config --libs dbus-1 glib-2.0 gthread-2.0 dbus-glib-1)
13 13
14 CFLAGS = $(COPT) -fno-exceptions -Wall -Werror $(INCLUDES) $(CCONFIG) 14 CFLAGS = $(COPT) -fno-exceptions -Wall -Werror $(INCLUDES) $(CCONFIG)
15 LDFLAGS = -L../../third_party/chrome $(LDCONFIG) -lrt -lbase -lpthread -lgflags 15 LDFLAGS = $(LDCONFIG) -lrt -lbase -lpthread -lgflags
16 16
17 COMMONSRC = metrics_daemon.cc 17 COMMONSRC = metrics_daemon.cc
18 COMMONCSRC = marshal_void__string_boxed.c 18 COMMONCSRC = marshal_void__string_boxed.c
19 SRC = main.cc 19 SRC = main.cc
20 20
21 TESTSRC = metrics_daemon_unittest.cc 21 TESTSRC = metrics_daemon_unittest.cc
22 TESTLIB = -lgflags -lgtest 22 TESTLIB = -lgflags -lgtest
23 23
24 OBJ = $(SRC:.cc=.o) 24 OBJ = $(SRC:.cc=.o)
25 COMMONOBJ = $(COMMONSRC:.cc=.o) $(COMMONCSRC:.c=.o) 25 COMMONOBJ = $(COMMONSRC:.cc=.o) $(COMMONCSRC:.c=.o)
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 .PRECIOUS: marshal_void__string_boxed.c # keep around for debugging 58 .PRECIOUS: marshal_void__string_boxed.c # keep around for debugging
59 59
60 install: 60 install:
61 mkdir -p $(DESTDIR)/usr/bin 61 mkdir -p $(DESTDIR)/usr/bin
62 install $(DAEMON) $(DESTDIR)/usr/bin 62 install $(DAEMON) $(DESTDIR)/usr/bin
63 63
64 clean: 64 clean:
65 rm -f *.o marshal_void__string_boxed.[ch] \ 65 rm -f *.o marshal_void__string_boxed.[ch] \
66 metrics_daemon test_daemon *~ 66 metrics_daemon test_daemon *~
OLDNEW
« no previous file with comments | « src/platform/cryptohome/debian/control ('k') | src/platform/metrics_daemon/debian/changelog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698