dhcp: Invalidate and Release on Network Removal
[framework/connectivity/connman.git] / Makefile.am
index 95aefc7..446a26a 100644 (file)
@@ -16,7 +16,8 @@ noinst_HEADERS = include/driver.h include/element.h include/property.h \
                        include/dbus.h include/rfkill.h include/option.h \
                        include/profile.h include/provider.h \
                        include/utsname.h include/timeserver.h include/proxy.h \
-                       include/location.h include/technology.h
+                       include/location.h include/technology.h \
+                       include/setting.h
 
 local_headers = $(foreach file,$(include_HEADERS) $(nodist_include_HEADERS) \
                        $(noinst_HEADERS), include/connman/$(notdir $(file)))
@@ -70,6 +71,7 @@ src_connmand_SOURCES = $(gdbus_sources) $(gdhcp_sources) \
                        src/error.c src/plugin.c src/task.c src/element.c \
                        src/device.c src/network.c src/connection.c \
                        src/manager.c src/profile.c src/service.c \
+                       src/clock.c src/timezone.c \
                        src/agent.c src/notifier.c src/provider.c \
                        src/resolver.c src/ipconfig.c src/detect.c src/inet.c \
                        src/dhcp.c src/rtnl.c src/proxy.c \
@@ -95,6 +97,8 @@ scriptdir = $(libdir)/connman/scripts
 
 storagedir = $(localstatedir)/lib/connman
 
+configdir = ${sysconfdir}/connman
+
 if MAINTAINER_MODE
 build_plugindir = $(abs_top_srcdir)/plugins/.libs
 build_scriptdir = $(abs_top_srcdir)/scripts
@@ -110,7 +114,8 @@ AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @CAPNG_CFLAGS@ @XTABLES_CFLAGS@ \
                                -DSTATEDIR=\""$(statedir)"\" \
                                -DPLUGINDIR=\""$(build_plugindir)"\" \
                                -DSCRIPTDIR=\""$(build_scriptdir)"\" \
-                               -DSTORAGEDIR=\""$(storagedir)\""
+                               -DSTORAGEDIR=\""$(storagedir)\"" \
+                               -DCONFIGDIR=\""$(configdir)\""
 
 INCLUDES = -I$(builddir)/include -I$(builddir)/src -I$(srcdir)/gdbus
 
@@ -137,7 +142,7 @@ noinst_PROGRAMS += tools/wispr tools/wifi-scan tools/supplicant-test \
                        tools/addr-test tools/web-test tools/resolv-test \
                        tools/dbus-test tools/polkit-test \
                        tools/iptables-test tools/tap-test tools/wpad-test \
-                       tools/stats-tool
+                       tools/stats-tool tools/private-network-test
 
 tools_wispr_SOURCES = $(gweb_sources) tools/wispr.c
 tools_wispr_LDADD = @GLIB_LIBS@ @GNUTLS_LIBS@ -lresolv
@@ -172,6 +177,8 @@ tools_dbus_test_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
 tools_polkit_test_LDADD = @DBUS_LIBS@
 
 tools_iptables_test_LDADD = @GLIB_LIBS@ @XTABLES_LIBS@
+
+tools_private_network_test_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
 endif
 
 test_scripts = test/get-state test/list-profiles test/list-services \
@@ -183,7 +190,8 @@ test_scripts = test/get-state test/list-profiles test/list-services \
                test/test-counter test/set-ipv4-method test/set-ipv6-method \
                test/set-nameservers test/set-domains test/find-service \
                test/get-services test/get-proxy-autoconfig test/set-proxy \
-               test/enable-tethering test/disable-tethering test/backtrace
+               test/enable-tethering test/disable-tethering test/backtrace \
+               test/test-session test/provision-service
 
 if TEST
 testdir = $(pkglibdir)/test
@@ -195,10 +203,10 @@ EXTRA_DIST += $(test_scripts)
 EXTRA_DIST += doc/overview-api.txt doc/behavior-api.txt \
                                doc/ipconfig-api.txt doc/plugin-api.txt \
                                doc/manager-api.txt doc/agent-api.txt \
-                               doc/profile-api.txt doc/service-api.txt \
-                               doc/technology-api.txt doc/counter-api.txt \
-                               doc/advanced-configuration.txt \
-                               doc/config-format.txt
+                               doc/service-api.txt doc/technology-api.txt \
+                               doc/counter-api.txt doc/config-format.txt \
+                               doc/advanced-configuration.txt
+
 
 pkgconfigdir = $(libdir)/pkgconfig