Set the network roaming toggle according to oFono status
[framework/connectivity/connman.git] / Makefile.am
index aced7f1..41fffae 100644 (file)
@@ -15,7 +15,8 @@ noinst_HEADERS = include/driver.h include/element.h include/property.h \
                        include/rtnl.h include/wifi.h include/task.h \
                        include/dbus.h include/rfkill.h include/option.h \
                        include/profile.h include/provider.h include/dhcp.h \
-                       include/utsname.h include/timeserver.h
+                       include/utsname.h include/timeserver.h \
+                       include/location.h
 
 local_headers = $(foreach file,$(include_HEADERS) $(nodist_include_HEADERS) \
                        $(noinst_HEADERS), include/connman/$(notdir $(file)))
@@ -51,7 +52,9 @@ src_connmand_SOURCES = $(gdbus_sources) $(builtin_sources) \
                        src/security.c src/resolver.c src/ipconfig.c \
                        src/ipv4.c src/dhcp.c src/rtnl.c src/inet.c \
                        src/utsname.c src/timeserver.c src/rfkill.c \
-                       src/wifi.c src/storage.c src/dbus.c src/config.c
+                       src/wifi.c src/storage.c src/dbus.c src/config.c \
+                       src/technology.c src/counter.c src/location.c \
+                       src/session.c
 
 if UDEV
 src_connmand_SOURCES += src/udev.c
@@ -87,7 +90,6 @@ endif
 
 AM_CFLAGS = @UDEV_CFLAGS@ @NETLINK_CFLAGS@ @CAPNG_CFLAGS@ \
                        @DBUS_CFLAGS@ @GLIB_CFLAGS@ $(builtin_cflags) \
-                               @GLIB_CFLAGS@ $(builtin_cflags) \
                                -DCONNMAN_PLUGIN_BUILTIN \
                                -DSTATEDIR=\""$(statedir)"\" \
                                -DPLUGINDIR=\""$(build_plugindir)"\" \
@@ -113,23 +115,38 @@ client_cm_LDADD = @DBUS_LIBS@
 endif
 
 if TOOLS
-noinst_PROGRAMS += tools/wifi-scan tools/addr-test tools/tap-test \
-                                                       tools/polkit-test
+noinst_PROGRAMS += tools/wifi-scan tools/supplicant-test tools/dbus-test \
+                       tools/addr-test tools/tap-test tools/resolv-test \
+                                       tools/polkit-test tools/portal-test
 
 tools_wifi_scan_LDADD = @GLIB_LIBS@ @NETLINK_LIBS@
 
+tools_supplicant_test_SOURCES = $(gdbus_sources) tools/supplicant-test.c \
+                       tools/supplicant-dbus.h tools/supplicant-dbus.c \
+                       tools/supplicant.h tools/supplicant.c
+tools_supplicant_test_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
+
+tools_dbus_test_SOURCES = $(gdbus_sources) tools/dbus-test.c
+tools_dbus_test_LDADD = @GLIB_LIBS@ @DBUS_LIBS@
+
+tools_resolv_test_LDADD = -lresolv
+
 tools_polkit_test_LDADD = @DBUS_LIBS@
+
+tools_portal_test_LDADD = @GLIB_LIBS@
 endif
 
 test_scripts = test/get-state test/list-profiles test/list-services \
                test/connect-service test/monitor-services \
-               test/list-devices test/enable-device \
-               test/disable-device test/start-scanning test/list-networks \
+               test/list-devices test/enable-device test/disable-device \
+               test/start-scanning test/list-networks \
                test/set-passphrase test/set-address test/test-profile \
                test/simple-agent test/show-introspection test/test-compat \
                test/test-manager test/test-connman test/monitor-connman \
-               test/debug-connman test/connect-vpn \
-               test/disconnect-vpn test/list-providers
+               test/connect-vpn test/disconnect-vpn test/list-providers \
+               test/monitor-manager test/test-counter test/set-ip-method \
+               test/set-nameservers test/set-domains test/find-service \
+               test/get-services
 
 if TEST
 testdir = $(pkglibdir)/test
@@ -142,8 +159,11 @@ 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/device-lowlevel-api.txt \
-                               doc/network-lowlevel-api.txt
+                               doc/network-lowlevel-api.txt \
+                               doc/advanced-configuration.txt \
+                               doc/config-format.txt
 
 pkgconfigdir = $(libdir)/pkgconfig
 
@@ -161,11 +181,12 @@ DISTCHECK_CONFIGURE_FLAGS = --disable-gtk-doc \
                                --enable-resolvconf \
                                --enable-dnsproxy \
                                --enable-google \
-                               --enable-moblin \
-                               --enable-hso \
-                               --enable-mbm \
+                               --enable-meego \
                                --enable-udev \
                                --enable-client \
+                               --enable-portal \
+                               --enable-hh2serial-gps \
+                               --enable-ntpd \
                                --enable-tools
 
 DISTCLEANFILES = $(pkgconfig_DATA)
@@ -206,5 +227,5 @@ include/connman/%.h: include/%.h
        $(AM_V_at)$(MKDIR_P) include/connman
        $(AM_V_GEN)$(LN_S) $(abs_top_srcdir)/$< $@
 
-clean-local: include/connman
-       @$(RM) -r $<
+clean-local:
+       @$(RM) -rf include/connman