Thieu Le | 3426c8f | 2012-01-11 17:35:11 -0800 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 5 | AR ?= ar |
Darin Petkov | e6ca320 | 2012-10-19 14:49:56 +0200 | [diff] [blame] | 6 | CC ?= gcc |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 7 | CXX ?= g++ |
mukesh agrawal | ed8a45e | 2013-03-27 18:54:28 -0700 | [diff] [blame] | 8 | # -clang uses clang to syntax check, and then runs gcc/g++ to actually |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 9 | # generate binaries. See www.chromium.org/chromium-os/developer-guide |
Darin Petkov | 374b5ee | 2012-11-06 11:20:04 +0100 | [diff] [blame] | 10 | CFLAGS += \ |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 11 | -clang \ |
Darin Petkov | 374b5ee | 2012-11-06 11:20:04 +0100 | [diff] [blame] | 12 | -Wall \ |
| 13 | -Werror \ |
| 14 | -Wextra \ |
| 15 | -Wno-missing-field-initializers \ |
| 16 | -Wno-unused-parameter \ |
| 17 | -Wno-unused-result \ |
| 18 | -Wuninitialized |
mukesh agrawal | f60e406 | 2011-05-27 13:13:41 -0700 | [diff] [blame] | 19 | CXXFLAGS ?= -fno-strict-aliasing |
mukesh agrawal | ed8a45e | 2013-03-27 18:54:28 -0700 | [diff] [blame] | 20 | |
mukesh agrawal | 4245771 | 2013-04-05 16:05:39 -0700 | [diff] [blame] | 21 | # -std=gnu++11 is c++11 with GNU extensions. In particular, typeof is allowed. |
mukesh agrawal | ed8a45e | 2013-03-27 18:54:28 -0700 | [diff] [blame] | 22 | CXXFLAGS += $(CFLAGS) \ |
mukesh agrawal | 4245771 | 2013-04-05 16:05:39 -0700 | [diff] [blame] | 23 | -std=gnu++11 \ |
| 24 | -Woverloaded-virtual |
Darin Petkov | 04d46b4 | 2011-08-31 14:17:34 -0700 | [diff] [blame] | 25 | CXXFLAGS += $(EXTRA_CXXFLAGS) |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 26 | CPPFLAGS ?= -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 27 | PKG_CONFIG ?= pkg-config |
Chris Masone | 14de6e5 | 2011-05-09 09:20:59 -0700 | [diff] [blame] | 28 | DBUSXX_XML2CPP = dbusxx-xml2cpp |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 29 | PROTOC ?= protoc |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 30 | |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 31 | BUILDDIR = build |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 32 | VPATH = $(BUILDDIR) |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 33 | |
Paul Stewart | 291a473 | 2012-03-14 19:19:02 -0700 | [diff] [blame] | 34 | LIBDIR = /usr/lib |
Darin Petkov | 86654d3 | 2012-10-08 15:32:34 +0200 | [diff] [blame] | 35 | SHIMDIR = $(LIBDIR)/shill/shims |
Paul Stewart | 78af94c | 2013-04-17 16:02:06 -0700 | [diff] [blame] | 36 | RUNDIR = /var/run/shill |
| 37 | CPPFLAGS += -DSHIMDIR=\"$(SHIMDIR)\" -DRUNDIR=\"$(RUNDIR)\" |
Wade Guthrie | 0d43853 | 2012-05-18 14:18:50 -0700 | [diff] [blame] | 38 | |
Paul Stewart | 5ad1606 | 2013-02-21 18:10:48 -0800 | [diff] [blame] | 39 | BASE_VER ?= 180609 |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 40 | COMMON_PC_DEPS = libchrome-$(BASE_VER) libchromeos-$(BASE_VER) |
Christopher Wiley | 49e247a | 2012-11-07 11:24:59 -0800 | [diff] [blame] | 41 | SHILL_PC_DEPS = \ |
| 42 | $(COMMON_PC_DEPS) \ |
| 43 | dbus-c++-1 \ |
| 44 | gio-2.0 \ |
| 45 | glib-2.0 \ |
Christopher Wiley | efd521f | 2012-11-07 17:32:46 -0800 | [diff] [blame] | 46 | libnl-3.0 \ |
| 47 | libnl-genl-3.0 |
Christopher Wiley | 0d05c11 | 2013-03-19 17:49:38 -0700 | [diff] [blame] | 48 | CRYPTO_UTIL_PC_DEPS = \ |
| 49 | $(COMMON_PC_DEPS) \ |
| 50 | protobuf-lite \ |
| 51 | openssl |
Darin Petkov | fac01f0 | 2012-12-06 12:44:07 +0100 | [diff] [blame] | 52 | NET_DIAGS_UPLOAD_PC_DEPS = $(COMMON_PC_DEPS) |
Paul Stewart | 1c9a566 | 2013-02-12 09:41:33 -0800 | [diff] [blame] | 53 | NETFILTER_QUEUE_HELPER_PC_DEPS = \ |
| 54 | $(COMMON_PC_DEPS) \ |
| 55 | libmnl \ |
| 56 | libnetfilter_queue \ |
| 57 | libnfnetlink |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 58 | NSS_GET_CERT_PC_DEPS = $(COMMON_PC_DEPS) nss |
| 59 | INCLUDE_DIRS = \ |
| 60 | -iquote.. \ |
| 61 | -iquote $(BUILDDIR) \ |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 62 | $(shell $(PKG_CONFIG) --cflags \ |
Christopher Wiley | 0d05c11 | 2013-03-19 17:49:38 -0700 | [diff] [blame] | 63 | $(CRYPTO_UTIL_PC_DEPS) \ |
Darin Petkov | fac01f0 | 2012-12-06 12:44:07 +0100 | [diff] [blame] | 64 | $(NET_DIAGS_UPLOAD_PC_DEPS) \ |
Paul Stewart | 1c9a566 | 2013-02-12 09:41:33 -0800 | [diff] [blame] | 65 | $(NETFILTER_QUEUE_HELPER_PC_DEPS) \ |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 66 | $(NSS_GET_CERT_PC_DEPS) \ |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 67 | $(SHILL_PC_DEPS)) |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 68 | SHILL_LIBS = \ |
| 69 | -lbootstat \ |
| 70 | -lcares \ |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 71 | -lmetrics \ |
| 72 | -lminijail \ |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 73 | -lprotobuf-lite \ |
Chris Masone | e016eb2 | 2013-03-09 16:45:05 -0800 | [diff] [blame] | 74 | -lrt \ |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 75 | $(shell $(PKG_CONFIG) --libs $(SHILL_PC_DEPS)) |
Christopher Wiley | 0d05c11 | 2013-03-19 17:49:38 -0700 | [diff] [blame] | 76 | CRYPTO_UTIL_LIBS = \ |
| 77 | $(shell $(PKG_CONFIG) --libs $(CRYPTO_UTIL_PC_DEPS)) |
Darin Petkov | fac01f0 | 2012-12-06 12:44:07 +0100 | [diff] [blame] | 78 | NET_DIAGS_UPLOAD_LIBS = \ |
| 79 | $(shell $(PKG_CONFIG) --libs $(NET_DIAGS_UPLOAD_PC_DEPS)) |
Paul Stewart | 1c9a566 | 2013-02-12 09:41:33 -0800 | [diff] [blame] | 80 | NETFILTER_QUEUE_HELPER_LIBS = \ |
| 81 | $(shell $(PKG_CONFIG) --libs $(NETFILTER_QUEUE_HELPER_PC_DEPS)) |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 82 | NSS_GET_CERT_LIBS = $(shell $(PKG_CONFIG) --libs $(NSS_GET_CERT_PC_DEPS)) |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 83 | |
Darin Petkov | 4a09b6b | 2011-07-19 12:52:06 -0700 | [diff] [blame] | 84 | DBUS_BINDINGS_DIR = dbus_bindings |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 85 | BUILD_DBUS_BINDINGS_DIR = $(BUILDDIR)/shill/$(DBUS_BINDINGS_DIR) |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 86 | BUILD_DBUS_BINDINGS_SHIMS_DIR = $(BUILD_DBUS_BINDINGS_DIR)/shims |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 87 | |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 88 | BUILD_PROTO_BINDINGS_DIR = $(BUILDDIR)/shill/proto_bindings |
| 89 | |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 90 | BUILD_SHIMS_DIR = $(BUILDDIR)/shims |
| 91 | |
| 92 | _CREATE_BUILDDIR := $(shell mkdir -p \ |
| 93 | $(BUILDDIR) \ |
| 94 | $(BUILD_DBUS_BINDINGS_DIR) \ |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 95 | $(BUILD_DBUS_BINDINGS_SHIMS_DIR) \ |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 96 | $(BUILD_PROTO_BINDINGS_DIR)/power_manager \ |
Christopher Wiley | 5a3f23a | 2013-02-20 17:29:57 -0800 | [diff] [blame] | 97 | $(BUILD_PROTO_BINDINGS_DIR)/shims/protos \ |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 98 | $(BUILD_SHIMS_DIR)) |
Darin Petkov | 4a09b6b | 2011-07-19 12:52:06 -0700 | [diff] [blame] | 99 | |
Elly Jones | 5211a4c | 2012-01-26 19:25:20 -0500 | [diff] [blame] | 100 | DBUS_ADAPTOR_HEADERS := |
Chris Masone | 14de6e5 | 2011-05-09 09:20:59 -0700 | [diff] [blame] | 101 | |
Darin Petkov | 567a7d0 | 2011-05-26 17:15:34 -0700 | [diff] [blame] | 102 | DBUS_PROXY_HEADERS = \ |
Darin Petkov | 18fb2f7 | 2012-06-14 09:09:34 +0200 | [diff] [blame] | 103 | dbus-properties.h \ |
| 104 | dbus-service.h \ |
Darin Petkov | 567a7d0 | 2011-05-26 17:15:34 -0700 | [diff] [blame] | 105 | dhcpcd.h \ |
Darin Petkov | 394b7d4 | 2011-11-03 15:48:02 +0100 | [diff] [blame] | 106 | power_manager.h \ |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 107 | shims/flimflam-task.h \ |
Darin Petkov | 567a7d0 | 2011-05-26 17:15:34 -0700 | [diff] [blame] | 108 | supplicant-bss.h \ |
| 109 | supplicant-interface.h \ |
| 110 | supplicant-network.h \ |
mukesh agrawal | ab87ea4 | 2011-05-18 11:44:49 -0700 | [diff] [blame] | 111 | supplicant-process.h |
Darin Petkov | 567a7d0 | 2011-05-26 17:15:34 -0700 | [diff] [blame] | 112 | |
Darin Petkov | f5f61e0 | 2011-07-29 11:35:40 -0700 | [diff] [blame] | 113 | # Generates rules for copying SYSROOT XMLs locally and updates the proxy header |
| 114 | # dependencies. |
| 115 | DBUS_BINDINGS_XML_SYSROOT = \ |
Darin Petkov | 096b347 | 2012-05-15 10:26:22 +0200 | [diff] [blame] | 116 | org.chromium.WiMaxManager>wimax_manager \ |
| 117 | org.chromium.WiMaxManager.Device>wimax_manager-device \ |
Darin Petkov | bd9f33a | 2013-03-20 10:38:07 +0100 | [diff] [blame] | 118 | org.chromium.WiMaxManager.Network>wimax_manager-network |
| 119 | |
| 120 | # Rename local XML files with the names required by DBus to XML files with the |
| 121 | # names required by the style guide, which will then be turned into generated |
| 122 | # headers later. |
| 123 | DBUS_BINDINGS_XML_LOCAL = \ |
| 124 | org.chromium.flimflam.Device>flimflam-device \ |
| 125 | org.chromium.flimflam.IPConfig>flimflam-ipconfig \ |
| 126 | org.chromium.flimflam.Manager>flimflam-manager \ |
| 127 | org.chromium.flimflam.Profile>flimflam-profile \ |
| 128 | org.chromium.flimflam.Service>flimflam-service \ |
| 129 | org.chromium.flimflam.Task>flimflam-task |
| 130 | |
| 131 | ifneq ($(SHILL_CELLULAR), 0) |
| 132 | DBUS_PROXY_HEADERS += \ |
| 133 | dbus-objectmanager.h \ |
| 134 | modem-gobi.h |
| 135 | |
| 136 | DBUS_BINDINGS_XML_SYSROOT += \ |
Darin Petkov | f5f61e0 | 2011-07-29 11:35:40 -0700 | [diff] [blame] | 137 | org.freedesktop.ModemManager>modem_manager \ |
Darin Petkov | 1ec741c | 2011-08-02 10:45:27 -0700 | [diff] [blame] | 138 | org.freedesktop.ModemManager.Modem>modem \ |
Darin Petkov | f5f61e0 | 2011-07-29 11:35:40 -0700 | [diff] [blame] | 139 | org.freedesktop.ModemManager.Modem.Cdma>modem-cdma \ |
| 140 | org.freedesktop.ModemManager.Modem.Gsm.Card>modem-gsm-card \ |
| 141 | org.freedesktop.ModemManager.Modem.Gsm.Network>modem-gsm-network \ |
Jason Glasgow | ee1081c | 2012-03-06 15:14:53 -0500 | [diff] [blame] | 142 | org.freedesktop.ModemManager.Modem.Simple>modem-simple \ |
Arman Uguray | 6e5639f | 2012-11-15 20:30:19 -0800 | [diff] [blame] | 143 | org.freedesktop.ModemManager1.Bearer>mm1-bearer \ |
Jason Glasgow | ee1081c | 2012-03-06 15:14:53 -0500 | [diff] [blame] | 144 | org.freedesktop.ModemManager1.Modem>mm1-modem \ |
Arman Uguray | 2c39fab | 2012-12-12 16:56:34 -0800 | [diff] [blame] | 145 | org.freedesktop.ModemManager1.Modem.Location>mm1-modem-location \ |
Jason Glasgow | ee1081c | 2012-03-06 15:14:53 -0500 | [diff] [blame] | 146 | org.freedesktop.ModemManager1.Modem.Modem3gpp>mm1-modem-modem3gpp \ |
| 147 | org.freedesktop.ModemManager1.Modem.ModemCdma>mm1-modem-modemcdma \ |
Jason Glasgow | 74f5ef2 | 2012-03-29 16:15:04 -0400 | [diff] [blame] | 148 | org.freedesktop.ModemManager1.Modem.Simple>mm1-modem-simple \ |
Arman Uguray | 618af2b | 2012-12-11 19:20:42 -0800 | [diff] [blame] | 149 | org.freedesktop.ModemManager1.Modem.Time>mm1-modem-time \ |
Darin Petkov | 096b347 | 2012-05-15 10:26:22 +0200 | [diff] [blame] | 150 | org.freedesktop.ModemManager1.Sim>mm1-sim |
Darin Petkov | bd9f33a | 2013-03-20 10:38:07 +0100 | [diff] [blame] | 151 | endif # SHILL_CELLULAR |
Elly Jones | 5211a4c | 2012-01-26 19:25:20 -0500 | [diff] [blame] | 152 | |
Darin Petkov | f5f61e0 | 2011-07-29 11:35:40 -0700 | [diff] [blame] | 153 | define ADD_BINDING |
| 154 | $(eval _SOURCE = $(word 1,$(subst >, ,$(1)))) |
| 155 | $(eval _TARGET = $(word 2,$(subst >, ,$(1)))) |
Darin Petkov | f5f61e0 | 2011-07-29 11:35:40 -0700 | [diff] [blame] | 156 | DBUS_PROXY_HEADERS += $(_TARGET).h |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 157 | $(BUILD_DBUS_BINDINGS_DIR)/$(_TARGET).xml: \ |
Darin Petkov | f5f61e0 | 2011-07-29 11:35:40 -0700 | [diff] [blame] | 158 | $(SYSROOT)/usr/share/dbus-1/interfaces/$(_SOURCE).xml |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 159 | echo " CP " $$@ |
| 160 | cp $$< $$@ |
Darin Petkov | f5f61e0 | 2011-07-29 11:35:40 -0700 | [diff] [blame] | 161 | endef |
| 162 | |
Elly Jones | 5211a4c | 2012-01-26 19:25:20 -0500 | [diff] [blame] | 163 | define ADD_LOCAL_BINDING |
| 164 | $(eval _SOURCE = $(word 1,$(subst >, ,$(1)))) |
| 165 | $(eval _TARGET = $(word 2,$(subst >, ,$(1)))) |
Elly Jones | 5211a4c | 2012-01-26 19:25:20 -0500 | [diff] [blame] | 166 | DBUS_ADAPTOR_HEADERS += $(_TARGET).h |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 167 | $(BUILD_DBUS_BINDINGS_DIR)/$(_TARGET).xml: $(DBUS_BINDINGS_DIR)/$(_SOURCE).xml |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 168 | echo " CP " $$@ |
Elly Jones | 5211a4c | 2012-01-26 19:25:20 -0500 | [diff] [blame] | 169 | cp $$< $$@ |
| 170 | endef |
| 171 | |
Darin Petkov | f5f61e0 | 2011-07-29 11:35:40 -0700 | [diff] [blame] | 172 | $(foreach b,$(DBUS_BINDINGS_XML_SYSROOT),$(eval $(call ADD_BINDING,$(b)))) |
Elly Jones | 5211a4c | 2012-01-26 19:25:20 -0500 | [diff] [blame] | 173 | $(foreach b,$(DBUS_BINDINGS_XML_LOCAL),$(eval $(call ADD_LOCAL_BINDING,$(b)))) |
Darin Petkov | f5f61e0 | 2011-07-29 11:35:40 -0700 | [diff] [blame] | 174 | |
Darin Petkov | 4a09b6b | 2011-07-19 12:52:06 -0700 | [diff] [blame] | 175 | DBUS_ADAPTOR_BINDINGS = \ |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 176 | $(addprefix $(BUILD_DBUS_BINDINGS_DIR)/, $(DBUS_ADAPTOR_HEADERS)) |
| 177 | DBUS_PROXY_BINDINGS = \ |
| 178 | $(addprefix $(BUILD_DBUS_BINDINGS_DIR)/, $(DBUS_PROXY_HEADERS)) |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 179 | |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 180 | SYSTEM_API_PROTO_PATH = $(SYSROOT)/usr/include/chromeos/dbus |
Christopher Wiley | 5a3f23a | 2013-02-20 17:29:57 -0800 | [diff] [blame] | 181 | SYSTEM_PROTO_BINDINGS_OBJS = $(addprefix $(BUILD_PROTO_BINDINGS_DIR)/, \ |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 182 | power_manager/suspend.pb.o \ |
| 183 | ) |
Christopher Wiley | 0d05c11 | 2013-03-19 17:49:38 -0700 | [diff] [blame] | 184 | CRYPTO_UTIL_PROTO_BINDINGS_OBJS = $(addprefix $(BUILD_PROTO_BINDINGS_DIR)/, \ |
Christopher Wiley | 5a3f23a | 2013-02-20 17:29:57 -0800 | [diff] [blame] | 185 | shims/protos/crypto_util.pb.o \ |
| 186 | ) |
Christopher Wiley | 0d05c11 | 2013-03-19 17:49:38 -0700 | [diff] [blame] | 187 | PROTO_BINDINGS_OBJS = \ |
| 188 | $(SYSTEM_PROTO_BINDINGS_OBJS) \ |
| 189 | $(CRYPTO_UTIL_PROTO_BINDINGS_OBJS) |
| 190 | |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 191 | PROTO_BINDINGS_H = $(PROTO_BINDINGS_OBJS:.o=.h) |
Christopher Wiley | 5a3f23a | 2013-02-20 17:29:57 -0800 | [diff] [blame] | 192 | SYSTEM_PROTO_BINDINGS_CC = $(SYSTEM_PROTO_BINDINGS_OBJS:.o=.cc) |
Christopher Wiley | 0d05c11 | 2013-03-19 17:49:38 -0700 | [diff] [blame] | 193 | SHIM_PROTO_BINDINGS_CC = $(CRYPTO_UTIL_PROTO_BINDINGS_OBJS:.o=.cc) |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 194 | |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 195 | SHILL_LIB = $(BUILDDIR)/shill.a |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 196 | SHILL_OBJS = $(addprefix $(BUILDDIR)/, \ |
Paul Stewart | ac1328e | 2012-07-20 11:55:40 -0700 | [diff] [blame] | 197 | arp_client.o \ |
Paul Stewart | 91a5aac | 2012-07-20 11:55:40 -0700 | [diff] [blame] | 198 | arp_packet.o \ |
Paul Stewart | f65320c | 2011-10-13 14:34:52 -0700 | [diff] [blame] | 199 | async_connection.o \ |
repo sync | 90ee0fa | 2012-12-18 10:08:08 -0800 | [diff] [blame] | 200 | attribute_list.o \ |
Paul Stewart | 3ecfa2b | 2011-07-15 10:47:42 -0700 | [diff] [blame] | 201 | byte_string.o \ |
Wade Guthrie | 5020b57 | 2012-10-12 15:51:14 -0700 | [diff] [blame] | 202 | callback80211_metrics.o \ |
Paul Stewart | 5baebb7 | 2013-03-14 11:43:29 -0700 | [diff] [blame] | 203 | certificate_file.o \ |
Paul Stewart | dd60e45 | 2011-08-08 11:38:36 -0700 | [diff] [blame] | 204 | connection.o \ |
Prathmesh Prabhu | 40daa01 | 2013-04-03 10:35:03 -0700 | [diff] [blame] | 205 | connection_health_checker.o \ |
Ben Chan | 0364fb6 | 2013-04-12 13:04:24 -0700 | [diff] [blame] | 206 | connection_info.o \ |
Ben Chan | bac5bc8 | 2013-04-12 17:15:43 -0700 | [diff] [blame] | 207 | connection_info_reader.o \ |
Wade Guthrie | f162f8b | 2013-02-27 14:13:55 -0800 | [diff] [blame] | 208 | control_netlink_attribute.o \ |
Darin Petkov | 823c47e | 2011-06-27 16:15:35 -0700 | [diff] [blame] | 209 | crypto_des_cbc.o \ |
Darin Petkov | 86964e0 | 2011-06-29 13:49:28 -0700 | [diff] [blame] | 210 | crypto_provider.o \ |
Darin Petkov | 877642b | 2011-06-27 13:37:22 -0700 | [diff] [blame] | 211 | crypto_rot47.o \ |
Chris Masone | d0ceb8c | 2011-06-02 10:05:39 -0700 | [diff] [blame] | 212 | dbus_adaptor.o \ |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 213 | dbus_control.o \ |
Darin Petkov | 002c58e | 2012-06-19 02:56:05 +0200 | [diff] [blame] | 214 | dbus_manager.o \ |
Darin Petkov | e0a312e | 2011-07-20 13:45:28 -0700 | [diff] [blame] | 215 | dbus_properties.o \ |
Darin Petkov | 5c97ac5 | 2011-07-19 16:30:49 -0700 | [diff] [blame] | 216 | dbus_properties_proxy.o \ |
Darin Petkov | 18fb2f7 | 2012-06-14 09:09:34 +0200 | [diff] [blame] | 217 | dbus_service_proxy.o \ |
Chris Masone | 88cbd5f | 2011-07-03 14:30:04 -0700 | [diff] [blame] | 218 | default_profile.o \ |
Christopher Wiley | 5a3f23a | 2013-02-20 17:29:57 -0800 | [diff] [blame] | 219 | crypto_util_proxy.o \ |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 220 | device.o \ |
Chris Masone | d7732e4 | 2011-05-20 11:08:56 -0700 | [diff] [blame] | 221 | device_dbus_adaptor.o \ |
Paul Stewart | 0af98bf | 2011-05-10 17:38:08 -0700 | [diff] [blame] | 222 | device_info.o \ |
Darin Petkov | 50308cd | 2011-06-01 18:25:07 -0700 | [diff] [blame] | 223 | dhcp_config.o \ |
| 224 | dhcp_provider.o \ |
| 225 | dhcpcd_proxy.o \ |
Darin Petkov | f0136cd | 2012-11-07 16:18:02 +0100 | [diff] [blame] | 226 | diagnostics_reporter.o \ |
Paul Stewart | c2350ee | 2011-10-19 12:28:40 -0700 | [diff] [blame] | 227 | dns_client.o \ |
Prathmesh Prabhu | 3e452f8 | 2013-04-10 16:31:44 -0700 | [diff] [blame] | 228 | dns_client_factory.o \ |
Paul Stewart | c43cbbe | 2013-04-11 06:29:30 -0700 | [diff] [blame] | 229 | eap_credentials.o \ |
Paul Stewart | ac802ac | 2013-04-02 15:45:24 -0700 | [diff] [blame] | 230 | eap_listener.o \ |
mukesh agrawal | b54601c | 2011-06-07 17:39:22 -0700 | [diff] [blame] | 231 | endpoint.o \ |
Chris Masone | 7aa5f90 | 2011-07-11 11:13:35 -0700 | [diff] [blame] | 232 | ephemeral_profile.o \ |
Chris Masone | 8fe2c7e | 2011-06-09 15:51:19 -0700 | [diff] [blame] | 233 | error.o \ |
Paul Stewart | b50f0b9 | 2011-05-16 16:31:42 -0700 | [diff] [blame] | 234 | ethernet.o \ |
Paul Stewart | 35eff13 | 2013-04-12 12:08:40 -0700 | [diff] [blame] | 235 | ethernet_eap_provider.o \ |
| 236 | ethernet_eap_service.o \ |
Paul Stewart | f1ce5d2 | 2011-05-19 13:10:20 -0700 | [diff] [blame] | 237 | ethernet_service.o \ |
Paul Stewart | 26b327e | 2011-10-19 11:38:09 -0700 | [diff] [blame] | 238 | event_dispatcher.o \ |
Christopher Wiley | a59f7b9 | 2013-02-26 15:07:02 -0800 | [diff] [blame] | 239 | file_io.o \ |
Arman Uguray | f4c6181 | 2013-01-10 18:58:39 -0800 | [diff] [blame] | 240 | file_reader.o \ |
Wade Guthrie | 0ae4b8e | 2013-04-10 16:49:15 -0700 | [diff] [blame] | 241 | generic_netlink_message.o \ |
Gaurav Shah | 6d2c72d | 2012-10-16 16:30:44 -0700 | [diff] [blame] | 242 | geolocation_info.o \ |
Darin Petkov | f7897bc | 2011-06-08 17:13:36 -0700 | [diff] [blame] | 243 | glib.o \ |
Paul Stewart | f0aae10 | 2011-10-19 12:11:44 -0700 | [diff] [blame] | 244 | glib_io_ready_handler.o \ |
| 245 | glib_io_input_handler.o \ |
Gary Morain | f80ef06 | 2012-05-16 14:57:04 -0700 | [diff] [blame] | 246 | hook_table.o \ |
Paul Stewart | f65320c | 2011-10-13 14:34:52 -0700 | [diff] [blame] | 247 | http_proxy.o \ |
Paul Stewart | 188a84a | 2012-01-20 16:28:15 -0800 | [diff] [blame] | 248 | http_request.o \ |
Paul Stewart | 9513356 | 2012-01-18 18:36:57 -0800 | [diff] [blame] | 249 | http_url.o \ |
Paul Stewart | 1d18e8c | 2011-07-15 11:00:31 -0700 | [diff] [blame] | 250 | ip_address.o \ |
Prathmesh Prabhu | ba99b59 | 2013-04-17 15:13:14 -0700 | [diff] [blame] | 251 | ip_address_store.o \ |
Darin Petkov | e02b3ca | 2011-05-31 16:00:44 -0700 | [diff] [blame] | 252 | ipconfig.o \ |
Chris Masone | c6c6c13 | 2011-06-30 11:29:52 -0700 | [diff] [blame] | 253 | ipconfig_dbus_adaptor.o \ |
Darin Petkov | 083047b | 2011-06-23 20:42:48 -0700 | [diff] [blame] | 254 | key_file_store.o \ |
mukesh agrawal | 7a4e400 | 2011-09-06 11:26:05 -0700 | [diff] [blame] | 255 | key_value_store.o \ |
Paul Stewart | 3f43f43 | 2012-07-16 12:12:45 -0700 | [diff] [blame] | 256 | link_monitor.o \ |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 257 | manager.o \ |
Chris Masone | d7732e4 | 2011-05-20 11:08:56 -0700 | [diff] [blame] | 258 | manager_dbus_adaptor.o \ |
Christopher Wiley | 5781aa4 | 2012-07-30 14:42:23 -0700 | [diff] [blame] | 259 | memory_log.o \ |
Thieu Le | 48e6d6d | 2011-12-06 00:40:27 +0000 | [diff] [blame] | 260 | metrics.o \ |
Jorge Lucangeli Obes | ad43cc6 | 2012-04-11 16:25:43 -0700 | [diff] [blame] | 261 | minijail.o \ |
Darin Petkov | 887f298 | 2011-07-14 16:10:17 -0700 | [diff] [blame] | 262 | modem_info.o \ |
Wade Guthrie | f162f8b | 2013-02-27 14:13:55 -0800 | [diff] [blame] | 263 | netlink_attribute.o \ |
Wade Guthrie | bb9fca2 | 2013-04-10 17:21:42 -0700 | [diff] [blame] | 264 | netlink_manager.o \ |
Wade Guthrie | 0ae4b8e | 2013-04-10 16:49:15 -0700 | [diff] [blame] | 265 | netlink_message.o \ |
| 266 | netlink_socket.o \ |
Wade Guthrie | 1619624 | 2012-11-20 15:53:52 -0800 | [diff] [blame] | 267 | nl80211_attribute.o \ |
repo sync | dc085c8 | 2012-12-28 08:54:41 -0800 | [diff] [blame] | 268 | nl80211_message.o \ |
Darin Petkov | 3c5e4dc | 2012-04-02 14:44:27 +0200 | [diff] [blame] | 269 | nss.o \ |
Arman Uguray | 41cc634 | 2013-03-29 16:34:39 -0700 | [diff] [blame] | 270 | pending_activation_store.o \ |
Paul Stewart | e692740 | 2012-01-23 16:11:30 -0800 | [diff] [blame] | 271 | portal_detector.o \ |
Gary Morain | 43bc627 | 2012-01-30 14:01:15 -0800 | [diff] [blame] | 272 | power_manager.o \ |
Darin Petkov | 394b7d4 | 2011-11-03 15:48:02 +0100 | [diff] [blame] | 273 | power_manager_proxy.o \ |
Darin Petkov | 5a85047 | 2012-06-06 15:44:24 +0200 | [diff] [blame] | 274 | process_killer.o \ |
Chris Masone | 52cd19b | 2011-06-29 17:23:04 -0700 | [diff] [blame] | 275 | profile.o \ |
| 276 | profile_dbus_adaptor.o \ |
Paul Stewart | 0756db9 | 2012-01-27 08:34:47 -0800 | [diff] [blame] | 277 | profile_dbus_property_exporter.o \ |
Chris Masone | b925cc8 | 2011-06-22 15:39:57 -0700 | [diff] [blame] | 278 | property_store.o \ |
Darin Petkov | c90fe52 | 2011-07-15 13:59:47 -0700 | [diff] [blame] | 279 | proxy_factory.o \ |
Paul Stewart | 75e89d2 | 2011-08-01 10:00:02 -0700 | [diff] [blame] | 280 | routing_table.o \ |
Paul Stewart | b606394 | 2011-08-05 10:17:29 -0700 | [diff] [blame] | 281 | resolver.o \ |
Eric Shienbrood | 3e20a23 | 2012-02-16 11:35:56 -0500 | [diff] [blame] | 282 | rpc_task.o \ |
| 283 | rpc_task_dbus_adaptor.o \ |
Paul Stewart | f1ce5d2 | 2011-05-19 13:10:20 -0700 | [diff] [blame] | 284 | rtnl_handler.o \ |
| 285 | rtnl_listener.o \ |
Paul Stewart | dd7df79 | 2011-07-15 11:09:50 -0700 | [diff] [blame] | 286 | rtnl_message.o \ |
Wade Guthrie | a60a11c | 2013-04-12 17:47:34 -0700 | [diff] [blame] | 287 | scan_session.o \ |
Ben Chan | bc49ac7 | 2012-04-10 19:59:45 -0700 | [diff] [blame] | 288 | scope_logger.o \ |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 289 | service.o \ |
Chris Masone | d7732e4 | 2011-05-20 11:08:56 -0700 | [diff] [blame] | 290 | service_dbus_adaptor.o \ |
Paul Stewart | c2350ee | 2011-10-19 12:28:40 -0700 | [diff] [blame] | 291 | shill_ares.o \ |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 292 | shill_config.o \ |
| 293 | shill_daemon.o \ |
Chris Masone | b9c0059 | 2011-10-06 13:10:39 -0700 | [diff] [blame] | 294 | shill_test_config.o \ |
Paul Stewart | c2350ee | 2011-10-19 12:28:40 -0700 | [diff] [blame] | 295 | shill_time.o \ |
Ben Chan | 086d980 | 2013-04-02 16:39:48 -0700 | [diff] [blame] | 296 | socket_info.o \ |
Ben Chan | 3e4bf16 | 2013-04-03 18:14:51 -0700 | [diff] [blame] | 297 | socket_info_reader.o \ |
Darin Petkov | 633ac6f | 2011-07-08 13:56:13 -0700 | [diff] [blame] | 298 | sockets.o \ |
Paul Stewart | 1062d9d | 2012-04-27 10:42:27 -0700 | [diff] [blame] | 299 | static_ip_parameters.o \ |
mukesh agrawal | b20776f | 2012-02-10 16:00:36 -0800 | [diff] [blame] | 300 | supplicant_bss_proxy.o \ |
Paul Stewart | 735eab5 | 2013-03-29 09:19:23 -0700 | [diff] [blame] | 301 | supplicant_eap_state_handler.o \ |
mukesh agrawal | af57195 | 2011-07-14 14:31:12 -0700 | [diff] [blame] | 302 | supplicant_interface_proxy.o \ |
Paul Stewart | 835934a | 2012-12-06 19:27:09 -0800 | [diff] [blame] | 303 | supplicant_network_proxy.o \ |
mukesh agrawal | af57195 | 2011-07-14 14:31:12 -0700 | [diff] [blame] | 304 | supplicant_process_proxy.o \ |
Paul Stewart | fdd1607 | 2011-09-16 12:41:35 -0700 | [diff] [blame] | 305 | technology.o \ |
Ben Chan | b061f89 | 2013-02-27 17:46:55 -0800 | [diff] [blame] | 306 | traffic_monitor.o \ |
mukesh agrawal | 93a29ed | 2012-04-17 16:13:01 -0700 | [diff] [blame] | 307 | virtio_ethernet.o \ |
Darin Petkov | f20994f | 2012-03-05 16:12:19 +0100 | [diff] [blame] | 308 | vpn.o \ |
Darin Petkov | b451d6e | 2012-04-23 11:56:41 +0200 | [diff] [blame] | 309 | vpn_driver.o \ |
Darin Petkov | 33af05c | 2012-02-28 10:10:30 +0100 | [diff] [blame] | 310 | vpn_provider.o \ |
| 311 | vpn_service.o \ |
mukesh agrawal | b54601c | 2011-06-07 17:39:22 -0700 | [diff] [blame] | 312 | wifi.o \ |
| 313 | wifi_endpoint.o \ |
Paul Stewart | 21f2aae | 2013-01-17 17:10:08 -0800 | [diff] [blame] | 314 | wifi_provider.o \ |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 315 | wifi_service.o \ |
Ben Chan | 99c8a4d | 2012-05-01 08:11:53 -0700 | [diff] [blame] | 316 | wimax.o \ |
Darin Petkov | 096b347 | 2012-05-15 10:26:22 +0200 | [diff] [blame] | 317 | wimax_device_proxy.o \ |
| 318 | wimax_manager_proxy.o \ |
Darin Petkov | 9893d9c | 2012-05-17 15:27:31 -0700 | [diff] [blame] | 319 | wimax_network_proxy.o \ |
Darin Petkov | b72b62e | 2012-05-15 16:55:36 +0200 | [diff] [blame] | 320 | wimax_provider.o \ |
Ben Chan | 99c8a4d | 2012-05-01 08:11:53 -0700 | [diff] [blame] | 321 | wimax_service.o \ |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 322 | wpa_supplicant.o \ |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 323 | ) \ |
| 324 | $(PROTO_BINDINGS_OBJS) |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 325 | |
| 326 | SHILL_BIN = shill |
mukesh agrawal | 837bb56 | 2011-11-23 01:06:01 +0000 | [diff] [blame] | 327 | # Broken out separately, because (unlike other SHILL_OBJS), it |
| 328 | # shouldn't be linked into TEST_BIN. |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 329 | SHILL_MAIN_OBJ = $(BUILDDIR)/shill_main.o |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 330 | |
| 331 | TEST_BIN = shill_unittest |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 332 | TEST_OBJS = $(addprefix $(BUILDDIR)/, \ |
Paul Stewart | ac1328e | 2012-07-20 11:55:40 -0700 | [diff] [blame] | 333 | arp_client_unittest.o \ |
Paul Stewart | 91a5aac | 2012-07-20 11:55:40 -0700 | [diff] [blame] | 334 | arp_packet_unittest.o \ |
Paul Stewart | f65320c | 2011-10-13 14:34:52 -0700 | [diff] [blame] | 335 | async_connection_unittest.o \ |
Paul Stewart | 3ecfa2b | 2011-07-15 10:47:42 -0700 | [diff] [blame] | 336 | byte_string_unittest.o \ |
Arman Uguray | 72fab6a | 2013-01-10 19:32:42 -0800 | [diff] [blame] | 337 | cellular_capability_cdma_unittest.o \ |
| 338 | cellular_capability_classic_unittest.o \ |
| 339 | cellular_capability_gsm_unittest.o \ |
| 340 | cellular_capability_universal_unittest.o \ |
| 341 | cellular_capability_universal_cdma_unittest.o \ |
| 342 | cellular_operator_info_unittest.o \ |
| 343 | cellular_service_unittest.o \ |
| 344 | cellular_unittest.o \ |
Paul Stewart | 5baebb7 | 2013-03-14 11:43:29 -0700 | [diff] [blame] | 345 | certificate_file_unittest.o \ |
Darin Petkov | 823c47e | 2011-06-27 16:15:35 -0700 | [diff] [blame] | 346 | crypto_des_cbc_unittest.o \ |
Darin Petkov | 86964e0 | 2011-06-29 13:49:28 -0700 | [diff] [blame] | 347 | crypto_provider_unittest.o \ |
Darin Petkov | 877642b | 2011-06-27 13:37:22 -0700 | [diff] [blame] | 348 | crypto_rot47_unittest.o \ |
Christopher Wiley | 5a3f23a | 2013-02-20 17:29:57 -0800 | [diff] [blame] | 349 | crypto_util_proxy_unittest.o \ |
Prathmesh Prabhu | 40daa01 | 2013-04-03 10:35:03 -0700 | [diff] [blame] | 350 | connection_health_checker_unittest.o \ |
Ben Chan | bac5bc8 | 2013-04-12 17:15:43 -0700 | [diff] [blame] | 351 | connection_info_reader_unittest.o \ |
Ben Chan | 0364fb6 | 2013-04-12 13:04:24 -0700 | [diff] [blame] | 352 | connection_info_unittest.o \ |
Prathmesh Prabhu | ba99b59 | 2013-04-17 15:13:14 -0700 | [diff] [blame] | 353 | connection_unittest.o \ |
Chris Masone | d0ceb8c | 2011-06-02 10:05:39 -0700 | [diff] [blame] | 354 | dbus_adaptor_unittest.o \ |
Darin Petkov | 002c58e | 2012-06-19 02:56:05 +0200 | [diff] [blame] | 355 | dbus_manager_unittest.o \ |
Darin Petkov | e0a312e | 2011-07-20 13:45:28 -0700 | [diff] [blame] | 356 | dbus_properties_unittest.o \ |
Gaurav Shah | 3df47b7 | 2013-03-22 15:40:41 -0700 | [diff] [blame] | 357 | dbus_variant_gmock_printer.o \ |
Chris Masone | 88cbd5f | 2011-07-03 14:30:04 -0700 | [diff] [blame] | 358 | default_profile_unittest.o \ |
Darin Petkov | e02b3ca | 2011-05-31 16:00:44 -0700 | [diff] [blame] | 359 | device_info_unittest.o \ |
Darin Petkov | afa6fc4 | 2011-06-21 16:21:08 -0700 | [diff] [blame] | 360 | device_unittest.o \ |
Darin Petkov | e7cb7f8 | 2011-06-03 13:21:51 -0700 | [diff] [blame] | 361 | dhcp_config_unittest.o \ |
Darin Petkov | 98dd6a0 | 2011-06-10 15:12:57 -0700 | [diff] [blame] | 362 | dhcp_provider_unittest.o \ |
Darin Petkov | f0136cd | 2012-11-07 16:18:02 +0100 | [diff] [blame] | 363 | diagnostics_reporter_unittest.o \ |
Paul Stewart | c2350ee | 2011-10-19 12:28:40 -0700 | [diff] [blame] | 364 | dns_client_unittest.o \ |
Paul Stewart | c43cbbe | 2013-04-11 06:29:30 -0700 | [diff] [blame] | 365 | eap_credentials_unittest.o \ |
Paul Stewart | ac802ac | 2013-04-02 15:45:24 -0700 | [diff] [blame] | 366 | eap_listener_unittest.o \ |
Darin Petkov | e4c0ace | 2011-08-24 10:32:46 -0700 | [diff] [blame] | 367 | error_unittest.o \ |
Paul Stewart | ced3ad7 | 2013-04-03 13:39:25 -0700 | [diff] [blame] | 368 | ethernet_unittest.o \ |
Paul Stewart | 35eff13 | 2013-04-12 12:08:40 -0700 | [diff] [blame] | 369 | ethernet_eap_provider_unittest.o \ |
Paul Stewart | be9abfd | 2013-04-22 12:18:48 -0700 | [diff] [blame] | 370 | ethernet_eap_service_unittest.o \ |
Paul Stewart | cf199de | 2012-08-16 07:50:41 -0700 | [diff] [blame] | 371 | ethernet_service_unittest.o \ |
Arman Uguray | 26b7cf3 | 2013-02-17 13:56:12 -0800 | [diff] [blame] | 372 | file_reader_unittest.o \ |
Gary Morain | f80ef06 | 2012-05-16 14:57:04 -0700 | [diff] [blame] | 373 | hook_table_unittest.o \ |
Paul Stewart | f65320c | 2011-10-13 14:34:52 -0700 | [diff] [blame] | 374 | http_proxy_unittest.o \ |
Paul Stewart | 188a84a | 2012-01-20 16:28:15 -0800 | [diff] [blame] | 375 | http_request_unittest.o \ |
Paul Stewart | 9513356 | 2012-01-18 18:36:57 -0800 | [diff] [blame] | 376 | http_url_unittest.o \ |
Paul Stewart | 1d18e8c | 2011-07-15 11:00:31 -0700 | [diff] [blame] | 377 | ip_address_unittest.o \ |
Prathmesh Prabhu | ba99b59 | 2013-04-17 15:13:14 -0700 | [diff] [blame] | 378 | ip_address_store_unittest.o \ |
Darin Petkov | e02b3ca | 2011-05-31 16:00:44 -0700 | [diff] [blame] | 379 | ipconfig_unittest.o \ |
Darin Petkov | 083047b | 2011-06-23 20:42:48 -0700 | [diff] [blame] | 380 | key_file_store_unittest.o \ |
Darin Petkov | 7f06033 | 2012-03-14 11:46:47 +0100 | [diff] [blame] | 381 | key_value_store_unittest.o \ |
Paul Stewart | 3f43f43 | 2012-07-16 12:12:45 -0700 | [diff] [blame] | 382 | link_monitor_unittest.o \ |
Darin Petkov | e02b3ca | 2011-05-31 16:00:44 -0700 | [diff] [blame] | 383 | manager_unittest.o \ |
Christopher Wiley | 5781aa4 | 2012-07-30 14:42:23 -0700 | [diff] [blame] | 384 | memory_log_unittest.o \ |
Thieu Le | 48e6d6d | 2011-12-06 00:40:27 +0000 | [diff] [blame] | 385 | metrics_unittest.o \ |
Chris Masone | 95207da | 2011-06-29 16:50:49 -0700 | [diff] [blame] | 386 | mock_adaptors.o \ |
Paul Stewart | c2350ee | 2011-10-19 12:28:40 -0700 | [diff] [blame] | 387 | mock_ares.o \ |
Paul Stewart | ac1328e | 2012-07-20 11:55:40 -0700 | [diff] [blame] | 388 | mock_arp_client.o \ |
Paul Stewart | f65320c | 2011-10-13 14:34:52 -0700 | [diff] [blame] | 389 | mock_async_connection.o \ |
Paul Stewart | 5baebb7 | 2013-03-14 11:43:29 -0700 | [diff] [blame] | 390 | mock_certificate_file.o \ |
Paul Stewart | c1dec4d | 2011-12-08 15:25:28 -0800 | [diff] [blame] | 391 | mock_connection.o \ |
Arman Uguray | f84a424 | 2013-04-09 20:01:07 -0700 | [diff] [blame] | 392 | mock_connection_health_checker.o \ |
Ben Chan | bac5bc8 | 2013-04-12 17:15:43 -0700 | [diff] [blame] | 393 | mock_connection_info_reader.o \ |
Darin Petkov | e02b3ca | 2011-05-31 16:00:44 -0700 | [diff] [blame] | 394 | mock_control.o \ |
Darin Petkov | 2b8e44e | 2012-06-25 15:13:26 +0200 | [diff] [blame] | 395 | mock_dbus_manager.o \ |
David Rochberg | 7cb06f6 | 2012-03-05 11:23:44 -0500 | [diff] [blame] | 396 | mock_dbus_objectmanager_proxy.o \ |
Darin Petkov | 1bdedf1 | 2011-08-26 13:32:11 -0700 | [diff] [blame] | 397 | mock_dbus_properties_proxy.o \ |
Darin Petkov | 18fb2f7 | 2012-06-14 09:09:34 +0200 | [diff] [blame] | 398 | mock_dbus_service_proxy.o \ |
Chris Masone | a82b711 | 2011-05-25 15:16:29 -0700 | [diff] [blame] | 399 | mock_device.o \ |
Darin Petkov | 1bdedf1 | 2011-08-26 13:32:11 -0700 | [diff] [blame] | 400 | mock_device_info.o \ |
| 401 | mock_dhcp_config.o \ |
| 402 | mock_dhcp_provider.o \ |
| 403 | mock_dhcp_proxy.o \ |
Darin Petkov | 385b9bc | 2012-12-03 15:25:05 +0100 | [diff] [blame] | 404 | mock_diagnostics_reporter.o \ |
Paul Stewart | f65320c | 2011-10-13 14:34:52 -0700 | [diff] [blame] | 405 | mock_dns_client.o \ |
Prathmesh Prabhu | 3e452f8 | 2013-04-10 16:31:44 -0700 | [diff] [blame] | 406 | mock_dns_client_factory.o \ |
Paul Stewart | c43cbbe | 2013-04-11 06:29:30 -0700 | [diff] [blame] | 407 | mock_eap_credentials.o \ |
Paul Stewart | ced3ad7 | 2013-04-03 13:39:25 -0700 | [diff] [blame] | 408 | mock_eap_listener.o \ |
Paul Stewart | cf199de | 2012-08-16 07:50:41 -0700 | [diff] [blame] | 409 | mock_ethernet.o \ |
Paul Stewart | 35eff13 | 2013-04-12 12:08:40 -0700 | [diff] [blame] | 410 | mock_ethernet_eap_provider.o \ |
Paul Stewart | 9413bcc | 2013-04-04 16:12:43 -0700 | [diff] [blame] | 411 | mock_ethernet_service.o \ |
Paul Stewart | c2350ee | 2011-10-19 12:28:40 -0700 | [diff] [blame] | 412 | mock_event_dispatcher.o \ |
Darin Petkov | 1bdedf1 | 2011-08-26 13:32:11 -0700 | [diff] [blame] | 413 | mock_glib.o \ |
Paul Stewart | e692740 | 2012-01-23 16:11:30 -0800 | [diff] [blame] | 414 | mock_http_request.o \ |
Prathmesh Prabhu | ba99b59 | 2013-04-17 15:13:14 -0700 | [diff] [blame] | 415 | mock_ip_address_store.o \ |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 416 | mock_ipconfig.o \ |
Paul Stewart | 6c72c97 | 2012-07-27 11:29:20 -0700 | [diff] [blame] | 417 | mock_link_monitor.o \ |
Gary Morain | 8a5726a | 2012-05-15 10:56:49 -0700 | [diff] [blame] | 418 | mock_log.o \ |
| 419 | mock_log_unittest.o \ |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 420 | mock_manager.o \ |
Thieu Le | 3426c8f | 2012-01-11 17:35:11 -0800 | [diff] [blame] | 421 | mock_metrics.o \ |
Jorge Lucangeli Obes | ad43cc6 | 2012-04-11 16:25:43 -0700 | [diff] [blame] | 422 | mock_minijail.o \ |
Paul Stewart | 8c116a9 | 2012-05-02 18:30:03 -0700 | [diff] [blame] | 423 | mock_modem_info.o \ |
Darin Petkov | 3c5e4dc | 2012-04-02 14:44:27 +0200 | [diff] [blame] | 424 | mock_nss.o \ |
Arman Uguray | 41cc634 | 2013-03-29 16:34:39 -0700 | [diff] [blame] | 425 | mock_pending_activation_store.o \ |
Paul Stewart | c681fa0 | 2012-03-02 19:40:04 -0800 | [diff] [blame] | 426 | mock_portal_detector.o \ |
Gary Morain | ac1bdb4 | 2012-02-16 17:42:29 -0800 | [diff] [blame] | 427 | mock_power_manager.o \ |
Darin Petkov | 394b7d4 | 2011-11-03 15:48:02 +0100 | [diff] [blame] | 428 | mock_power_manager_proxy.o \ |
Darin Petkov | 5a85047 | 2012-06-06 15:44:24 +0200 | [diff] [blame] | 429 | mock_process_killer.o \ |
Chris Masone | 7aa5f90 | 2011-07-11 11:13:35 -0700 | [diff] [blame] | 430 | mock_profile.o \ |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 431 | mock_property_store.o \ |
Thieu Le | fb46caf | 2012-03-08 11:57:15 -0800 | [diff] [blame] | 432 | mock_proxy_factory.o \ |
Darin Petkov | eac68e6 | 2011-08-26 16:24:51 -0700 | [diff] [blame] | 433 | mock_resolver.o \ |
| 434 | mock_routing_table.o \ |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 435 | mock_rtnl_handler.o \ |
Chris Masone | a82b711 | 2011-05-25 15:16:29 -0700 | [diff] [blame] | 436 | mock_service.o \ |
Ben Chan | 3e4bf16 | 2013-04-03 18:14:51 -0700 | [diff] [blame] | 437 | mock_socket_info_reader.o \ |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 438 | mock_sockets.o \ |
Darin Petkov | eac68e6 | 2011-08-26 16:24:51 -0700 | [diff] [blame] | 439 | mock_store.o \ |
mukesh agrawal | b20776f | 2012-02-10 16:00:36 -0800 | [diff] [blame] | 440 | mock_supplicant_bss_proxy.o \ |
Paul Stewart | 735eab5 | 2013-03-29 09:19:23 -0700 | [diff] [blame] | 441 | mock_supplicant_eap_state_handler.o \ |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 442 | mock_supplicant_interface_proxy.o \ |
Paul Stewart | 835934a | 2012-12-06 19:27:09 -0800 | [diff] [blame] | 443 | mock_supplicant_network_proxy.o \ |
Darin Petkov | ef34f18 | 2011-08-26 14:14:40 -0700 | [diff] [blame] | 444 | mock_supplicant_process_proxy.o \ |
Paul Stewart | c2350ee | 2011-10-19 12:28:40 -0700 | [diff] [blame] | 445 | mock_time.o \ |
Ben Chan | b061f89 | 2013-02-27 17:46:55 -0800 | [diff] [blame] | 446 | mock_traffic_monitor.o \ |
Paul Stewart | 8c116a9 | 2012-05-02 18:30:03 -0700 | [diff] [blame] | 447 | mock_vpn_provider.o \ |
mukesh agrawal | 7a4e400 | 2011-09-06 11:26:05 -0700 | [diff] [blame] | 448 | mock_wifi.o \ |
Paul Stewart | 3c50401 | 2013-01-17 17:49:58 -0800 | [diff] [blame] | 449 | mock_wifi_provider.o \ |
mukesh agrawal | 7ec7131 | 2011-11-10 02:08:26 +0000 | [diff] [blame] | 450 | mock_wifi_service.o \ |
Ben Chan | c07362b | 2012-05-12 10:54:11 -0700 | [diff] [blame] | 451 | mock_wimax.o \ |
Darin Petkov | 096b347 | 2012-05-15 10:26:22 +0200 | [diff] [blame] | 452 | mock_wimax_device_proxy.o \ |
| 453 | mock_wimax_manager_proxy.o \ |
Darin Petkov | 9893d9c | 2012-05-17 15:27:31 -0700 | [diff] [blame] | 454 | mock_wimax_network_proxy.o \ |
Darin Petkov | e4b2702 | 2012-05-16 13:28:50 +0200 | [diff] [blame] | 455 | mock_wimax_provider.o \ |
Ben Chan | c07362b | 2012-05-12 10:54:11 -0700 | [diff] [blame] | 456 | mock_wimax_service.o \ |
Darin Petkov | 887f298 | 2011-07-14 16:10:17 -0700 | [diff] [blame] | 457 | modem_info_unittest.o \ |
Wade Guthrie | bb9fca2 | 2013-04-10 17:21:42 -0700 | [diff] [blame] | 458 | netlink_manager_unittest.o \ |
Wade Guthrie | 12f113a | 2013-03-12 17:15:46 -0700 | [diff] [blame] | 459 | netlink_message_unittest.o \ |
Wade Guthrie | cc53f23 | 2013-03-05 13:22:23 -0800 | [diff] [blame] | 460 | netlink_socket_unittest.o \ |
mukesh agrawal | dc42bb3 | 2011-07-28 10:40:26 -0700 | [diff] [blame] | 461 | nice_mock_control.o \ |
Darin Petkov | 3c5e4dc | 2012-04-02 14:44:27 +0200 | [diff] [blame] | 462 | nss_unittest.o \ |
Arman Uguray | 41cc634 | 2013-03-29 16:34:39 -0700 | [diff] [blame] | 463 | pending_activation_store_unittest.o \ |
Paul Stewart | e692740 | 2012-01-23 16:11:30 -0800 | [diff] [blame] | 464 | portal_detector_unittest.o \ |
Gary Morain | 43bc627 | 2012-01-30 14:01:15 -0800 | [diff] [blame] | 465 | power_manager_unittest.o \ |
Darin Petkov | 5a85047 | 2012-06-06 15:44:24 +0200 | [diff] [blame] | 466 | process_killer_unittest.o \ |
Paul Stewart | 0756db9 | 2012-01-27 08:34:47 -0800 | [diff] [blame] | 467 | profile_dbus_property_exporter_unittest.o \ |
Darin Petkov | a476682 | 2011-07-07 10:42:22 -0700 | [diff] [blame] | 468 | profile_unittest.o \ |
Chris Masone | 27bf103 | 2011-06-28 17:02:01 -0700 | [diff] [blame] | 469 | property_accessor_unittest.o \ |
Chris Masone | b925cc8 | 2011-06-22 15:39:57 -0700 | [diff] [blame] | 470 | property_store_unittest.o \ |
Paul Stewart | b606394 | 2011-08-05 10:17:29 -0700 | [diff] [blame] | 471 | resolver_unittest.o \ |
Paul Stewart | 75e89d2 | 2011-08-01 10:00:02 -0700 | [diff] [blame] | 472 | routing_table_unittest.o \ |
Darin Petkov | a9b1fed | 2012-02-29 11:49:05 +0100 | [diff] [blame] | 473 | rpc_task_unittest.o \ |
Darin Petkov | e0a312e | 2011-07-20 13:45:28 -0700 | [diff] [blame] | 474 | rtnl_handler_unittest.o \ |
Darin Petkov | ca432fc | 2011-07-08 15:56:57 -0700 | [diff] [blame] | 475 | rtnl_listener_unittest.o \ |
Paul Stewart | dd7df79 | 2011-07-15 11:09:50 -0700 | [diff] [blame] | 476 | rtnl_message_unittest.o \ |
Wade Guthrie | a60a11c | 2013-04-12 17:47:34 -0700 | [diff] [blame] | 477 | scan_session_unittest.o \ |
Ben Chan | bc49ac7 | 2012-04-10 19:59:45 -0700 | [diff] [blame] | 478 | scope_logger_unittest.o \ |
mukesh agrawal | cbfb34e | 2013-04-17 19:33:25 -0700 | [diff] [blame] | 479 | service_property_change_test.o \ |
Chris Masone | 6515aab | 2011-10-12 16:19:09 -0700 | [diff] [blame] | 480 | service_under_test.o \ |
Chris Masone | 3bd3c8c | 2011-06-13 08:20:26 -0700 | [diff] [blame] | 481 | service_unittest.o \ |
Paul Stewart | 735eab5 | 2013-03-29 09:19:23 -0700 | [diff] [blame] | 482 | supplicant_eap_state_handler_unittest.o \ |
Darin Petkov | e02b3ca | 2011-05-31 16:00:44 -0700 | [diff] [blame] | 483 | shill_unittest.o \ |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 484 | shims/certificates_unittest.o \ |
Paul Stewart | 1c9a566 | 2013-02-12 09:41:33 -0800 | [diff] [blame] | 485 | shims/netfilter_queue_processor_unittest.o \ |
Ben Chan | 086d980 | 2013-04-02 16:39:48 -0700 | [diff] [blame] | 486 | socket_info_unittest.o \ |
Ben Chan | 3e4bf16 | 2013-04-03 18:14:51 -0700 | [diff] [blame] | 487 | socket_info_reader_unittest.o \ |
Paul Stewart | 1062d9d | 2012-04-27 10:42:27 -0700 | [diff] [blame] | 488 | static_ip_parameters_unittest.o \ |
Ben Chan | c12cf66 | 2012-04-05 14:47:18 -0700 | [diff] [blame] | 489 | technology_unittest.o \ |
Ben Chan | b061f89 | 2013-02-27 17:46:55 -0800 | [diff] [blame] | 490 | traffic_monitor_unittest.o \ |
Chris Masone | 853b81b | 2011-06-24 14:11:41 -0700 | [diff] [blame] | 491 | testrunner.o \ |
mukesh agrawal | 6e27777 | 2011-09-29 15:04:23 -0700 | [diff] [blame] | 492 | wifi_endpoint_unittest.o \ |
Paul Stewart | 21f2aae | 2013-01-17 17:10:08 -0800 | [diff] [blame] | 493 | wifi_provider_unittest.o \ |
Chris Masone | 34af218 | 2011-08-22 11:59:36 -0700 | [diff] [blame] | 494 | wifi_service_unittest.o \ |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 495 | wifi_unittest.o \ |
Darin Petkov | b72b62e | 2012-05-15 16:55:36 +0200 | [diff] [blame] | 496 | wimax_provider_unittest.o \ |
Ben Chan | c07362b | 2012-05-12 10:54:11 -0700 | [diff] [blame] | 497 | wimax_service_unittest.o \ |
| 498 | wimax_unittest.o \ |
Paul Stewart | 0654ece | 2013-03-26 15:21:26 -0700 | [diff] [blame] | 499 | wpa_supplicant_unittest.o \ |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 500 | ) |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 501 | |
Christopher Wiley | 0d05c11 | 2013-03-19 17:49:38 -0700 | [diff] [blame] | 502 | CRYPTO_UTIL_MAIN_OBJ = $(BUILD_SHIMS_DIR)/crypto_util.o |
| 503 | CRYPTO_UTIL_BIN = $(BUILD_SHIMS_DIR)/crypto-util |
| 504 | |
Darin Petkov | bd0dcc8 | 2012-11-29 10:51:12 +0100 | [diff] [blame] | 505 | NET_DIAGS_UPLOAD_MAIN_OBJ = $(BUILD_SHIMS_DIR)/net_diags_upload.o |
| 506 | NET_DIAGS_UPLOAD_BIN = $(BUILD_SHIMS_DIR)/net-diags-upload |
| 507 | |
Paul Stewart | 1c9a566 | 2013-02-12 09:41:33 -0800 | [diff] [blame] | 508 | NETFILTER_QUEUE_HELPER_OBJS = $(BUILD_SHIMS_DIR)/netfilter_queue_processor.o |
| 509 | NETFILTER_QUEUE_HELPER_MAIN_OBJ = $(BUILD_SHIMS_DIR)/netfilter_queue_helper.o |
Paul Stewart | 3cb0adb | 2013-02-15 12:58:38 -0800 | [diff] [blame] | 510 | NETFILTER_QUEUE_HELPER_BIN = $(BUILD_SHIMS_DIR)/netfilter-queue-helper |
Paul Stewart | 1c9a566 | 2013-02-12 09:41:33 -0800 | [diff] [blame] | 511 | |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 512 | NSS_GET_CERT_OBJS = $(BUILD_SHIMS_DIR)/certificates.o |
| 513 | NSS_GET_CERT_MAIN_OBJ = $(BUILD_SHIMS_DIR)/nss_get_cert.o |
| 514 | NSS_GET_CERT_BIN = $(BUILD_SHIMS_DIR)/nss-get-cert |
Darin Petkov | c90fe52 | 2011-07-15 13:59:47 -0700 | [diff] [blame] | 515 | |
Darin Petkov | 75f201f | 2013-03-19 13:01:28 +0100 | [diff] [blame] | 516 | WPA_SUPPLICANT_CONF = $(BUILD_SHIMS_DIR)/wpa_supplicant.conf |
| 517 | |
| 518 | # If SHILL_CELLULAR=0, don't build cellular support into shill. |
| 519 | ifeq ($(SHILL_CELLULAR), 0) |
| 520 | |
| 521 | CPPFLAGS += -DDISABLE_CELLULAR |
| 522 | |
| 523 | else |
| 524 | |
| 525 | CELLULAR_PC_DEPS = ModemManager |
| 526 | SET_APN_HELPER_PC_DEPS = dbus-1 |
| 527 | |
| 528 | INCLUDE_DIRS += \ |
| 529 | $(shell $(PKG_CONFIG) --cflags \ |
| 530 | $(CELLULAR_PC_DEPS) \ |
| 531 | $(SET_APN_HELPER_PC_DEPS)) |
| 532 | |
| 533 | SET_APN_HELPER_LIBS = $(shell $(PKG_CONFIG) --libs $(SET_APN_HELPER_PC_DEPS)) |
| 534 | |
| 535 | SHILL_LIBS += \ |
| 536 | -lmobile-provider \ |
| 537 | $(shell $(PKG_CONFIG) --libs $(CELLULAR_PC_DEPS)) |
| 538 | |
| 539 | SHILL_OBJS += $(addprefix $(BUILDDIR)/, \ |
| 540 | cellular.o \ |
| 541 | cellular_capability.o \ |
| 542 | cellular_capability_cdma.o \ |
| 543 | cellular_capability_classic.o \ |
| 544 | cellular_capability_gsm.o \ |
| 545 | cellular_capability_universal.o \ |
Arman Uguray | 72fab6a | 2013-01-10 19:32:42 -0800 | [diff] [blame] | 546 | cellular_capability_universal_cdma.o \ |
Darin Petkov | bd9f33a | 2013-03-20 10:38:07 +0100 | [diff] [blame] | 547 | cellular_error.o \ |
Darin Petkov | 75f201f | 2013-03-19 13:01:28 +0100 | [diff] [blame] | 548 | cellular_operator_info.o \ |
| 549 | cellular_service.o \ |
Darin Petkov | bd9f33a | 2013-03-20 10:38:07 +0100 | [diff] [blame] | 550 | dbus_objectmanager_proxy.o \ |
Darin Petkov | 75f201f | 2013-03-19 13:01:28 +0100 | [diff] [blame] | 551 | mm1_bearer_proxy.o \ |
| 552 | mm1_modem_location_proxy.o \ |
| 553 | mm1_modem_modem3gpp_proxy.o \ |
| 554 | mm1_modem_modemcdma_proxy.o \ |
| 555 | mm1_modem_proxy.o \ |
| 556 | mm1_modem_simple_proxy.o \ |
| 557 | mm1_modem_time_proxy.o \ |
| 558 | mm1_sim_proxy.o \ |
| 559 | modem.o \ |
| 560 | modem_1.o \ |
| 561 | modem_cdma_proxy.o \ |
| 562 | modem_classic.o \ |
| 563 | modem_gobi_proxy.o \ |
| 564 | modem_gsm_card_proxy.o \ |
| 565 | modem_gsm_network_proxy.o \ |
| 566 | modem_manager.o \ |
| 567 | modem_manager_1.o \ |
| 568 | modem_manager_proxy.o \ |
| 569 | modem_proxy.o \ |
| 570 | modem_simple_proxy.o \ |
| 571 | ) |
| 572 | |
| 573 | TEST_OBJS += $(addprefix $(BUILDDIR)/, \ |
| 574 | cellular_capability_cdma_unittest.o \ |
| 575 | cellular_capability_classic_unittest.o \ |
| 576 | cellular_capability_gsm_unittest.o \ |
Arman Uguray | 72fab6a | 2013-01-10 19:32:42 -0800 | [diff] [blame] | 577 | cellular_capability_universal_cdma_unittest.o \ |
Darin Petkov | 75f201f | 2013-03-19 13:01:28 +0100 | [diff] [blame] | 578 | cellular_capability_universal_unittest.o \ |
| 579 | cellular_operator_info_unittest.o \ |
| 580 | cellular_service_unittest.o \ |
| 581 | cellular_unittest.o \ |
| 582 | mock_cellular.o \ |
| 583 | mock_mm1_bearer_proxy.o \ |
| 584 | mock_mm1_modem_location_proxy.o \ |
| 585 | mock_mm1_modem_modemcdma_proxy.o \ |
| 586 | mock_mm1_modem_modem3gpp_proxy.o \ |
| 587 | mock_mm1_modem_proxy.o \ |
| 588 | mock_mm1_modem_simple_proxy.o \ |
| 589 | mock_mm1_modem_time_proxy.o \ |
| 590 | mock_mm1_sim_proxy.o \ |
| 591 | mock_modem.o \ |
| 592 | mock_modem_cdma_proxy.o \ |
| 593 | mock_modem_gobi_proxy.o \ |
| 594 | mock_modem_gsm_card_proxy.o \ |
| 595 | mock_modem_gsm_network_proxy.o \ |
| 596 | mock_modem_manager_proxy.o \ |
| 597 | mock_modem_proxy.o \ |
| 598 | mock_modem_simple_proxy.o \ |
| 599 | mock_cellular_operator_info.o \ |
| 600 | mock_cellular_service.o \ |
| 601 | modem_1_unittest.o \ |
| 602 | modem_manager_unittest.o \ |
| 603 | modem_unittest.o \ |
| 604 | ) |
| 605 | |
Darin Petkov | c3505a5 | 2013-03-18 15:13:29 +0100 | [diff] [blame] | 606 | SET_APN_HELPER_MAIN_OBJ = $(BUILD_SHIMS_DIR)/set_apn_helper.o |
| 607 | SET_APN_HELPER_BIN = $(BUILD_SHIMS_DIR)/set-apn-helper |
| 608 | |
Darin Petkov | 75f201f | 2013-03-19 13:01:28 +0100 | [diff] [blame] | 609 | $(SET_APN_HELPER_BIN): $(SET_APN_HELPER_MAIN_OBJ) |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 610 | echo " CXX " $@ |
Darin Petkov | 75f201f | 2013-03-19 13:01:28 +0100 | [diff] [blame] | 611 | $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(SET_APN_HELPER_LIBS) -o $@ |
| 612 | |
| 613 | endif # SHILL_CELLULAR=0 |
Darin Petkov | c3505a5 | 2013-03-18 15:13:29 +0100 | [diff] [blame] | 614 | |
| 615 | # If SHILL_VPN=0, don't build VPN support into shill. |
| 616 | ifeq ($(SHILL_VPN), 0) |
| 617 | |
| 618 | CPPFLAGS += -DDISABLE_VPN |
| 619 | |
| 620 | else |
| 621 | |
| 622 | OPENVPN_SCRIPT_PC_DEPS = $(COMMON_PC_DEPS) dbus-c++-1 |
| 623 | PPPD_PLUGIN_PC_DEPS = $(COMMON_PC_DEPS) dbus-c++-1 |
| 624 | |
| 625 | INCLUDE_DIRS += \ |
| 626 | $(shell $(PKG_CONFIG) --cflags \ |
| 627 | $(OPENVPN_SCRIPT_PC_DEPS) \ |
| 628 | $(PPPD_PLUGIN_PC_DEPS)) |
| 629 | |
| 630 | OPENVPN_SCRIPT_LIBS = $(shell $(PKG_CONFIG) --libs $(OPENVPN_SCRIPT_PC_DEPS)) |
| 631 | PPPD_PLUGIN_LIBS = $(shell $(PKG_CONFIG) --libs $(PPPD_PLUGIN_PC_DEPS)) |
| 632 | |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 633 | OPENVPN_SCRIPT_OBJS = $(addprefix $(BUILD_SHIMS_DIR)/, \ |
| 634 | environment.o \ |
| 635 | task_proxy.o \ |
| 636 | ) |
| 637 | OPENVPN_SCRIPT_MAIN_OBJ = $(BUILD_SHIMS_DIR)/openvpn_script.o |
| 638 | OPENVPN_SCRIPT_BIN = $(BUILD_SHIMS_DIR)/openvpn-script |
| 639 | |
Darin Petkov | 16f6349 | 2012-10-23 11:12:58 +0200 | [diff] [blame] | 640 | PPPD_PLUGIN_OBJS = $(addprefix $(BUILD_SHIMS_DIR)/, \ |
Darin Petkov | 374b5ee | 2012-11-06 11:20:04 +0100 | [diff] [blame] | 641 | c_ppp.pic.o \ |
| 642 | environment.pic.o \ |
| 643 | ppp.pic.o \ |
| 644 | pppd_plugin.pic.o \ |
| 645 | task_proxy.pic.o \ |
Darin Petkov | 16f6349 | 2012-10-23 11:12:58 +0200 | [diff] [blame] | 646 | ) |
| 647 | PPPD_PLUGIN_SO = $(BUILD_SHIMS_DIR)/shill-pppd-plugin.so |
| 648 | |
Darin Petkov | c3505a5 | 2013-03-18 15:13:29 +0100 | [diff] [blame] | 649 | SHILL_OBJS += $(addprefix $(BUILDDIR)/, \ |
| 650 | l2tp_ipsec_driver.o \ |
| 651 | openvpn_driver.o \ |
| 652 | openvpn_management_server.o \ |
| 653 | ) |
Darin Petkov | 16f6349 | 2012-10-23 11:12:58 +0200 | [diff] [blame] | 654 | |
Darin Petkov | c3505a5 | 2013-03-18 15:13:29 +0100 | [diff] [blame] | 655 | TEST_OBJS += $(addprefix $(BUILDDIR)/, \ |
| 656 | l2tp_ipsec_driver_unittest.o \ |
| 657 | mock_openvpn_driver.o \ |
| 658 | mock_openvpn_management_server.o \ |
| 659 | mock_vpn.o \ |
| 660 | mock_vpn_driver.o \ |
| 661 | mock_vpn_service.o \ |
| 662 | openvpn_driver_unittest.o \ |
| 663 | openvpn_management_server_unittest.o \ |
| 664 | shims/environment_unittest.o \ |
| 665 | vpn_driver_unittest.o \ |
| 666 | vpn_provider_unittest.o \ |
| 667 | vpn_service_unittest.o \ |
| 668 | vpn_unittest.o \ |
| 669 | ) |
| 670 | |
| 671 | $(OPENVPN_SCRIPT_OBJS): $(DBUS_PROXY_BINDINGS) |
| 672 | $(OPENVPN_SCRIPT_MAIN_OBJ): $(DBUS_PROXY_BINDINGS) |
| 673 | |
| 674 | $(OPENVPN_SCRIPT_BIN): $(OPENVPN_SCRIPT_MAIN_OBJ) $(OPENVPN_SCRIPT_OBJS) |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 675 | echo " CXX " $@ |
Darin Petkov | c3505a5 | 2013-03-18 15:13:29 +0100 | [diff] [blame] | 676 | $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(OPENVPN_SCRIPT_LIBS) -o $@ |
| 677 | |
| 678 | $(PPPD_PLUGIN_OBJS): $(DBUS_PROXY_BINDINGS) |
| 679 | |
| 680 | $(PPPD_PLUGIN_SO): $(PPPD_PLUGIN_OBJS) |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 681 | echo " CXX " $@ |
Darin Petkov | c3505a5 | 2013-03-18 15:13:29 +0100 | [diff] [blame] | 682 | $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $^ $(PPPD_PLUGIN_LIBS) -o $@ |
| 683 | |
| 684 | endif # SHILL_VPN=0 |
Darin Petkov | 4c2aa33 | 2012-10-17 10:33:52 +0200 | [diff] [blame] | 685 | |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 686 | OBJS = \ |
Christopher Wiley | 0d05c11 | 2013-03-19 17:49:38 -0700 | [diff] [blame] | 687 | $(CRYPTO_UTIL_MAIN_OBJ) \ |
Darin Petkov | bd0dcc8 | 2012-11-29 10:51:12 +0100 | [diff] [blame] | 688 | $(NET_DIAGS_UPLOAD_MAIN_OBJ) \ |
Paul Stewart | 1c9a566 | 2013-02-12 09:41:33 -0800 | [diff] [blame] | 689 | $(NETFILTER_QUEUE_HELPER_MAIN_OBJ) \ |
| 690 | $(NETFILTER_QUEUE_HELPER_OBJS) \ |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 691 | $(NSS_GET_CERT_MAIN_OBJ) \ |
| 692 | $(NSS_GET_CERT_OBJS) \ |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 693 | $(OPENVPN_SCRIPT_MAIN_OBJ) \ |
| 694 | $(OPENVPN_SCRIPT_OBJS) \ |
Darin Petkov | e6ca320 | 2012-10-19 14:49:56 +0200 | [diff] [blame] | 695 | $(PPPD_PLUGIN_OBJS) \ |
Darin Petkov | 16f6349 | 2012-10-23 11:12:58 +0200 | [diff] [blame] | 696 | $(SET_APN_HELPER_MAIN_OBJ) \ |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 697 | $(SHILL_MAIN_OBJ) \ |
| 698 | $(SHILL_OBJS) \ |
| 699 | $(TEST_OBJS) |
| 700 | |
Gaurav Shah | c893457 | 2013-03-25 19:02:52 -0700 | [diff] [blame] | 701 | GTEST_LIBS := $(shell gmock-config --libs) $(shell gtest-config --libs) |
Darin Petkov | 75f201f | 2013-03-19 13:01:28 +0100 | [diff] [blame] | 702 | TEST_LIBS = $(SHILL_LIBS) $(NSS_GET_CERT_LIBS) $(NETFILTER_QUEUE_HELPER_LIBS) \ |
Gaurav Shah | c893457 | 2013-03-25 19:02:52 -0700 | [diff] [blame] | 703 | $(GTEST_LIBS) |
Darin Petkov | 75f201f | 2013-03-19 13:01:28 +0100 | [diff] [blame] | 704 | |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 705 | .PHONY: all clean shims |
| 706 | |
| 707 | all: $(SHILL_BIN) $(TEST_BIN) shims |
| 708 | |
Darin Petkov | e6ca320 | 2012-10-19 14:49:56 +0200 | [diff] [blame] | 709 | shims: \ |
Christopher Wiley | 0d05c11 | 2013-03-19 17:49:38 -0700 | [diff] [blame] | 710 | $(CRYPTO_UTIL_BIN) \ |
Darin Petkov | bd0dcc8 | 2012-11-29 10:51:12 +0100 | [diff] [blame] | 711 | $(NET_DIAGS_UPLOAD_BIN) \ |
Paul Stewart | 1c9a566 | 2013-02-12 09:41:33 -0800 | [diff] [blame] | 712 | $(NETFILTER_QUEUE_HELPER_BIN) \ |
Darin Petkov | e6ca320 | 2012-10-19 14:49:56 +0200 | [diff] [blame] | 713 | $(NSS_GET_CERT_BIN) \ |
| 714 | $(OPENVPN_SCRIPT_BIN) \ |
| 715 | $(PPPD_PLUGIN_SO) \ |
Darin Petkov | 16f6349 | 2012-10-23 11:12:58 +0200 | [diff] [blame] | 716 | $(SET_APN_HELPER_BIN) \ |
Darin Petkov | e6ca320 | 2012-10-19 14:49:56 +0200 | [diff] [blame] | 717 | $(WPA_SUPPLICANT_CONF) |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 718 | |
| 719 | $(BUILD_DBUS_BINDINGS_SHIMS_DIR)/flimflam-task.xml: \ |
| 720 | $(BUILD_DBUS_BINDINGS_DIR)/flimflam-task.xml |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 721 | echo " CP " $@ |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 722 | cp $< $@ |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 723 | |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 724 | $(BUILD_DBUS_BINDINGS_DIR)/%.xml: $(DBUS_BINDINGS_DIR)/%.xml |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 725 | echo " CP " $@ |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 726 | cp $< $@ |
| 727 | |
Darin Petkov | 4a09b6b | 2011-07-19 12:52:06 -0700 | [diff] [blame] | 728 | $(DBUS_PROXY_BINDINGS): %.h: %.xml |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 729 | echo " DBUSXX_XML2CPP " $@ |
Darin Petkov | 005aa38 | 2011-11-17 14:26:21 +0100 | [diff] [blame] | 730 | $(DBUSXX_XML2CPP) $< --proxy=$@ --sync --async |
Chris Masone | 413a319 | 2011-05-09 17:10:05 -0700 | [diff] [blame] | 731 | |
Darin Petkov | 4a09b6b | 2011-07-19 12:52:06 -0700 | [diff] [blame] | 732 | $(DBUS_ADAPTOR_BINDINGS): %.h: %.xml |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 733 | echo " DBUSXX_XML2CPP " $@ |
Chris Masone | 14de6e5 | 2011-05-09 09:20:59 -0700 | [diff] [blame] | 734 | $(DBUSXX_XML2CPP) $< --adaptor=$@ |
| 735 | |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 736 | $(PROTO_BINDINGS_H): %.h: %.cc ; |
| 737 | |
Christopher Wiley | 5a3f23a | 2013-02-20 17:29:57 -0800 | [diff] [blame] | 738 | $(SYSTEM_PROTO_BINDINGS_CC): \ |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 739 | $(BUILD_PROTO_BINDINGS_DIR)/%.pb.cc: $(SYSTEM_API_PROTO_PATH)/%.proto |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 740 | echo " PROTOC " $@ |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 741 | $(PROTOC) --proto_path=$(SYSTEM_API_PROTO_PATH) \ |
| 742 | --cpp_out=$(BUILD_PROTO_BINDINGS_DIR) $< |
| 743 | |
Christopher Wiley | 5a3f23a | 2013-02-20 17:29:57 -0800 | [diff] [blame] | 744 | $(SHIM_PROTO_BINDINGS_CC): \ |
| 745 | $(BUILD_PROTO_BINDINGS_DIR)/%.pb.cc: %.proto |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 746 | echo " PROTOC " $@ |
Christopher Wiley | 5a3f23a | 2013-02-20 17:29:57 -0800 | [diff] [blame] | 747 | $(PROTOC) --proto_path=./ --cpp_out=$(BUILD_PROTO_BINDINGS_DIR) $< |
| 748 | |
Darin Petkov | e6ca320 | 2012-10-19 14:49:56 +0200 | [diff] [blame] | 749 | $(BUILDDIR)/%.o: %.c |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 750 | echo " CC " $@ |
Darin Petkov | e6ca320 | 2012-10-19 14:49:56 +0200 | [diff] [blame] | 751 | $(CC) $(CPPFLAGS) $(CFLAGS) $(INCLUDE_DIRS) -MMD -c $< -o $@ |
| 752 | |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 753 | $(PROTO_BINDINGS_OBJS): INCLUDE_DIRS += -iquote $(BUILD_PROTO_BINDINGS_DIR) |
| 754 | |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 755 | $(BUILDDIR)/%.o: %.cc |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 756 | echo " CXX " $@ |
mukesh agrawal | 837bb56 | 2011-11-23 01:06:01 +0000 | [diff] [blame] | 757 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE_DIRS) -MMD -c $< -o $@ |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 758 | |
Darin Petkov | 374b5ee | 2012-11-06 11:20:04 +0100 | [diff] [blame] | 759 | $(BUILDDIR)/%.pic.o: %.c |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 760 | echo " CC " $@ |
Darin Petkov | 374b5ee | 2012-11-06 11:20:04 +0100 | [diff] [blame] | 761 | $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC $(INCLUDE_DIRS) -MMD -c $< -o $@ |
| 762 | |
| 763 | $(BUILDDIR)/%.pic.o: %.cc |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 764 | echo " CXX " $@ |
Darin Petkov | 374b5ee | 2012-11-06 11:20:04 +0100 | [diff] [blame] | 765 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) -fPIC $(INCLUDE_DIRS) -MMD -c $< -o $@ |
| 766 | |
Daniel Erat | 0818cca | 2012-12-14 10:16:21 -0800 | [diff] [blame] | 767 | $(SHILL_OBJS): \ |
| 768 | $(DBUS_ADAPTOR_BINDINGS) \ |
| 769 | $(DBUS_PROXY_BINDINGS) \ |
| 770 | $(PROTO_BINDINGS_H) |
Chris Masone | 14de6e5 | 2011-05-09 09:20:59 -0700 | [diff] [blame] | 771 | |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 772 | $(SHILL_LIB): $(SHILL_OBJS) |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 773 | echo " AR " $@ |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 774 | $(AR) rcs $@ $^ |
| 775 | |
| 776 | $(SHILL_BIN): $(SHILL_MAIN_OBJ) $(SHILL_LIB) |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 777 | echo " CXX " $@ |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 778 | $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(SHILL_LIBS) -o $@ |
| 779 | |
Christopher Wiley | 0d05c11 | 2013-03-19 17:49:38 -0700 | [diff] [blame] | 780 | $(CRYPTO_UTIL_BIN): $(CRYPTO_UTIL_MAIN_OBJ) $(CRYPTO_UTIL_PROTO_BINDINGS_OBJS) |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 781 | echo " CXX " $@ |
Christopher Wiley | 0d05c11 | 2013-03-19 17:49:38 -0700 | [diff] [blame] | 782 | $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(CRYPTO_UTIL_LIBS) -o $@ |
| 783 | |
Darin Petkov | bd0dcc8 | 2012-11-29 10:51:12 +0100 | [diff] [blame] | 784 | $(NET_DIAGS_UPLOAD_BIN): $(NET_DIAGS_UPLOAD_MAIN_OBJ) |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 785 | echo " CXX " $@ |
Darin Petkov | fac01f0 | 2012-12-06 12:44:07 +0100 | [diff] [blame] | 786 | $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(NET_DIAGS_UPLOAD_LIBS) -o $@ |
Darin Petkov | bd0dcc8 | 2012-11-29 10:51:12 +0100 | [diff] [blame] | 787 | |
Paul Stewart | 1c9a566 | 2013-02-12 09:41:33 -0800 | [diff] [blame] | 788 | $(NETFILTER_QUEUE_HELPER_BIN): \ |
| 789 | $(NETFILTER_QUEUE_HELPER_MAIN_OBJ) \ |
| 790 | $(NETFILTER_QUEUE_HELPER_OBJS) |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 791 | echo " CXX " $@ |
Paul Stewart | 1c9a566 | 2013-02-12 09:41:33 -0800 | [diff] [blame] | 792 | $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(NETFILTER_QUEUE_HELPER_LIBS) -o $@ |
| 793 | |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 794 | $(NSS_GET_CERT_BIN): $(NSS_GET_CERT_MAIN_OBJ) $(NSS_GET_CERT_OBJS) $(SHILL_LIB) |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 795 | echo " CXX " $@ |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 796 | $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(NSS_GET_CERT_LIBS) -o $@ |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 797 | |
Darin Petkov | 4c2aa33 | 2012-10-17 10:33:52 +0200 | [diff] [blame] | 798 | $(WPA_SUPPLICANT_CONF): shims/wpa_supplicant.conf.in |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 799 | echo " SED " $@ |
Darin Petkov | 4c2aa33 | 2012-10-17 10:33:52 +0200 | [diff] [blame] | 800 | sed s,@libdir@,$(LIBDIR), $^ > $@ |
| 801 | |
Paul Stewart | 291a473 | 2012-03-14 19:19:02 -0700 | [diff] [blame] | 802 | $(TEST_BIN): CPPFLAGS += -DUNIT_TEST -DSYSROOT=\"$(SYSROOT)\" |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 803 | $(TEST_BIN): \ |
| 804 | $(TEST_OBJS) \ |
Paul Stewart | 1c9a566 | 2013-02-12 09:41:33 -0800 | [diff] [blame] | 805 | $(NETFILTER_QUEUE_HELPER_OBJS) \ |
Darin Petkov | 804e8d0 | 2012-10-10 16:44:36 +0200 | [diff] [blame] | 806 | $(NSS_GET_CERT_OBJS) \ |
| 807 | $(OPENVPN_SCRIPT_OBJS) \ |
| 808 | $(SHILL_LIB) |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 809 | echo " CXX " $@ |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 810 | $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ $(TEST_LIBS) -o $@ |
Chris Masone | 96832c3 | 2011-05-03 12:23:18 -0700 | [diff] [blame] | 811 | |
| 812 | clean: |
Darin Petkov | e604f70 | 2011-07-28 15:51:17 -0700 | [diff] [blame] | 813 | rm -rf \ |
Darin Petkov | 5236a8e | 2012-02-21 10:26:55 +0100 | [diff] [blame] | 814 | $(BUILDDIR) \ |
Darin Petkov | e604f70 | 2011-07-28 15:51:17 -0700 | [diff] [blame] | 815 | $(SHILL_BIN) \ |
| 816 | $(TEST_BIN) |
mukesh agrawal | 837bb56 | 2011-11-23 01:06:01 +0000 | [diff] [blame] | 817 | |
mukesh agrawal | 76a87fd | 2013-04-19 18:17:49 -0700 | [diff] [blame] | 818 | # Don't output build commands. When adding rules, please echo a short |
| 819 | # form of the build command manually. E.g. 'echo " CXX " $@'. |
| 820 | .SILENT: |
| 821 | |
Darin Petkov | d9050bb | 2012-09-26 16:02:52 +0200 | [diff] [blame] | 822 | -include $(OBJS:.o=.d) |