Only build specific source files if needed.

This commit is contained in:
Uwe Hermann 2011-01-08 20:06:32 +01:00
parent 7c17ac6cc4
commit af812219f6
1 changed files with 9 additions and 3 deletions

View File

@ -21,9 +21,15 @@
noinst_LTLIBRARIES = libsigrokhwcommon.la
libsigrokhwcommon_la_SOURCES = \
ezusb.c \
misc.c \
serial.c
misc.c
if LA_SALEAE_LOGIC
libsigrokhwcommon_la_SOURCES += ezusb.c
endif
if LA_OLS
libsigrokhwcommon_la_SOURCES += serial.c
endif
libsigrokhwcommon_la_CFLAGS = \
-I$(top_srcdir)/libsigrok