Print properties with ID_MODEM prefix
[connman] / plugins / Makefile.am
index 44d510f..e737625 100644 (file)
@@ -1,23 +1,47 @@
 
 plugindir = $(libdir)/connman/plugins
 
-plugin_LTLIBRARIES = loopback.la netdev.la ethernet.la wifi.la \
-                       bluetooth.la hso.la udhcp.la dhclient.la ipv4.la \
+plugin_LTLIBRARIES = ethernet.la bluetooth.la \
+                               ipv4.la udhcp.la dhclient.la \
                                dnsproxy.la resolvconf.la resolvfile.la
 
-loopback_la_SOURCES = loopback.c
+if LOOPBACK
+plugin_LTLIBRARIES += loopback.la
 
-netdev_la_SOURCES = netdev.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
+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
+
+if HUAWEI
+plugin_LTLIBRARIES += huawei.la
+
+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
 
 udhcp_la_SOURCES = udhcp.c inet.h inet.c task.h task.c
 udhcp_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DUDHCPC=\"@UDHCPC@\" \
@@ -27,7 +51,11 @@ dhclient_la_SOURCES = dhclient.c inet.h inet.c
 dhclient_la_CFLAGS = @GLIB_CFLAGS@ @GDBUS_CFLAGS@ -DDHCLIENT=\"@DHCLIENT@\" \
                -DSTATEDIR=\""$(statedir)"\" -DSCRIPTDIR=\""$(scriptdir)"\"
 
-ipv4_la_SOURCES = ipv4.c
+if PPPD
+plugin_LTLIBRARIES += pppd.la
+
+pppd_la_SOURCES = pppd.c
+endif
 
 dnsproxy_la_SOURCES = dnsproxy.c