| 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 \ |
| 11 data_plan.cc \ |
| 12 device.h \ |
| 13 device.cc \ |
| 14 service.h \ |
| 15 service.cc \ |
| 16 service_manager.h \ |
| 17 service_manager.cc \ |
| 10 main.cc | 18 main.cc |
| 11 | 19 |
| 12 # D-Bus server stub generation | 20 # D-Bus server stub generation |
| 13 DBUSXX_XML2CPP = dbusxx-xml2cpp | 21 DBUSXX_XML2CPP = dbusxx-xml2cpp |
| 14 cashew_server_glue.h: $(top_srcdir)/introspection/cashew.xml | 22 cashew_server_glue.h: $(top_srcdir)/introspection/cashew.xml |
| 15 $(DBUSXX_XML2CPP) $^ --adaptor=$@ | 23 $(DBUSXX_XML2CPP) $^ --adaptor=$@ |
| 16 | 24 |
| 25 # D-Bus client stub generation |
| 26 flimflam_device_client_glue.h: $(top_srcdir)/extrospection/flimflam-device.xml |
| 27 $(DBUSXX_XML2CPP) $^ --proxy=$@ |
| 28 flimflam_manager_client_glue.h: $(top_srcdir)/extrospection/flimflam-manager.xml |
| 29 $(DBUSXX_XML2CPP) $^ --proxy=$@ |
| 30 flimflam_service_client_glue.h: $(top_srcdir)/extrospection/flimflam-service.xml |
| 31 $(DBUSXX_XML2CPP) $^ --proxy=$@ |
| 32 |
| 17 BUILT_SOURCES = \ | 33 BUILT_SOURCES = \ |
| 18 cashew_server_glue.h | 34 cashew_server_glue.h \ |
| 35 flimflam_device_client_glue.h \ |
| 36 flimflam_manager_client_glue.h \ |
| 37 flimflam_service_client_glue.h |
| 19 | 38 |
| 20 CLEANFILES = $(BUILT_SOURCES) | 39 CLEANFILES = $(BUILT_SOURCES) |
| 21 | 40 |
| 22 # manually defining these instead of getting them via autoconf, because gflags | 41 # manually defining info for libs with no pkg-config file |
| 23 # has no pkg-config file | 42 |
| 43 LIBBASE_CFLAGS = |
| 44 LIBBASE_LIBS = -lbase |
| 45 |
| 24 GFLAGS_CFLAGS = | 46 GFLAGS_CFLAGS = |
| 25 GFLAGS_LIBS = -lgflags | 47 GFLAGS_LIBS = -lgflags |
| 26 | 48 |
| 27 cashewd_CPPFLAGS = -Wall -Werror \ | 49 cashewd_CPPFLAGS = -Wall -Werror \ |
| 50 $(LIBBASE_CFLAGS) \ |
| 28 @DBUS_CPP_CFLAGS@ \ | 51 @DBUS_CPP_CFLAGS@ \ |
| 29 $(GFLAGS_CFLAGS) \ | 52 $(GFLAGS_CFLAGS) \ |
| 30 @GLOG_CFLAGS@ | 53 @GLOG_CFLAGS@ |
| 31 | 54 |
| 32 cashewd_LDADD = \ | 55 cashewd_LDADD = \ |
| 56 $(LIBBASE_LIBS) \ |
| 33 @DBUS_CPP_LIBS@ \ | 57 @DBUS_CPP_LIBS@ \ |
| 34 $(GFLAGS_LIBS) \ | 58 $(GFLAGS_LIBS) \ |
| 35 @GLOG_LIBS@ | 59 @GLOG_LIBS@ |
| OLD | NEW |