]> sigrok.org Git - libsigrok.git/blobdiff - hardware/common/Makefile.am
Make SCPI functions device independent, with separate serial backend.
[libsigrok.git] / hardware / common / Makefile.am
index ca717510d5fb0796f95b5cd5c561cd9ba0549e44..82493ac9649b93f2ef2cc678e3c98ef7a535f787 100644 (file)
@@ -22,7 +22,11 @@ SUBDIRS = dmm
 # Local lib, this is NOT meant to be installed!
 noinst_LTLIBRARIES = libsigrok_hw_common.la
 
-libsigrok_hw_common_la_SOURCES = serial.c
+libsigrok_hw_common_la_SOURCES =
+
+if NEED_SERIAL
+libsigrok_hw_common_la_SOURCES += serial.c scpi.c scpi_serial.c
+endif
 
 if NEED_USB
 libsigrok_hw_common_la_SOURCES += ezusb.c usb.c