# Local lib, this is NOT meant to be installed!
noinst_LTLIBRARIES = libsigrok_hw_common.la
-libsigrok_hw_common_la_SOURCES = scpi.c scpi_tcp.c
+libsigrok_hw_common_la_SOURCES = scpi.c scpi_tcp.c scpi_usbtmc.c
if NEED_RPC
libsigrok_hw_common_la_SOURCES += scpi_vxi.c vxi_clnt.c vxi_xdr.c
endif
if NEED_SERIAL
-libsigrok_hw_common_la_SOURCES += serial.c scpi_serial.c scpi_usbtmc.c
+libsigrok_hw_common_la_SOURCES += serial.c scpi_serial.c
endif
if NEED_USB