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
|
2013-02-01 11:11:39 +01:00
|
|
|
AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS) -DSYSCONFDIR='"$(sysconfdir)"'
|
2009-11-04 10:14:17 +00:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libnfc.la
|
2011-03-13 14:31:06 +00:00
|
|
|
libnfc_la_SOURCES = \
|
2012-11-24 13:10:28 +01:00
|
|
|
conf.c \
|
2011-03-13 14:31:06 +00:00
|
|
|
iso14443-subr.c \
|
|
|
|
mirror-subr.c \
|
|
|
|
nfc.c \
|
|
|
|
nfc-device.c \
|
2011-10-03 11:19:08 +00:00
|
|
|
nfc-emulation.c \
|
2012-09-17 13:47:54 +00:00
|
|
|
nfc-internal.c \
|
2013-02-21 22:37:17 +01:00
|
|
|
target-subr.c \
|
|
|
|
conf.h \
|
|
|
|
drivers.h \
|
|
|
|
iso7816.h \
|
|
|
|
log.h \
|
2013-03-09 10:56:51 +01:00
|
|
|
log-internal.h \
|
2013-02-21 22:37:17 +01:00
|
|
|
mirror-subr.h \
|
|
|
|
nfc-internal.h \
|
|
|
|
target-subr.h
|
2011-10-03 11:19:08 +00:00
|
|
|
|
2013-01-18 18:28:45 +01:00
|
|
|
libnfc_la_LDFLAGS = -no-undefined -version-info 4:0:0 -export-symbols-regex '^nfc_|^iso14443a_|^str_nfc_|pn53x_transceive|pn532_SAMConfiguration|pn53x_read_register|pn53x_write_register'
|
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
|
|
|
|
|
2012-11-26 21:02:03 +01:00
|
|
|
if WITH_LOG
|
2013-03-18 23:53:01 +01:00
|
|
|
libnfc_la_SOURCES += log.c log-internal.c
|
2011-09-12 14:50:01 +00:00
|
|
|
endif
|
2011-12-07 14:59:40 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2013-03-18 23:53:01 +01:00
|
|
|
CMakeLists.txt
|