summaryrefslogtreecommitdiffstats
path: root/plugins/Makefile.am
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-07-26 19:00:53 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-07-26 19:00:53 +0200
commitd6ae1c3f777832f8e32702f81fe64e33a1396928 (patch)
tree159a1e59f3929c9d795dbd1f3edd84d9dccba048 /plugins/Makefile.am
parentb8e5fea8d31fbcd3d1c044385f8217dbf39892bb (diff)
parent3382af9114a9b2e657c7ddd0a5511edda6a37a90 (diff)
Import bluez-utils-3.36 revision history
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r--plugins/Makefile.am43
1 files changed, 43 insertions, 0 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
new file mode 100644
index 00000000..a8e833d0
--- /dev/null
+++ b/plugins/Makefile.am
@@ -0,0 +1,43 @@
+
+plugindir = $(libdir)/bluetooth/plugins
+
+if NETLINK
+netlink_plugins = netlink.la
+else
+netlink_plugins =
+endif
+
+plugin_LTLIBRARIES = $(netlink_plugins)
+
+noinst_LTLIBRARIES = echo.la storage.la
+
+echo_la_SOURCES = echo.c
+
+storage_la_SOURCES = storage.c
+
+if NETLINK
+netlink_la_SOURCES = netlink.c
+
+netlink_la_LIBADD = @NETLINK_LIBS@
+endif
+
+AM_LDFLAGS = -module -avoid-version -no-undefined \
+ -export-symbols-regex bluetooth_plugin_desc
+
+AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ @NETLINK_CFLAGS@
+
+INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/hcid
+
+MAINTAINERCLEANFILES = Makefile.in
+
+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