2009-11-04 10:14:17 +00:00
|
|
|
# set the include path found by configure
|
2009-12-01 14:23:00 +00:00
|
|
|
INCLUDES= $(all_includes) $(LIBNFC_CFLAGS)
|
2009-11-04 10:14:17 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = arygon.h pn532_uart.h
|
|
|
|
noinst_LTLIBRARIES = libnfcdrivers.la
|
|
|
|
libnfcdrivers_la_SOURCES = arygon.c pn532_uart.c
|
|
|
|
libnfcdrivers_la_CFLAGS = -I$(top_srcdir)/src/lib -I$(top_srcdir)/src/lib/buses
|
|
|
|
libnfcdrivers_la_LIBADD =
|
|
|
|
|
|
|
|
if PCSC_LITE_ENABLED
|
|
|
|
noinst_HEADERS += acr122.h
|
|
|
|
libnfcdrivers_la_CFLAGS += @LIBPCSCLITE_CFLAGS@ -DHAVE_PCSC_LITE
|
|
|
|
libnfcdrivers_la_SOURCES += acr122.c
|
|
|
|
libnfcdrivers_la_LIBADD += @LIBPCSCLITE_LIBS@
|
|
|
|
endif
|
|
|
|
|
|
|
|
if LIBUSB_ENABLED
|
2009-12-06 16:36:55 +00:00
|
|
|
noinst_HEADERS += pn531_usb.h pn533_usb.h pn53x_usb.h
|
2009-11-04 10:14:17 +00:00
|
|
|
libnfcdrivers_la_CFLAGS += @LIBUSB_CFLAGS@ -DHAVE_LIBUSB
|
2009-12-06 16:36:55 +00:00
|
|
|
libnfcdrivers_la_SOURCES += pn531_usb.c pn533_usb.c pn53x_usb.c
|
2009-11-04 10:14:17 +00:00
|
|
|
libnfcdrivers_la_LIBADD += @LIBUSB_LIBS@
|
|
|
|
endif
|
|
|
|
|