blob: e8b6ca0f735af2412ec585fe7958bc7b65dad00f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
plugindir = $(libdir)/bluetooth/plugins
if HAL
hal_plugins = hal.la
else
hal_plugins =
endif
if NETLINK
netlink_plugins = netlink.la
else
netlink_plugins =
endif
if SERVICEPLUGIN
service_plugins = service.la
else
service_plugins =
endif
plugin_LTLIBRARIES = $(hal_plugins) $(netlink_plugins) $(service_plugins)
noinst_LTLIBRARIES = echo.la storage.la
echo_la_SOURCES = echo.c
storage_la_SOURCES = storage.c
if HAL
hal_la_SOURCES = hal.c
hal_la_LIBADD = @HAL_LIBS@
endif
if NETLINK
netlink_la_SOURCES = netlink.c
netlink_la_LIBADD = @NETLINK_LIBS@
endif
if SERVICEPLUGIN
service_la_SOURCES = service.c
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@ @HAL_CFLAGS@
INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src
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
@$(LN_S) -f .libs/service.so
@$(LN_S) -f .libs/hal.so
clean-local:
@rm -f hal.so
@rm -f service.so
@rm -f network.so
@rm -f serial.so
@rm -f audio.so
@rm -f input.so
|