Imported Upstream connman version 1.38
[platform/upstream/connman.git] / Makefile.am
index d502be7..14d6ca1 100644 (file)
@@ -59,7 +59,6 @@ stats_sources = src/nostats.c
 endif
 
 shared_sources = src/shared/util.h src/shared/util.c \
-               src/shared/netlink.h src/shared/netlink.c \
                src/shared/arp.h src/shared/arp.c
 
 if DATAFILES
@@ -181,7 +180,7 @@ endif
 
 if NFTABLES
 src_connmand_SOURCES += src/firewall-nftables.c
-src_connmand_LDADD +=  @NFTABLES_LIBS@
+src_connmand_LDADD += @NFTABLES_LIBS@ @LIBMNL_LIBS@
 endif
 
 if VPN
@@ -222,7 +221,7 @@ vpn_connman_vpnd_SOURCES = $(gdhcp_sources) $(builtin_vpn_sources) \
                        src/inotify.c src/firewall-iptables.c src/ipv6pd.c src/peer.c \
                        src/peer_service.c src/machine.c src/util.c \
                        vpn/vpn-agent.c vpn/vpn-agent.h \
-                       vpn/vpn-config.c src/acd.c
+                       vpn/vpn-config.c vpn/vpn-settings.c src/acd.c
 
 if TIZEN_EXT_WIFI_MESH
 vpn_connman_vpnd_SOURCES += src/mesh.c src/mesh-netlink.c
@@ -337,8 +336,8 @@ src_connmand_CFLAGS += @XTABLES_CFLAGS@
 endif
 
 if NFTABLES
-AM_CFLAGS += @NFTABLES_CFLAGS@
-src_connmand_CFLAGS += @NFTABLES_CFLAGS@
+AM_CFLAGS += @NFTABLES_CFLAGS@ @LIBMNL_CFLAGS@
+src_connmand_CFLAGS += @NFTABLES_CFLAGS@ @LIBMNL_CFLAGS@
 endif
 
 if TIZEN_EXT_WIFI_MESH
@@ -406,7 +405,7 @@ noinst_PROGRAMS += tools/supplicant-test \
                        tools/tap-test tools/wpad-test \
                        tools/stats-tool tools/private-network-test \
                        tools/session-test \
-                       tools/dnsproxy-test tools/netlink-test
+                       tools/dnsproxy-test
 
 tools_supplicant_test_SOURCES = tools/supplicant-test.c \
                        tools/supplicant-dbus.h tools/supplicant-dbus.c \
@@ -479,10 +478,6 @@ endif
 tools_dnsproxy_test_SOURCES = tools/dnsproxy-test.c
 tools_dnsproxy_test_LDADD = @GLIB_LIBS@
 
-tools_netlink_test_SOURCES = src/shared/util.c src/shared/netlink.c \
-               tools/netlink-test.c
-tools_netlink_test_LDADD = @GLIB_LIBS@
-
 endif
 
 test_scripts = test/get-state test/list-services \