]> 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 805586c1ad6485e40fe9bfe9a37d681ac42fe4c3..874b9e1beff7ee68595166453c48b21f990fe437 100644 (file)
 ## along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ##
 
+SUBDIRS = dmm
+
 # Local lib, this is NOT meant to be installed!
 noinst_LTLIBRARIES = libsigrokhwcommon.la
 
-libsigrokhwcommon_la_SOURCES =
+libsigrokhwcommon_la_SOURCES = serial.c
 
-if LA_FX2LAFW
-libsigrokhwcommon_la_SOURCES += ezusb.c
+if NEED_USB
+libsigrokhwcommon_la_SOURCES += ezusb.c usb.c
 endif
 
-if LA_OLS
-libsigrokhwcommon_la_SOURCES += serial.c
-endif
+libsigrokhwcommon_la_LIBADD = dmm/libsigrok_hw_common_dmm.la
 
 libsigrokhwcommon_la_CFLAGS = \
        -I$(top_srcdir)