2 plugindir = $(libdir)/connman/plugins
4 plugin_LTLIBRARIES = rtnllink.la ethernet.la wifi.la bluetooth.la \
5 dhclient.la ipv4.la resolvconf.la resolvfile.la
7 rtnllink_la_SOURCES = rtnllink.c
9 ethernet_la_SOURCES = ethernet.c
11 wifi_la_SOURCES = wifi.c supplicant.h supplicant.c
13 bluetooth_la_SOURCES = bluetooth.c
14 bluetooth_la_LIBADD = @GDBUS_LIBS@
16 dhclient_la_SOURCES = dhclient.c
17 dhclient_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DDHCLIENT=\"@DHCLIENT@\" \
18 -DSTATEDIR=\""$(statedir)"\" -DSCRIPTDIR=\""$(scriptdir)"\"
20 ipv4_la_SOURCES = ipv4.c
22 resolvconf_la_SOURCES = resolvconf.c
24 resolvfile_la_SOURCES = resolvfile.c
27 plugin_LTLIBRARIES += hal.la
29 hal_la_SOURCES = hal.c
30 hal_la_LIBADD = @HAL_LIBS@
31 hal_la_CFLAGS = @GLIB_CFLAGS@ @HAL_CFLAGS@
35 plugin_LTLIBRARIES += polkit.la
37 polkit_la_SOURCES = polkit.c
38 polkit_la_LIBADD = @POLKIT_LIBS@ @GLIB_LIBS@
39 polkit_la_CFLAGS = @GLIB_CFLAGS@ @POLKIT_CFLAGS@
42 AM_LDFLAGS = -no-undefined -module -avoid-version \
43 -export-symbols-regex connman_plugin_desc
45 statedir = $(localstatedir)/run/connman
48 scriptdir = $(abs_top_srcdir)/scripts
50 scriptdir = $(libdir)/connman/scripts
53 AM_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@
55 INCLUDES = -I$(top_builddir)/include
57 MAINTAINERCLEANFILES = Makefile.in