mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-27 20:26:37 +00:00
Only include UART related files when (at least) one UART driver is enabled
This commit is contained in:
@@ -6,12 +6,14 @@ noinst_LTLIBRARIES = libnfcbuses.la
|
||||
libnfcbuses_la_SOURCES =
|
||||
libnfcbuses_la_CFLAGS = -I$(top_srcdir)/libnfc
|
||||
libnfcbuses_la_LIBADD =
|
||||
EXTRA_DIST =
|
||||
|
||||
# UART_ENABLED
|
||||
libnfcbuses_la_SOURCES += uart.c uart.h
|
||||
libnfcbuses_la_CFLAGS +=
|
||||
libnfcbuses_la_LIBADD +=
|
||||
EXTRA_DIST = uart_posix.c uart_win32.c
|
||||
if UART_ENABLED
|
||||
libnfcbuses_la_SOURCES += uart.c uart.h
|
||||
libnfcbuses_la_CFLAGS +=
|
||||
libnfcbuses_la_LIBADD +=
|
||||
endif
|
||||
EXTRA_DIST += uart.c uart.h uart_posix.c uart_win32.c
|
||||
|
||||
if LIBUSB_ENABLED
|
||||
libnfcbuses_la_SOURCES += usbbus.c usbbus.h
|
||||
|
||||
Reference in New Issue
Block a user