1 ## Copyright 2012, 2013 Intel Corporation All Rights Reserved.
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.
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.
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
18 ## ---------------------------------------------------------
20 ## ---------------------------------------------------------
22 # The settingsd stand-alone binary.
23 bin_PROGRAMS = settingsd
25 ## Note that we define some preprocessor symbols on the command line
26 ## since the required shell variables cannot be fully expanded at
28 settingsd_CPPFLAGS = \
32 $(LIBWEBSOCKETS_CFLAGS) \
33 -I$(top_srcdir)/include \
34 -DIVI_SETTINGS_CONFIG_DIR='"$(sysconfdir)/@PACKAGE@"' \
35 -DIVI_SETTINGS_DEFAULT_SETTINGS_DIR='"$(pkglibdir)"'
42 settingsd_LDFLAGS = $(BOOST_LDFLAGS)
45 $(top_builddir)/lib/libsettings.la \
46 $(BOOST_PROGRAM_OPTIONS_LIB) \
49 $(LIBWEBSOCKETS_LIBS) \
50 @IVI_SETTINGS_DLOPEN_LIBS@
57 ## Silent mode output for D-bus related code generation.
58 dbus_codegen_verbose = $(dbus_codegen_verbose_$(V))
59 dbus_codegen_verbose_ = $(dbus_codegen_verbose_$(AM_DEFAULT_VERBOSITY))
60 dbus_codegen_verbose_0 = @echo 'CODEGEN ' $@;
62 ## Geocoding related D-bus glue code generation.
63 %-glue.c %-glue.h: %.xml Makefile
64 $(dbus_codegen_verbose)gdbus-codegen --generate-c-code $*-glue \
65 --interface-prefix org.tizen. $<
69 CLEANFILES = $(BUILT_SOURCES)
72 cd $(distdir); rm -f $(BUILT_SOURCES)