| Index: src/platform/metrics_daemon/debian/rules
|
| diff --git a/src/platform/metrics_daemon/debian/rules b/src/platform/metrics_daemon/debian/rules
|
| deleted file mode 100755
|
| index 02af358eee931410bc02ed2dc63a63e3a6d7b7cf..0000000000000000000000000000000000000000
|
| --- a/src/platform/metrics_daemon/debian/rules
|
| +++ /dev/null
|
| @@ -1,67 +0,0 @@
|
| -#!/usr/bin/make -f
|
| -# -*- makefile -*-
|
| -# 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.
|
| -
|
| -# Uncomment this to turn on verbose mode.
|
| -#export DH_VERBOSE=1
|
| -
|
| -CFLAGS = -Wall -g
|
| -
|
| -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
| - CFLAGS += -O0
|
| -else
|
| - CFLAGS += -O2
|
| -endif
|
| -
|
| -DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
| -DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
| -ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
|
| -CC := gcc
|
| -CCC := g++
|
| -else
|
| -CC := $(DEB_HOST_GNU_TYPE)-gcc
|
| -CCC := $(DEB_HOST_GNU_TYPE)-g++
|
| -endif
|
| -
|
| -build: build-stamp
|
| -build-stamp:
|
| - dh_testdir
|
| - $(MAKE) CC=$(CC) CCC=$(CCC)
|
| - touch $@
|
| -
|
| -clean:
|
| - dh_testdir
|
| - dh_testroot
|
| - rm -f build-stamp
|
| - $(MAKE) clean
|
| - dh_clean
|
| -
|
| -install: build
|
| - dh_testdir
|
| - dh_testroot
|
| - dh_clean -k
|
| - dh_installdirs
|
| - mkdir -p $(CURDIR)/debian/chromeos-metrics-daemon
|
| - $(MAKE) DESTDIR=$(CURDIR)/debian/chromeos-metrics-daemon install
|
| -
|
| -binary-indep:
|
| -
|
| -
|
| -# Build architecture-dependent files here.
|
| -binary-arch: build install
|
| - dh_testdir
|
| - dh_testroot
|
| - dh_link
|
| - dh_strip
|
| - dh_compress
|
| - dh_fixperms
|
| - dh_installdeb
|
| - dh_shlibdeps
|
| - dh_gencontrol
|
| - dh_md5sums
|
| - dh_builddeb
|
| -
|
| -binary: binary-arch
|
| -.PHONY: build clean binary-indep binary-arch binary install
|
|
|