| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 sbin_PROGRAMS = cashewd | 5 sbin_PROGRAMS = cashewd |
| 6 | 6 |
| 7 cashewd_SOURCES = \ | 7 cashewd_SOURCES = \ |
| 8 cashew_server.h \ | 8 cashew_server.h \ |
| 9 cashew_server.cc \ | 9 cashew_server.cc \ |
| 10 data_plan.h \ | 10 data_plan.h \ |
| 11 data_plan.cc \ | 11 data_plan.cc \ |
| 12 data_plan_provider.h \ |
| 13 data_plan_provider.cc \ |
| 14 default_policy.h \ |
| 15 default_policy.cc \ |
| 12 device.h \ | 16 device.h \ |
| 13 device.cc \ | 17 device.cc \ |
| 18 http_fetcher.h \ |
| 19 libcurl_http_fetcher.h \ |
| 20 libcurl_http_fetcher.cc \ |
| 21 policy.h \ |
| 22 policy.cc \ |
| 14 service.h \ | 23 service.h \ |
| 15 service.cc \ | 24 service.cc \ |
| 16 service_manager.h \ | 25 service_manager.h \ |
| 17 service_manager.cc \ | 26 service_manager.cc \ |
| 18 main.cc | 27 main.cc |
| 19 | 28 |
| 20 # D-Bus server stub generation | 29 # D-Bus server stub generation |
| 21 DBUSXX_XML2CPP = dbusxx-xml2cpp | 30 DBUSXX_XML2CPP = dbusxx-xml2cpp |
| 22 cashew_server_glue.h: $(top_srcdir)/introspection/cashew.xml | 31 cashew_server_glue.h: $(top_srcdir)/introspection/cashew.xml |
| 23 $(DBUSXX_XML2CPP) $^ --adaptor=$@ | 32 $(DBUSXX_XML2CPP) $^ --adaptor=$@ |
| 24 | 33 |
| 25 # D-Bus client stub generation | 34 # D-Bus client stub generation |
| 26 flimflam_device_client_glue.h: $(top_srcdir)/extrospection/flimflam-device.xml | 35 flimflam_device_client_glue.h: $(top_srcdir)/extrospection/flimflam-device.xml |
| 27 $(DBUSXX_XML2CPP) $^ --proxy=$@ | 36 $(DBUSXX_XML2CPP) $^ --proxy=$@ |
| 28 flimflam_manager_client_glue.h: $(top_srcdir)/extrospection/flimflam-manager.xml | 37 flimflam_manager_client_glue.h: $(top_srcdir)/extrospection/flimflam-manager.xml |
| 29 $(DBUSXX_XML2CPP) $^ --proxy=$@ | 38 $(DBUSXX_XML2CPP) $^ --proxy=$@ |
| 30 flimflam_service_client_glue.h: $(top_srcdir)/extrospection/flimflam-service.xml | 39 flimflam_service_client_glue.h: $(top_srcdir)/extrospection/flimflam-service.xml |
| 31 $(DBUSXX_XML2CPP) $^ --proxy=$@ | 40 $(DBUSXX_XML2CPP) $^ --proxy=$@ |
| 32 | 41 |
| 33 BUILT_SOURCES = \ | 42 BUILT_SOURCES = \ |
| 34 cashew_server_glue.h \ | 43 cashew_server_glue.h \ |
| 35 flimflam_device_client_glue.h \ | 44 flimflam_device_client_glue.h \ |
| 36 flimflam_manager_client_glue.h \ | 45 flimflam_manager_client_glue.h \ |
| 37 flimflam_service_client_glue.h | 46 flimflam_service_client_glue.h |
| 38 | 47 |
| 39 CLEANFILES = $(BUILT_SOURCES) | 48 CLEANFILES = $(BUILT_SOURCES) |
| 40 | 49 |
| 41 # manually defining info for libs with no pkg-config file | 50 # CFLAGS and LIBS info comes from PKG_CHECK_MODULES checks in configure.ac |
| 51 # We manually define info below for libs with no pkg-config file |
| 42 | 52 |
| 43 LIBBASE_CFLAGS = | 53 LIBBASE_CFLAGS = |
| 44 LIBBASE_LIBS = -lbase | 54 LIBBASE_LIBS = -lbase |
| 45 | 55 |
| 46 GFLAGS_CFLAGS = | 56 GFLAGS_CFLAGS = |
| 47 GFLAGS_LIBS = -lgflags | 57 GFLAGS_LIBS = -lgflags |
| 48 | 58 |
| 49 cashewd_CPPFLAGS = -Wall -Werror \ | 59 cashewd_CPPFLAGS = -Wall -Werror \ |
| 50 $(LIBBASE_CFLAGS) \ | 60 $(LIBBASE_CFLAGS) \ |
| 61 @CURL_CFLAGS@ \ |
| 51 @DBUS_CPP_CFLAGS@ \ | 62 @DBUS_CPP_CFLAGS@ \ |
| 52 $(GFLAGS_CFLAGS) \ | 63 $(GFLAGS_CFLAGS) \ |
| 64 @GLIB_CFLAGS@ \ |
| 53 @GLOG_CFLAGS@ | 65 @GLOG_CFLAGS@ |
| 54 | 66 |
| 55 cashewd_LDADD = \ | 67 cashewd_LDADD = \ |
| 56 $(LIBBASE_LIBS) \ | 68 $(LIBBASE_LIBS) \ |
| 69 @CURL_LIBS@ \ |
| 57 @DBUS_CPP_LIBS@ \ | 70 @DBUS_CPP_LIBS@ \ |
| 58 $(GFLAGS_LIBS) \ | 71 $(GFLAGS_LIBS) \ |
| 72 @GLIB_LIBS@ \ |
| 59 @GLOG_LIBS@ | 73 @GLOG_LIBS@ |
| OLD | NEW |