2009-11-20 11:27:07 +00:00
|
|
|
SUBDIRS = chips buses drivers .
|
2009-11-04 10:14:17 +00:00
|
|
|
|
|
|
|
# set the include path found by configure
|
2010-04-15 14:41:13 +00:00
|
|
|
INCLUDES = $(all_includes) $(LIBNFC_CFLAGS)
|
2009-11-04 10:14:17 +00:00
|
|
|
|
2010-04-16 16:38:57 +00:00
|
|
|
noinst_HEADERS = chips.h buses.h drivers.h mirror-subr.h
|
2009-11-04 10:14:17 +00:00
|
|
|
lib_LTLIBRARIES = libnfc.la
|
2010-04-16 16:38:57 +00:00
|
|
|
libnfc_la_SOURCES = nfc.c iso14443-subr.c mirror-subr.c
|
2009-11-04 10:14:17 +00:00
|
|
|
libnfc_la_LDFLAGS = -no-undefined -version-info=0:0:0
|
2010-04-15 14:41:13 +00:00
|
|
|
libnfc_la_CFLAGS = @DRIVERS_CFLAGS@
|
2009-11-04 10:14:17 +00:00
|
|
|
libnfc_la_LIBADD = \
|
2010-04-07 14:37:19 +00:00
|
|
|
$(top_builddir)/libnfc/chips/libnfcchips.la \
|
|
|
|
$(top_builddir)/libnfc/buses/libnfcbuses.la \
|
|
|
|
$(top_builddir)/libnfc/drivers/libnfcdrivers.la
|
2009-11-04 10:14:17 +00:00
|
|
|
|
2010-04-15 14:41:13 +00:00
|
|
|
if PCSC_ENABLED
|
|
|
|
libnfc_la_CFLAGS += @libpcsclite_CFLAGS@ -DHAVE_PCSC
|
|
|
|
libnfc_la_LIBADD += @libpcsclite_LIBS@
|
2009-11-04 14:55:24 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if LIBUSB_ENABLED
|
2010-04-15 14:41:13 +00:00
|
|
|
libnfc_la_CFLAGS += @libusb_CFLAGS@ -DHAVE_LIBUSB
|
|
|
|
libnfc_la_LIBADD += @libusb_LIBS@
|
2009-11-04 14:55:24 +00:00
|
|
|
endif
|
|
|
|
|
2010-04-15 14:41:13 +00:00
|
|
|
EXTRA_DIST = CMakeLists.txt
|