]> 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 e8a708f31e899b3acb3f7864e8e25eb26e6faad7..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 = \
-       ezusb.c \
-       misc.c \
-       serial.c
+libsigrokhwcommon_la_SOURCES = serial.c
+
+if NEED_USB
+libsigrokhwcommon_la_SOURCES += ezusb.c usb.c
+endif
+
+libsigrokhwcommon_la_LIBADD = dmm/libsigrok_hw_common_dmm.la
 
 libsigrokhwcommon_la_CFLAGS = \
-       -I$(top_srcdir)/libsigrok
+       -I$(top_srcdir)