X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=plugins%2FMakefile.am;h=f2b280c2ae2285eb929c42c5bb153615849a266e;hb=d8d3470ebc609dd702a1bce7b1ab07b105f9e4ca;hp=8e5e8585c4021206605d82b48081dc9ef9bd793a;hpb=987077b340cf7b3941d8162f7a41125df1f8890b;p=connman diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 8e5e858..f2b280c 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -1,26 +1,98 @@ plugindir = $(libdir)/connman/plugins -plugin_LTLIBRARIES = hal.la 80203.la 80211.la bluetooth.la \ - dhclient.la resolvconf.la +plugin_LTLIBRARIES = ethernet.la bluetooth.la ipv4.la dnsproxy.la -hal_la_SOURCES = hal.c -hal_la_LIBADD = @HAL_LIBS@ -hal_la_CFLAGS = @GLIB_CFLAGS@ @HAL_CFLAGS@ +if LOOPBACK +plugin_LTLIBRARIES += loopback.la -80203_la_SOURCES = 80203.c +loopback_la_SOURCES = loopback.c +endif + +ethernet_la_SOURCES = ethernet.c inet.h inet.c + +if WIFI +plugin_LTLIBRARIES += wifi.la + +wifi_la_SOURCES = wifi.c inet.h inet.c supplicant.h supplicant.c +wifi_la_LIBADD = @GDBUS_LIBS@ +endif + +bluetooth_la_SOURCES = bluetooth.c inet.h inet.c +bluetooth_la_LIBADD = @GDBUS_LIBS@ + +if NOVATEL +plugin_LTLIBRARIES += novatel.la + +novatel_la_SOURCES = novatel.c modem.h modem.c +endif -80211_la_SOURCES = 80211.c supplicant.h supplicant.c +if HUAWEI +plugin_LTLIBRARIES += huawei.la -bluetooth_la_SOURCES = bluetooth.c +huawei_la_SOURCES = huawei.c modem.h modem.c +endif + +if HSO +plugin_LTLIBRARIES += hso.la + +hso_la_SOURCES = hso.c modem.h modem.c +endif + +ipv4_la_SOURCES = ipv4.c inet.h inet.c -dhclient_la_SOURCES = dhclient.c -dhclient_la_CFLAGS = @GDBUS_CFLAGS@ -DDHCLIENT=\"@DHCLIENT@\" \ +if UDHCP +plugin_LTLIBRARIES += udhcp.la + +udhcp_la_SOURCES = udhcp.c inet.h inet.c task.h task.c +udhcp_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DUDHCPC=\"@UDHCPC@\" \ -DSTATEDIR=\""$(statedir)"\" -DSCRIPTDIR=\""$(scriptdir)"\" +endif + +if DHCLIENT +plugin_LTLIBRARIES += dhclient.la + +dhclient_la_SOURCES = dhclient.c inet.h inet.c +dhclient_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DDHCLIENT=\"@DHCLIENT@\" \ + -DSTATEDIR=\""$(statedir)"\" -DSCRIPTDIR=\""$(scriptdir)"\" +endif + +if PPPD +plugin_LTLIBRARIES += pppd.la + +pppd_la_SOURCES = pppd.c +pppd_la_CFLAGS = @GLIB_CFLAGS@ -DPPPD=\"@PPPD@\" +endif + +dnsproxy_la_SOURCES = dnsproxy.c + +if RESOLVCONF +plugin_LTLIBRARIES += resolvconf.la resolvconf_la_SOURCES = resolvconf.c +resolvconf_la_CFLAGS = @GLIB_CFLAGS@ -DRESOLVCONF=\"@RESOLVCONF@\" +endif + +if POLKIT +plugin_LTLIBRARIES += polkit.la -AM_LDFLAGS = -module -avoid-version -export-symbols-regex connman_plugin_desc +polkit_la_SOURCES = polkit.c +polkit_la_LIBADD = @POLKIT_LIBS@ @GLIB_LIBS@ +polkit_la_CFLAGS = @GLIB_CFLAGS@ @POLKIT_CFLAGS@ + +policydir = $(datadir)/PolicyKit/policy + +policy_DATA = connman.policy +endif + +if FAKE +plugin_LTLIBRARIES += fake.la + +fake_la_SOURCES = fake.c +endif + +AM_LDFLAGS = -no-undefined -module -avoid-version \ + -export-symbols-regex connman_plugin_desc statedir = $(localstatedir)/run/connman @@ -30,8 +102,10 @@ else scriptdir = $(libdir)/connman/scripts endif -AM_CFLAGS = @GDBUS_CFLAGS@ +AM_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ INCLUDES = -I$(top_builddir)/include +EXTRA_DIST = connman.policy + MAINTAINERCLEANFILES = Makefile.in