Index: src/platform/metrics_collection/Makefile |
diff --git a/src/platform/metrics_collection/Makefile b/src/platform/metrics_collection/Makefile |
deleted file mode 100644 |
index 8356f7aa0595db0296674eb222f06aa5e188efb0..0000000000000000000000000000000000000000 |
--- a/src/platform/metrics_collection/Makefile |
+++ /dev/null |
@@ -1,41 +0,0 @@ |
-# Copyright (c) 2010 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. |
-# |
-# Makefile for metrics client and library |
-# |
- |
-CFLAGS = -Wall -Werror -I/usr/include -I../../ -fpic -O2 |
-CXXFLAGS = $(CFLAGS) -fno-exceptions |
- |
-CLIENT = metrics_client |
-LIB = libmetrics.a |
-SHAREDLIB = libmetrics.so |
- |
-CLIENT_OBJS = metrics_client.o |
-LIB_OBJS = metrics_library.o |
- |
-all: $(LIB) $(SHAREDLIB) $(CLIENT) |
- |
-$(CLIENT): $(CLIENT_OBJS) |
- $(CXX) $(LDFLAGS) $^ -o $@ $(SHAREDLIB) |
- |
-$(LIB): $(LIB_OBJS) |
- ar rcs $@ $^ |
- |
-$(SHAREDLIB): $(LIB_OBJS) |
- $(CXX) $(LDFLAGS) -shared $^ -o $@ |
- |
-.cc.o: |
- $(CXX) $(CXXFLAGS) $(DEFINES) -c $< -o $@ |
- |
-install: |
- install $(CLIENT) $(DESTDIR)/usr/bin |
- install $(LIB) $(DESTDIR)/usr/lib |
- install $(SHAREDLIB) $(DESTDIR)/usr/lib |
- install metrics_library.h $(DESTDIR)/usr/include |
- install syslog_parser.sh $(DESTDIR)/usr/bin |
- install omaha_tracker.sh $(DESTDIR)/usr/sbin |
- |
-clean: |
- rm -f $(CLIENT) $(CLIENT_OBJS) $(LIB) $(LIB_OBJS) $(SHAREDLIB) |