Fix bug when compiling without libusb: skip usbbus.c
This commit is contained in:
parent
1c67c3f92a
commit
008158090c
1 changed files with 14 additions and 3 deletions
|
@ -1,10 +1,21 @@
|
|||
|
||||
# set the include path found by configure
|
||||
AM_CPPFLAGS = $(all_includes) $(LIBNFC_CFLAGS)
|
||||
|
||||
noinst_LTLIBRARIES = libnfcbuses.la
|
||||
libnfcbuses_la_SOURCES = uart.c uart.h usbbus.c usbbus.h
|
||||
libnfcbuses_la_CFLAGS = -I$(top_srcdir)/libnfc
|
||||
|
||||
libnfcbuses_la_SOURCES =
|
||||
libnfcbuses_la_CFLAGS = -I$(top_srcdir)/libnfc
|
||||
libnfcbuses_la_LIBADD =
|
||||
|
||||
# UART_ENABLED
|
||||
libnfcbuses_la_SOURCES += uart.c uart.h
|
||||
libnfcbuses_la_CFLAGS +=
|
||||
libnfcbuses_la_LIBADD +=
|
||||
EXTRA_DIST = uart_posix.c uart_win32.c
|
||||
|
||||
if LIBUSB_ENABLED
|
||||
libnfcbuses_la_SOURCES += usbbus.c usbbus.h
|
||||
libnfcbuses_la_CFLAGS += @libusb_CFLAGS@
|
||||
libnfcbuses_la_LIBADD += @libusb_LIBS@
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue