]> sigrok.org Git - libsigrok.git/blobdiff - hardware/common/Makefile.am
rigol-ds1xx2: doesn't actually support SR_CONF_LIMIT_SAMPLES
[libsigrok.git] / hardware / common / Makefile.am
index 308430642a109b0cc7358d620f99bcd5be464a09..874b9e1beff7ee68595166453c48b21f990fe437 100644 (file)
@@ -22,19 +22,13 @@ SUBDIRS = dmm
 # Local lib, this is NOT meant to be installed!
 noinst_LTLIBRARIES = libsigrokhwcommon.la
 
-libsigrokhwcommon_la_SOURCES = usb.c
+libsigrokhwcommon_la_SOURCES = serial.c
 
-if NEED_EZUSB
-libsigrokhwcommon_la_SOURCES += ezusb.c
+if NEED_USB
+libsigrokhwcommon_la_SOURCES += ezusb.c usb.c
 endif
 
-if NEED_SERIAL
-libsigrokhwcommon_la_SOURCES += serial.c
-endif
-
-libsigrokhwcommon_la_LIBADD = 
-
-libsigrokhwcommon_la_LIBADD += dmm/libsigrok_hw_common_dmm.la
+libsigrokhwcommon_la_LIBADD = dmm/libsigrok_hw_common_dmm.la
 
 libsigrokhwcommon_la_CFLAGS = \
        -I$(top_srcdir)