2009-10-06 10:32:50 +02:00
|
|
|
SUBDIRS = . examples
|
2009-05-04 15:02:29 +02:00
|
|
|
|
|
|
|
# set the include path found by configure
|
|
|
|
INCLUDES= $(all_includes)
|
|
|
|
|
2009-09-10 12:39:25 +02:00
|
|
|
nfc_devices_headers = dev_arygon.h
|
2009-09-08 12:25:59 +02:00
|
|
|
nfcinclude_HEADERS = libnfc.h bitutils.h defines.h types.h rs232.h devices.h messages.h
|
|
|
|
nfcinclude_HEADERS += $(nfc_devices_headers)
|
2009-05-04 15:02:29 +02:00
|
|
|
nfcincludedir = $(includedir)/libnfc
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libnfc.la
|
2009-09-10 12:39:25 +02:00
|
|
|
libnfc_la_SOURCES = bitutils.c libnfc.c rs232.c dev_arygon.c
|
|
|
|
libnfc_la_CFLAGS =
|
|
|
|
libnfc_la_LIBADD =
|
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-09-10 12:39:25 +02:00
|
|
|
if LIBUSB_ENABLED
|
|
|
|
nfcinclude_HEADERS += dev_pn531.h dev_pn533.h
|
|
|
|
libnfc_la_CFLAGS += @LIBUSB_CFLAGS@ -DHAVE_LIBUSB
|
|
|
|
libnfc_la_SOURCES += dev_pn531.c dev_pn533.c
|
|
|
|
libnfc_la_LIBADD += @LIBUSB_LIBS@
|
|
|
|
endif
|
|
|
|
|