2009-11-04 11:14:17 +01:00
|
|
|
SUBDIRS = buses drivers .
|
|
|
|
|
|
|
|
# set the include path found by configure
|
|
|
|
INCLUDES= $(all_includes)
|
|
|
|
|
2009-11-09 12:23:33 +01:00
|
|
|
nfcinclude_HEADERS = nfc.h nfc-defines.h nfc-types.h buses.h drivers.h nfc-messages.h bitutils.h
|
2009-11-04 11:14:17 +01:00
|
|
|
nfcincludedir = $(includedir)/nfc
|
|
|
|
|
|
|
|
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 = \
|
|
|
|
$(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
|
|
|
|
|
2009-11-04 11:14:17 +01:00
|
|
|
DISTCLEANFILES = Makefile.in
|