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

Side by Side Diff: src/platform/metrics_collection/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 unified diff | Download patch
« no previous file with comments | « src/platform/metrics/syslog_parser.sh ('k') | src/platform/metrics_collection/README » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4 #
5 # Makefile for metrics client and library
6 #
7
8 CFLAGS = -Wall -Werror -I/usr/include -I../../ -fpic -O2
9 CXXFLAGS = $(CFLAGS) -fno-exceptions
10
11 CLIENT = metrics_client
12 LIB = libmetrics.a
13 SHAREDLIB = libmetrics.so
14
15 CLIENT_OBJS = metrics_client.o
16 LIB_OBJS = metrics_library.o
17
18 all: $(LIB) $(SHAREDLIB) $(CLIENT)
19
20 $(CLIENT): $(CLIENT_OBJS)
21 $(CXX) $(LDFLAGS) $^ -o $@ $(SHAREDLIB)
22
23 $(LIB): $(LIB_OBJS)
24 ar rcs $@ $^
25
26 $(SHAREDLIB): $(LIB_OBJS)
27 $(CXX) $(LDFLAGS) -shared $^ -o $@
28
29 .cc.o:
30 $(CXX) $(CXXFLAGS) $(DEFINES) -c $< -o $@
31
32 install:
33 install $(CLIENT) $(DESTDIR)/usr/bin
34 install $(LIB) $(DESTDIR)/usr/lib
35 install $(SHAREDLIB) $(DESTDIR)/usr/lib
36 install metrics_library.h $(DESTDIR)/usr/include
37 install syslog_parser.sh $(DESTDIR)/usr/bin
38 install omaha_tracker.sh $(DESTDIR)/usr/sbin
39
40 clean:
41 rm -f $(CLIENT) $(CLIENT_OBJS) $(LIB) $(LIB_OBJS) $(SHAREDLIB)
OLDNEW
« no previous file with comments | « src/platform/metrics/syslog_parser.sh ('k') | src/platform/metrics_collection/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698