]> sigrok.org Git - libsigrok.git/blobdiff - hardware/common/Makefile.am
Initial support for UNI-T DMMs.
[libsigrok.git] / hardware / common / Makefile.am
index 7a0428d2a89cb11ed737ea3f96739da9199c5308..3dd32b0d598269b1e979fc86961ebe16e2f840d3 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 = \
-       misc.c
+libsigrokhwcommon_la_SOURCES =
 
-if LA_SALEAE_LOGIC
+if NEED_EZUSB
 libsigrokhwcommon_la_SOURCES += ezusb.c
 endif
 
-if LA_OLS
+if NEED_SERIAL
 libsigrokhwcommon_la_SOURCES += serial.c
 endif
 
+libsigrokhwcommon_la_LIBADD = 
+
+libsigrokhwcommon_la_LIBADD += dmm/libsigrok_hw_common_dmm.la
+
 libsigrokhwcommon_la_CFLAGS = \
-       -I$(top_srcdir)/libsigrok
+       -I$(top_srcdir)