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

Unified Diff: src/platform/metrics_daemon/Makefile

Issue 1650006: Unify metrics_collection and metrics_daemon into metrics. (Closed)
Patch Set: PTAL -- further cleanup based on the ebuild cleanup. Created 10 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/metrics_collection/omaha_tracker.sh ('k') | src/platform/metrics_daemon/README » ('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
deleted file mode 100644
index f0e945a77ca0c0b3f0213cc6cc7947f7ad40de83..0000000000000000000000000000000000000000
--- a/src/platform/metrics_daemon/Makefile
+++ /dev/null
@@ -1,66 +0,0 @@
-# Copyright (c) 2009 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-CCC = g++
-CC = gcc
-
-INCLUDES = -I../..
-COPT = -g
-
-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 = $(LDCONFIG) -lrt -lbase -lpthread -lgflags -lmetrics
-
-COMMONSRC = metrics_daemon.cc
-COMMONCSRC = marshal_void__string_boxed.c
-SRC = main.cc
-
-TESTSRC = metrics_daemon_unittest.cc
-TESTLIB = -lgflags -lgtest -lmetrics
-
-OBJ = $(SRC:.cc=.o)
-COMMONOBJ = $(COMMONSRC:.cc=.o) $(COMMONCSRC:.c=.o)
-TESTOBJ = $(TESTSRC:.cc=.o)
-
-%.o : %.cc
- $(CCC) -c $(CFLAGS) $< -o $@
-
-%.o : %.c
- $(CC) -c $(CFLAGS) $< -o $@
-
-%.c : %.list
- glib-genmarshal --body --prefix=marshal $< > $@
-
-%.h : %.list
- glib-genmarshal --header --prefix=marshal $< > $@
-
-DAEMON = metrics_daemon
-TEST = test_daemon
-
-all: $(DAEMON) $(TEST)
-
-metrics_daemon: $(OBJ) $(COMMONOBJ)
- $(CCC) -o metrics_daemon $(OBJ) $(COMMONOBJ) $(LDFLAGS)
-
-test_daemon: $(TESTOBJ) $(COMMONOBJ)
- $(CCC) -o test_daemon $(TESTOBJ) $(COMMONOBJ) $(LDFLAGS) $(TESTLIB)
-
-# dependencies in addition to those defined by the rules
-
-metrics_daemon.o: metrics_daemon.h marshal_void__string_boxed.h network_states.h
-metrics_daemon_unittest.o: metrics_daemon.h marshal_void__string_boxed.h \
- network_states.h
-marshal_void__string_boxed.o: marshal_void__string_boxed.h
-
-.PRECIOUS: marshal_void__string_boxed.c # keep around for debugging
-
-install:
- mkdir -p $(DESTDIR)/usr/bin
- install $(DAEMON) $(DESTDIR)/usr/bin
-
-clean:
- rm -f *.o marshal_void__string_boxed.[ch] \
- metrics_daemon test_daemon *~
« no previous file with comments | « src/platform/metrics_collection/omaha_tracker.sh ('k') | src/platform/metrics_daemon/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698