blob: c80f4d48c651c52c25219a7b05d94a7f937d71b6 (
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
|
plugin_cflags = -fvisibility=hidden -I$(srcdir)/gdbus \
@DBUS_CFLAGS@ @GLIB_CFLAGS@
plugin_ldflags = -no-undefined -module -avoid-version
if NFCTYPE1
if NFCTYPE1_BUILTIN
builtin_modules += nfctype1
builtin_sources += plugins/nfctype1.c
else
plugin_LTLIBRARIES += plugins/nfctype1.la
plugin_objects += $(plugins_nfctype1_la_OBJECTS)
plugins_nfctype1_la_CFLAGS = $(plugin_cflags)
plugins_nfctype1_la_LDFLAGS = $(plugin_ldflags)
endif
endif
if NFCTYPE2
if NFCTYPE2_BUILTIN
builtin_modules += nfctype2
builtin_sources += plugins/nfctype2.c plugins/mifare.c
else
plugin_LTLIBRARIES += plugins/nfctype2.la
plugin_objects += $(plugins_nfctype2_la_OBJECTS)
plugins_nfctype2_la_SOURCES = plugins/nfctype2.c plugins/mifare.c
plugins_nfctype2_la_CFLAGS = $(plugin_cflags)
plugins_nfctype2_la_LDFLAGS = $(plugin_ldflags)
endif
endif
if NFCTYPE3
if NFCTYPE3_BUILTIN
builtin_modules += nfctype3
builtin_sources += plugins/nfctype3.c
else
plugin_LTLIBRARIES += plugins/nfctype3.la
plugin_objects += $(plugins_nfctype3_la_OBJECTS)
plugins_nfctype3_la_CFLAGS = $(plugin_cflags)
plugins_nfctype3_la_LDFLAGS = $(plugin_ldflags)
endif
endif
if NFCTYPE4
if NFCTYPE4_BUILTIN
builtin_modules += nfctype4
builtin_sources += plugins/nfctype4.c
else
plugin_LTLIBRARIES += plugins/nfctype4.la
plugin_objects += $(plugins_nfctype4_la_OBJECTS)
plugins_nfctype4_la_CFLAGS = $(plugin_cflags)
plugins_nfctype4_la_LDFLAGS = $(plugin_ldflags)
endif
endif
if P2P
if P2P_BUILTIN
builtin_modules += p2p
builtin_sources += plugins/p2p.c plugins/npp.c plugins/snep.c \
plugins/handover.c plugins/p2p.h
else
plugin_LTLIBRARIES += plugins/p2p.la
plugin_objects += $(plugins_p2p_la_OBJECTS)
plugins_p2p_la_SOURCES = plugins/p2p.c plugins/npp.c plugins/snep.c \
plugins/handover.c plugins/p2p.h
plugins_p2p_la_CFLAGS = $(plugin_cflags)
plugins_p2p_la_LDFLAGS = $(plugin_ldflags)
endif
endif
|