+ethernet_la_SOURCES = ethernet.c inet.h inet.c
+endif
+
+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
+
+if BLUETOOTH
+plugin_LTLIBRARIES += bluetooth.la
+
+bluetooth_la_SOURCES = bluetooth.c inet.h inet.c
+bluetooth_la_LIBADD = @GDBUS_LIBS@
+endif
+
+if MODEMMGR
+plugin_LTLIBRARIES += modemmgr.la
+
+modemmgr_la_LIBADD = @GDBUS_LIBS@
+endif
+
+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
+
+if UDHCP
+plugin_LTLIBRARIES += udhcp.la