blob: b8ebe3980ae888134080b0a0bb673e551ec40b33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
## Copyright 2013 Intel Corporation All Rights Reserved.
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation;
## version 2.1 of the License.
##
## This library is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
## Lesser General Public License for more details.
##
## You should have received a copy of the GNU Lesser General Public
## License along with this library; if not, write to the Free Software
## Foundation, Inc., 51 Franklin Street, Fifth Floor,
## Boston, MA 02110-1301 USA
pkglib_LTLIBRARIES = connman.la
if SETTINGS_USE_GCC_SYMBOL_VISIBILITY
IVI_SETTINGS_PLUGIN_CXXFLAGS = -fvisibility=hidden -fvisibility-inlines-hidden
IVI_SETTINGS_PLUGIN_CFLAGS = -fvisibility=hidden
else
IVI_SETTINGS_PLUGIN_CXXFLAGS =
IVI_SETTINGS_PLUGIN_CFLAGS =
endif
IVI_SETTINGS_PLUGIN_CPPFLAGS = \
-DIVI_SETTINGS_CONNMAN_BUILDING_DLL \
-I$(top_srcdir)/include
IVI_SETTINGS_PLUGIN_LIBRARY = $(top_builddir)/lib/libsettings.la
connman_la_SOURCES = \
dbus_connection.cpp \
connman.cpp \
connman_manager.cpp \
connman_technology.cpp \
service.cpp \
technology.cpp \
clock.cpp \
registration.cpp \
$(BUILT_SOURCES)
connman_la_CXXFLAGS = \
$(IVI_SETTINGS_PLUGIN_CXXFLAGS) \
$(GIO_CFLAGS) \
$(JSON_GLIB_CFLAGS)
connman_la_CFLAGS = \
$(IVI_SETTINGS_PLUGIN_CFLAGS) \
$(GIO_CFLAGS)
connman_la_CPPFLAGS = $(IVI_SETTINGS_PLUGIN_CPPFLAGS)
connman_la_LIBADD = $(IVI_SETTINGS_PLUGIN_LIBRARY)
connman_la_LDFLAGS = -no-undefined \
-module \
-avoid-version \
$(GIO_LIBS) \
$(JSON_GLIB_LIBS)
noinst_HEADERS = \
config.h \
connman_api.hpp \
dbus_connection.hpp \
connman.hpp \
connman_manager.hpp \
connman_technology.hpp \
service.hpp \
technology.hpp \
clock.hpp
dbus_codegen_verbose = $(dbus_codegen_verbose_$(V))
dbus_codegen_verbose_ = $(dbus_codegen_verbose_$(AM_DEFAULT_VERBOSITY))
dbus_codegen_verbose_0 = @echo 'CODEGEN ' $@;
## D-Bus glue code generation.
%-glue.c %-glue.h: %.xml Makefile
$(dbus_codegen_verbose)gdbus-codegen --generate-c-code $*-glue \
--interface-prefix net.connman. $<
BUILT_SOURCES = \
agent-glue.c \
agent-glue.h
CLEANFILES = $(BUILT_SOURCES)
dist-hook:
cd $(distdir); rm -f $(BUILT_SOURCES)
EXTRA_DIST = agent.xml
|