TIVI-1924: Initial commit of IVI settings daemon.
[profile/ivi/settings-daemon.git] / plugins / connman / Makefile.am
1 ## Copyright 2013 Intel Corporation All Rights Reserved.
2 ##
3 ## This library is free software; you can redistribute it and/or
4 ## modify it under the terms of the GNU Lesser General Public
5 ## License as published by the Free Software Foundation;
6 ## version 2.1 of the License.
7 ##
8 ## This library is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 ## Lesser General Public License for more details.
12 ##
13 ## You should have received a copy of the GNU Lesser General Public
14 ## License along with this library; if not, write to the Free Software
15 ## Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 ## Boston, MA  02110-1301  USA
17
18
19 pkglib_LTLIBRARIES = connman.la
20
21 if SETTINGS_USE_GCC_SYMBOL_VISIBILITY
22   IVI_SETTINGS_PLUGIN_CXXFLAGS = -fvisibility=hidden -fvisibility-inlines-hidden
23 else
24   IVI_SETTINGS_PLUGIN_CXXFLAGS =
25 endif
26
27 IVI_SETTINGS_PLUGIN_CPPFLAGS = \
28         -DIVI_SETTINGS_CONNMAN_BUILDING_DLL \
29         -I$(top_srcdir)/include
30
31 IVI_SETTINGS_PLUGIN_LIBRARY = $(top_builddir)/lib/libsettings.la
32
33 connman_la_SOURCES =            \
34         connman.cpp             \
35         connman_manager.cpp     \
36         service.cpp             \
37         technology.cpp          \
38         bluetooth.cpp           \
39         clock.cpp               \
40         ethernet.cpp            \
41         wifi.cpp                \
42         registration.cpp
43 connman_la_CXXFLAGS = \
44         $(IVI_SETTINGS_PLUGIN_CXXFLAGS) \
45         $(GIO_CFLAGS)                   \
46         $(JSON_GLIB_CFLAGS)
47 connman_la_CPPFLAGS = $(IVI_SETTINGS_PLUGIN_CPPFLAGS) 
48 connman_la_LIBADD   = $(IVI_SETTINGS_PLUGIN_LIBRARY)
49 connman_la_LDFLAGS  = -no-undefined   \
50                       -module         \
51                       -avoid-version  \
52                       $(GIO_LIBS)     \
53                       $(JSON_GLIB_LIBS)
54
55 noinst_HEADERS =                \
56         connman_api.hpp         \
57         connman.hpp             \
58         connman_manager.hpp     \
59         service.hpp             \
60         technology.hpp          \
61         bluetooth.hpp           \
62         clock.hpp               \
63         ethernet.hpp            \
64         wifi.hpp