mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-28 04:36:41 +00:00
libnfc can now be compiled without pcsc-lite (but it removes acr122 device support)
This commit is contained in:
@@ -5,19 +5,19 @@ bin_PROGRAMS = nfc-anticol nfc-list nfc-mftool nfc-relay nfc-emulate
|
||||
# set the include path found by configure
|
||||
INCLUDES= $(all_includes)
|
||||
|
||||
nfcinclude_HEADERS = libnfc.h bitutils.h defines.h types.h mifaretag.h devices.h rs232.h dev_arygon.h
|
||||
nfcinclude_HEADERS = libnfc.h bitutils.h defines.h types.h mifaretag.h devices.h rs232.h dev_arygon.h dev_pn531.h dev_pn533.h
|
||||
nfcincludedir = $(includedir)/libnfc
|
||||
|
||||
lib_LTLIBRARIES = libnfc.la
|
||||
libnfc_la_SOURCES = bitutils.c libnfc.c rs232.c dev_arygon.c
|
||||
libnfc_la_CFLAGS =
|
||||
libnfc_la_LIBADD =
|
||||
libnfc_la_SOURCES = bitutils.c libnfc.c rs232.c dev_arygon.c dev_pn531.c dev_pn533.c
|
||||
libnfc_la_CFLAGS = @LIBUSB_CFLAGS@
|
||||
libnfc_la_LIBADD = @LIBUSB_LIBS@
|
||||
|
||||
if PCSC_LITE_ENABLED
|
||||
nfcinclude_HEADERS += dev_acr122.h dev_pn531.h dev_pn533.h
|
||||
libnfc_la_CFLAGS += @LIBUSB_CFLAGS@ @LIBPCSCLITE_CFLAGS@
|
||||
libnfc_la_SOURCES += dev_acr122.c dev_pn531.c dev_pn533.c
|
||||
libnfc_la_LIBADD += @LIBUSB_LIBS@ @LIBPCSCLITE_LIBS@
|
||||
nfcinclude_HEADERS += dev_acr122.h
|
||||
libnfc_la_CFLAGS += @LIBPCSCLITE_CFLAGS@ -DHAVE_PCSC_LITE
|
||||
libnfc_la_SOURCES += dev_acr122.c
|
||||
libnfc_la_LIBADD += @LIBPCSCLITE_LIBS@
|
||||
endif
|
||||
|
||||
nfc_anticol_SOURCES = anticol.c
|
||||
|
||||
Reference in New Issue
Block a user