2009-06-11 10:30:49 +02:00
|
|
|
enable_pcsc_lite = @enable_pcsc_lite@
|
|
|
|
|
2009-09-03 15:47:26 +02:00
|
|
|
bin_PROGRAMS = nfc-anticol nfc-list nfc-mftool nfc-mfultool nfc-relay nfc-emulate nfcip-target nfcip-initiator
|
2009-05-04 15:02:29 +02:00
|
|
|
|
|
|
|
# set the include path found by configure
|
|
|
|
INCLUDES= $(all_includes)
|
|
|
|
|
2009-09-08 12:25:59 +02:00
|
|
|
nfc_devices_headers = dev_arygon.h dev_pn531.h dev_pn533.h
|
|
|
|
nfc_examples_headers = mifaretag.h mifareultag.h
|
|
|
|
nfcinclude_HEADERS = libnfc.h bitutils.h defines.h types.h rs232.h devices.h messages.h
|
|
|
|
nfcinclude_HEADERS += $(nfc_devices_headers)
|
|
|
|
nfcinclude_HEADERS += $(nfc_examples_headers)
|
2009-05-04 15:02:29 +02:00
|
|
|
nfcincludedir = $(includedir)/libnfc
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libnfc.la
|
2009-06-11 13:57:36 +02:00
|
|
|
libnfc_la_SOURCES = bitutils.c libnfc.c rs232.c dev_arygon.c dev_pn531.c dev_pn533.c
|
|
|
|
libnfc_la_CFLAGS = @LIBUSB_CFLAGS@
|
|
|
|
libnfc_la_LIBADD = @LIBUSB_LIBS@
|
2009-06-11 10:30:49 +02:00
|
|
|
|
|
|
|
if PCSC_LITE_ENABLED
|
2009-06-11 13:57:36 +02:00
|
|
|
nfcinclude_HEADERS += dev_acr122.h
|
|
|
|
libnfc_la_CFLAGS += @LIBPCSCLITE_CFLAGS@ -DHAVE_PCSC_LITE
|
|
|
|
libnfc_la_SOURCES += dev_acr122.c
|
|
|
|
libnfc_la_LIBADD += @LIBPCSCLITE_LIBS@
|
2009-06-11 10:30:49 +02:00
|
|
|
endif
|
2009-05-04 15:02:29 +02:00
|
|
|
|
2009-05-04 15:08:42 +02:00
|
|
|
nfc_anticol_SOURCES = anticol.c
|
|
|
|
nfc_anticol_LDADD = libnfc.la
|
2009-05-04 15:02:29 +02:00
|
|
|
|
2009-05-04 15:08:42 +02:00
|
|
|
nfc_list_SOURCES = list.c
|
|
|
|
nfc_list_LDADD = libnfc.la
|
2009-05-04 15:02:29 +02:00
|
|
|
|
2009-07-24 17:35:02 +02:00
|
|
|
nfc_mfultool_SOURCES = mfultool.c
|
|
|
|
nfc_mfultool_LDADD = libnfc.la
|
|
|
|
|
2009-05-04 15:08:42 +02:00
|
|
|
nfc_mftool_SOURCES = mftool.c
|
|
|
|
nfc_mftool_LDADD = libnfc.la
|
2009-05-04 15:02:29 +02:00
|
|
|
|
2009-05-04 15:08:42 +02:00
|
|
|
nfc_relay_SOURCES = relay.c
|
|
|
|
nfc_relay_LDADD = libnfc.la
|
2009-05-04 15:02:29 +02:00
|
|
|
|
2009-05-04 15:08:42 +02:00
|
|
|
nfc_emulate_SOURCES = emulate.c
|
|
|
|
nfc_emulate_LDADD = libnfc.la
|
2009-06-29 08:55:17 +02:00
|
|
|
|
2009-09-03 15:47:26 +02:00
|
|
|
nfcip_target_SOURCES = target.c
|
|
|
|
nfcip_target_LDADD = libnfc.la
|
|
|
|
|
|
|
|
nfcip_initiator_SOURCES = initiator.c
|
|
|
|
nfcip_initiator_LDADD = libnfc.la
|
|
|
|
|
2009-06-29 08:55:17 +02:00
|
|
|
dist_man_MANS = nfc-anticol.1 nfc-emulate.1 nfc-list.1 nfc-mftool.1 nfc-relay.1
|
|
|
|
#dist_man_MANS = $(man_MANS)
|
|
|
|
#EXTRA_DIST = $(man_MANS)
|
|
|
|
|