Added API for enabling tethering
[profile/ivi/settings-daemon.git] / lib / 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 ##               settingsd plugin library
20 ## ---------------------------------------------------------
21 lib_LTLIBRARIES    = libsettings.la
22
23 libsettings_la_SOURCES =        \
24         loader.cpp              \
25         manager.cpp             \
26         plugin.cpp              \
27         registrar.cpp           \
28         send_callback.cpp       \
29         event_callback.cpp      \
30         response_callback.cpp   \
31         dbus_signal_callback.cpp
32
33 libsettings_la_CPPFLAGS = -DSETTINGS_BUILDING_DLL -I$(top_srcdir)/include
34
35 if SETTINGS_USE_GCC_SYMBOL_VISIBILITY
36   SETTINGS_PLUGIN_CXXFLAGS = -fvisibility=hidden -fvisibility-inlines-hidden
37 else
38   SETTINGS_PLUGIN_CXXFLAGS =
39 endif
40
41 libsettings_la_CXXFLAGS =               \
42         $(SETTINGS_PLUGIN_CXXFLAGS)     \
43         $(BOOST_CPPFLAGS)               \
44         $(JSON_GLIB_CFLAGS)
45
46 libsettings_la_LIBADD   =       \
47         $(BOOST_FILESYSTEM_LIB) \
48         $(JSON_GLIB_LIBS)
49
50 noinst_HEADERS =        \
51         loader.hpp      \
52         manager.hpp