Makefile.am 2.84 KB
Newer Older
1 2
SUBDIRS = pn53x-tamashell-scripts

3 4
bin_PROGRAMS = \
		nfc-anticol \
5 6
		nfc-dep-initiator \
		nfc-dep-target \
7
		nfc-emulate-forum-tag2 \
8
		nfc-emulate-tag \
9
		nfc-emulate-uid \
10
		nfc-mfsetuid \
11 12
		nfc-poll \
		nfc-relay \
13
		pn53x-diagnose \
14 15 16 17
		pn53x-sam

if POSIX_ONLY_EXAMPLES_ENABLED
bin_PROGRAMS += \
18
		pn53x-tamashell
19
endif
20

21
check_PROGRAMS = \
22 23
		quick_start_example1 \
		quick_start_example2
24

25
# set the include path found by configure
26
AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS)
27

Romuald Conty's avatar
Romuald Conty committed
28
AM_CFLAGS = -I$(top_srcdir)/libnfc -I$(top_srcdir)
29

30
nfc_poll_SOURCES = nfc-poll.c
31
nfc_poll_LDADD = $(top_builddir)/libnfc/libnfc.la \
32
		 $(top_builddir)/utils/libnfcutils.la
33

34
nfc_anticol_SOURCES = nfc-anticol.c
35
nfc_anticol_LDADD = $(top_builddir)/libnfc/libnfc.la \
36
		    $(top_builddir)/utils/libnfcutils.la
37

38
nfc_relay_SOURCES = nfc-relay.c
39
nfc_relay_LDADD = $(top_builddir)/libnfc/libnfc.la \
40
		  $(top_builddir)/utils/libnfcutils.la
41

42 43 44 45
nfc_emulate_forum_tag2_SOURCES = nfc-emulate-forum-tag2.c
nfc_emulate_forum_tag2_LDADD = $(top_builddir)/libnfc/libnfc.la \
			$(top_builddir)/utils/libnfcutils.la

46 47
nfc_emulate_tag_SOURCES = nfc-emulate-tag.c
nfc_emulate_tag_LDADD = $(top_builddir)/libnfc/libnfc.la \
48
			$(top_builddir)/utils/libnfcutils.la
49

50 51
nfc_emulate_uid_SOURCES = nfc-emulate-uid.c
nfc_emulate_uid_LDADD = $(top_builddir)/libnfc/libnfc.la \
52
		        $(top_builddir)/utils/libnfcutils.la
53

54 55
nfc_dep_target_SOURCES = nfc-dep-target.c
nfc_dep_target_LDADD = $(top_builddir)/libnfc/libnfc.la \
56
		       $(top_builddir)/utils/libnfcutils.la
57

58 59
nfc_dep_initiator_SOURCES = nfc-dep-initiator.c
nfc_dep_initiator_LDADD = $(top_builddir)/libnfc/libnfc.la \
60
			  $(top_builddir)/utils/libnfcutils.la
61

62 63 64 65
nfc_mfsetuid_SOURCES = nfc-mfsetuid.c
nfc_mfsetuid_LDADD = $(top_builddir)/libnfc/libnfc.la \
			  $(top_builddir)/utils/libnfcutils.la

66 67
pn53x_diagnose_SOURCES = pn53x-diagnose.c
pn53x_diagnose_LDADD = $(top_builddir)/libnfc/libnfc.la \
68
		       $(top_builddir)/utils/libnfcutils.la
69

70 71
pn53x_sam_SOURCES = pn53x-sam.c
pn53x_sam_LDADD = $(top_builddir)/libnfc/libnfc.la \
72
		  $(top_builddir)/utils/libnfcutils.la
73

74 75
pn53x_tamashell_SOURCES = pn53x-tamashell.c
pn53x_tamashell_LDADD = $(top_builddir)/libnfc/libnfc.la \
76
		        $(top_builddir)/utils/libnfcutils.la
77
pn53x_tamashell_LDFLAGS = @READLINE_LIBS@
78

79 80 81 82
quick_start_example1_SOURCES = doc/quick_start_example1.c
quick_start_example1_LDADD =  $(top_builddir)/libnfc/libnfc.la \
		  $(top_builddir)/utils/libnfcutils.la

83 84 85 86
quick_start_example2_SOURCES = doc/quick_start_example2.c
quick_start_example2_LDADD =  $(top_builddir)/libnfc/libnfc.la \
		  $(top_builddir)/utils/libnfcutils.la

87

88 89
dist_man_MANS = \
		nfc-anticol.1 \
90 91
		nfc-dep-initiator.1 \
		nfc-dep-target.1 \
92
		nfc-emulate-tag.1 \
93
		nfc-emulate-uid.1 \
94
		nfc-poll.1 \
95
		nfc-relay.1 \
96
		nfc-mfsetuid.1 \
97
		pn53x-diagnose.1 \
98
		pn53x-sam.1 \
99 100
		pn53x-tamashell.1 \
		nfc-emulate-forum-tag2.1
101

102
EXTRA_DIST = CMakeLists.txt