2009-11-20 12:27:07 +01:00
|
|
|
SUBDIRS = chips buses drivers .
|
2009-11-04 11:14:17 +01:00
|
|
|
|
|
|
|
# set the include path found by configure
|
2009-12-01 15:23:00 +01:00
|
|
|
INCLUDES= $(all_includes) $(LIBNFC_CFLAGS)
|
2009-11-04 11:14:17 +01:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libnfc.la
|
|
|
|
libnfc_la_SOURCES = nfc.c bitutils.c
|
|
|
|
libnfc_la_LDFLAGS = -no-undefined -version-info=0:0:0
|
|
|
|
libnfc_la_CFLAGS =
|
|
|
|
libnfc_la_LIBADD = \
|
2009-11-20 12:27:07 +01:00
|
|
|
$(top_builddir)/src/lib/chips/libnfcchips.la \
|
2009-11-04 11:14:17 +01:00
|
|
|
$(top_builddir)/src/lib/buses/libnfcbuses.la \
|
|
|
|
$(top_builddir)/src/lib/drivers/libnfcdrivers.la
|
|
|
|
|
2009-11-04 15:55:24 +01:00
|
|
|
if PCSC_LITE_ENABLED
|
|
|
|
libnfc_la_CFLAGS += @LIBPCSCLITE_CFLAGS@ -DHAVE_PCSC_LITE
|
|
|
|
libnfc_la_LIBADD += @LIBPCSCLITE_LIBS@
|
|
|
|
endif
|
|
|
|
|
|
|
|
if LIBUSB_ENABLED
|
|
|
|
libnfc_la_CFLAGS += @LIBUSB_CFLAGS@ -DHAVE_LIBUSB
|
|
|
|
libnfc_la_LIBADD += @LIBUSB_LIBS@
|
|
|
|
endif
|
|
|
|
|
2010-01-29 16:33:34 +01:00
|
|
|
EXTRA_DIST = CMakeLists.txt chips.h buses.h drivers.h bitutils.h
|