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

Unified Diff: src/platform/metrics_daemon/Makefile

Issue 500117: Daemonize (fork()) and install metrics_daemon in the image for execution. (Closed)
Patch Set: rename do_fork to run_as_daemon Created 11 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/init/metrics_daemon.conf ('k') | src/platform/metrics_daemon/debian/changelog » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/metrics_daemon/Makefile
diff --git a/src/platform/metrics_daemon/Makefile b/src/platform/metrics_daemon/Makefile
index 1de2da4ff138801e0c93aed963d7a2192dbbc0a8..a8730d53d3cf3ac4d69389fa6604f1600cf346f0 100644
--- a/src/platform/metrics_daemon/Makefile
+++ b/src/platform/metrics_daemon/Makefile
@@ -12,7 +12,7 @@ CCONFIG = $(shell pkg-config --cflags dbus-1 glib-2.0 dbus-glib-1)
LDCONFIG = $(shell pkg-config --libs dbus-1 glib-2.0 gthread-2.0 dbus-glib-1)
CFLAGS = $(COPT) -fno-exceptions -Wall -Werror $(INCLUDES) $(CCONFIG)
-LDFLAGS = -L../../third_party/chrome $(LDCONFIG) -lrt -lbase -lpthread
+LDFLAGS = -L../../third_party/chrome $(LDCONFIG) -lrt -lbase -lpthread -lgflags
COMMONSRC = metrics_daemon.cc
COMMONCSRC = marshal_void__string_boxed.c
@@ -58,7 +58,8 @@ marshal_void__string_boxed.o: marshal_void__string_boxed.h
.PRECIOUS: marshal_void__string_boxed.c # keep around for debugging
install:
- install $DAEMON $(DESTDIR)/usr/bin
+ mkdir -p $(DESTDIR)/usr/bin
+ install $(DAEMON) $(DESTDIR)/usr/bin
clean:
rm -f *.o marshal_void__string_boxed.[ch] \
« no previous file with comments | « src/platform/init/metrics_daemon.conf ('k') | src/platform/metrics_daemon/debian/changelog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698