2 plugindir = $(libdir)/connman/plugins
4 plugin_LTLIBRARIES = ethernet.la bluetooth.la \
5 ipv4.la udhcp.la dhclient.la \
6 dnsproxy.la resolvconf.la resolvfile.la
9 plugin_LTLIBRARIES += loopback.la
11 loopback_la_SOURCES = loopback.c
14 ethernet_la_SOURCES = ethernet.c inet.h inet.c
17 plugin_LTLIBRARIES += wifi.la
19 wifi_la_SOURCES = wifi.c inet.h inet.c supplicant.h supplicant.c
20 wifi_la_LIBADD = @GDBUS_LIBS@
23 bluetooth_la_SOURCES = bluetooth.c inet.h inet.c
24 bluetooth_la_LIBADD = @GDBUS_LIBS@
27 plugin_LTLIBRARIES += huawei.la
29 huawei_la_SOURCES = huawei.c modem.h modem.
33 plugin_LTLIBRARIES += hso.la
35 hso_la_SOURCES = hso.c modem.h modem.c
38 ipv4_la_SOURCES = ipv4.c inet.h inet.c
40 udhcp_la_SOURCES = udhcp.c inet.h inet.c task.h task.c
41 udhcp_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DUDHCPC=\"@UDHCPC@\" \
42 -DSTATEDIR=\""$(statedir)"\" -DSCRIPTDIR=\""$(scriptdir)"\"
44 dhclient_la_SOURCES = dhclient.c inet.h inet.c
45 dhclient_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DDHCLIENT=\"@DHCLIENT@\" \
46 -DSTATEDIR=\""$(statedir)"\" -DSCRIPTDIR=\""$(scriptdir)"\"
49 plugin_LTLIBRARIES += pppd.la
51 pppd_la_SOURCES = pppd.c
54 dnsproxy_la_SOURCES = dnsproxy.c
56 resolvconf_la_SOURCES = resolvconf.c
57 resolvconf_la_CFLAGS = @GLIB_CFLAGS@ -DRESOLVCONF=\"@RESOLVCONF@\"
59 resolvfile_la_SOURCES = resolvfile.c
62 plugin_LTLIBRARIES += polkit.la
64 polkit_la_SOURCES = polkit.c
65 polkit_la_LIBADD = @POLKIT_LIBS@ @GLIB_LIBS@
66 polkit_la_CFLAGS = @GLIB_CFLAGS@ @POLKIT_CFLAGS@
68 policydir = $(datadir)/PolicyKit/policy
70 policy_DATA = connman.policy
74 plugin_LTLIBRARIES += fake.la
76 fake_la_SOURCES = fake.c
79 AM_LDFLAGS = -no-undefined -module -avoid-version \
80 -export-symbols-regex connman_plugin_desc
82 statedir = $(localstatedir)/run/connman
85 scriptdir = $(abs_top_srcdir)/scripts
87 scriptdir = $(libdir)/connman/scripts
90 AM_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@
92 INCLUDES = -I$(top_builddir)/include
94 EXTRA_DIST = connman.policy
96 MAINTAINERCLEANFILES = Makefile.in