X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=hardware%2Fcommon%2FMakefile.am;h=de8f06c168baeaea23168a7287ed8ff4f18d3a3f;hb=c4f2dfd0f0df07e6e2b10e33c46c9c457c9c5016;hp=ca717510d5fb0796f95b5cd5c561cd9ba0549e44;hpb=0dcb0c981eccf8df444a9ab0d49dcacf791930f7;p=libsigrok.git diff --git a/hardware/common/Makefile.am b/hardware/common/Makefile.am index ca717510..de8f06c1 100644 --- a/hardware/common/Makefile.am +++ b/hardware/common/Makefile.am @@ -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 +endif if NEED_USB libsigrok_hw_common_la_SOURCES += ezusb.c usb.c