summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-04-27 21:48:13 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-04-27 21:48:13 -0700
commit5e8e434393bdb77bf634c99c9d18b4e45be8fd82 (patch)
tree8a8828292ca7e9500990268e549f532a30f79428
parente3fafb1cb55307f6c5f118872d72abdd03011cbd (diff)
downloadconnman-5e8e434393bdb77bf634c99c9d18b4e45be8fd82.tar.gz
connman-5e8e434393bdb77bf634c99c9d18b4e45be8fd82.tar.bz2
connman-5e8e434393bdb77bf634c99c9d18b4e45be8fd82.zip
Choose to built-in loopback, ethernet and dnsproxy plugins
-rw-r--r--plugins/Makefile.am13
1 files changed, 7 insertions, 6 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 7c9d0544..151adabd 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -7,13 +7,13 @@ builtin_modules =
builtin_sources =
if LOOPBACK
-plugin_LTLIBRARIES += loopback.la
+builtin_modules += loopback
+builtin_sources += loopback.c
endif
if ETHERNET
-plugin_LTLIBRARIES += ethernet.la
-
-ethernet_la_SOURCES = ethernet.c inet.h inet.c
+builtin_modules += ethernet
+builtin_sources += ethernet.c inet.h inet.c
endif
if WIFI
@@ -83,7 +83,8 @@ resolvconf_la_CFLAGS = $(AM_CFLAGS) -DRESOLVCONF=\"@RESOLVCONF@\"
endif
if DNSPROXY
-plugin_LTLIBRARIES += dnsproxy.la
+builtin_modules += dnsproxy
+builtin_sources += dnsproxy.c
endif
if POLKIT
@@ -148,7 +149,7 @@ MAINTAINERCLEANFILES = Makefile.in
builtin.h:
echo "" > $@
list='$(builtin_modules)'; for i in $$list; \
- do echo "extern struct connman_plugin_desc __connman_builtin_$$i;" > $@; done
+ do echo "extern struct connman_plugin_desc __connman_builtin_$$i;" >> $@; done
echo "static struct connman_plugin_desc *__connman_builtin[] = {" >> $@
list='$(builtin_modules)'; for i in $$list; \
do echo "&__connman_builtin_$$i," >> $@; done