diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-08-09 14:05:57 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-08-09 14:05:57 -0700 |
commit | 33f51f71f9ce9af5ba3bf2fdce3310645e24f2f2 (patch) | |
tree | ea2551f1c0b14f00c02ba0a6c9de4af3d9dd6106 /plugins | |
parent | 6c7c4ec6b0cb39c7b5d1ed13a4dcf4c216517a73 (diff) |
Build the builtin plugins along with the daemon
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Makefile.am | 53 |
1 files changed, 1 insertions, 52 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 9d9f970e..3895e276 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -3,39 +3,12 @@ plugindir = $(libdir)/bluetooth/plugins plugin_LTLIBRARIES = -builtin_modules = -builtin_sources = -builtin_cflags = - -if SERVICEPLUGIN -builtin_modules += service -builtin_sources += service.c -endif - -builtin_modules += hciops -builtin_sources += hciops.c - if NETLINK plugin_LTLIBRARIES += netlink.la netlink_la_LIBADD = @NETLINK_LIBS@ endif -builtin_modules += hal -builtin_sources += hal.c - -builtin_modules += storage -builtin_sources += storage.c - -noinst_LTLIBRARIES = libbuiltin.la echo.la - -libbuiltin_la_SOURCES = $(builtin_sources) -libbuiltin_la_LDFLAGS = -libbuiltin_la_CFLAGS = $(AM_CFLAGS) \ - $(builtin_cflags) -DBLUETOOTH_PLUGIN_BUILTIN - -BUILT_SOURCES = builtin.h - -nodist_libbuiltin_la_SOURCES = $(BUILT_SOURCES) +noinst_LTLIBRARIES = echo.la AM_LDFLAGS = -module -avoid-version -no-undefined @@ -44,28 +17,4 @@ AM_CFLAGS = -fvisibility=hidden @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ \ INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src -CLEANFILES = $(BUILT_SOURCES) - MAINTAINERCLEANFILES = Makefile.in - -builtin.h: - echo "" > $@ - list='$(builtin_modules)'; for i in $$list; \ - do echo "extern struct bluetooth_plugin_desc __bluetooth_builtin_$$i;" >> $@; done - echo "" >> $@ - echo "static struct bluetooth_plugin_desc *__bluetooth_builtin[] = {" >> $@ - list='$(builtin_modules)'; for i in $$list; \ - do echo "&__bluetooth_builtin_$$i," >> $@; done - echo "NULL };" >> $@ - -all-local: - @$(LN_S) -f $(top_srcdir)/input/.libs/input.so - @$(LN_S) -f $(top_srcdir)/audio/.libs/audio.so - @$(LN_S) -f $(top_srcdir)/serial/.libs/serial.so - @$(LN_S) -f $(top_srcdir)/network/.libs/network.so - -clean-local: - @rm -f network.so - @rm -f serial.so - @rm -f audio.so - @rm -f input.so |