2 plugindir = $(libdir)/connman/plugins
4 plugin_LTLIBRARIES = ipv4.la
7 plugin_LTLIBRARIES += loopback.la
9 loopback_la_SOURCES = loopback.c
13 plugin_LTLIBRARIES += ethernet.la
15 ethernet_la_SOURCES = ethernet.c inet.h inet.c
19 plugin_LTLIBRARIES += wifi.la
21 wifi_la_SOURCES = wifi.c inet.h inet.c supplicant.h supplicant.c
22 wifi_la_LIBADD = @GDBUS_LIBS@
26 plugin_LTLIBRARIES += wimax.la
28 wimax_la_SOURCES = wimax.c
32 plugin_LTLIBRARIES += bluetooth.la
34 bluetooth_la_SOURCES = bluetooth.c inet.h inet.c
35 bluetooth_la_LIBADD = @GDBUS_LIBS@
39 plugin_LTLIBRARIES += novatel.la
41 novatel_la_SOURCES = novatel.c modem.h modem.c
45 plugin_LTLIBRARIES += huawei.la
47 huawei_la_SOURCES = huawei.c modem.h modem.c
51 plugin_LTLIBRARIES += hso.la
53 hso_la_SOURCES = hso.c modem.h modem.c
56 ipv4_la_SOURCES = ipv4.c inet.h inet.c
59 plugin_LTLIBRARIES += udhcp.la
61 udhcp_la_SOURCES = udhcp.c inet.h inet.c task.h task.c
62 udhcp_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DUDHCPC=\"@UDHCPC@\" \
63 -DSTATEDIR=\""$(statedir)"\" -DSCRIPTDIR=\""$(scriptdir)"\"
67 plugin_LTLIBRARIES += dhclient.la
69 dhclient_la_SOURCES = dhclient.c inet.h inet.c
70 dhclient_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DDHCLIENT=\"@DHCLIENT@\" \
71 -DSTATEDIR=\""$(statedir)"\" -DSCRIPTDIR=\""$(scriptdir)"\"
75 plugin_LTLIBRARIES += pppd.la
77 pppd_la_SOURCES = pppd.c
78 pppd_la_CFLAGS = @GLIB_CFLAGS@ -DPPPD=\"@PPPD@\"
82 plugin_LTLIBRARIES += resolvconf.la
84 resolvconf_la_SOURCES = resolvconf.c
85 resolvconf_la_CFLAGS = @GLIB_CFLAGS@ -DRESOLVCONF=\"@RESOLVCONF@\"
89 plugin_LTLIBRARIES += dnsproxy.la
91 dnsproxy_la_SOURCES = dnsproxy.c
95 plugin_LTLIBRARIES += polkit.la
97 polkit_la_SOURCES = polkit.c
98 polkit_la_LIBADD = @POLKIT_LIBS@ @GLIB_LIBS@
99 polkit_la_CFLAGS = @GLIB_CFLAGS@ @POLKIT_CFLAGS@
101 policydir = $(datadir)/PolicyKit/policy
103 policy_DATA = connman.policy
107 plugin_LTLIBRARIES += fake.la
109 fake_la_SOURCES = fake.c
112 AM_LDFLAGS = -no-undefined -module -avoid-version \
113 -export-symbols-regex connman_plugin_desc
115 statedir = $(localstatedir)/run/connman
118 scriptdir = $(abs_top_srcdir)/scripts
120 scriptdir = $(libdir)/connman/scripts
123 AM_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@
125 INCLUDES = -I$(top_builddir)/include
127 EXTRA_DIST = connman.policy
129 MAINTAINERCLEANFILES = Makefile.in