X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=Makefile.am;h=280cf64d29d915199a0b3092f9ffd5a96d5d3f7b;hp=94cbbe02bebbbd874b3a59e9b5514f98355be2b7;hb=713a3f352496f928b9911bfdc7e87a67134113df;hpb=e972674d0b30b98dcc354b707a80b6bfc1aeb532 diff --git a/Makefile.am b/Makefile.am index 94cbbe02..280cf64d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -85,11 +85,14 @@ libsigrok_la_SOURCES += \ src/input/logicport.c \ src/input/raw_analog.c \ src/input/saleae.c \ - src/input/stf.c \ src/input/trace32_ad.c \ src/input/vcd.c \ src/input/wav.c \ src/input/null.c +if HAVE_INPUT_STF +libsigrok_la_SOURCES += \ + src/input/stf.c +endif # Output modules libsigrok_la_SOURCES += \ @@ -143,6 +146,9 @@ libsigrok_la_SOURCES += \ src/serial_hid_victor.c \ src/serial_libsp.c \ src/scpi/scpi_serial.c +else +libsigrok_la_SOURCES += \ + src/serial.c endif if NEED_USB libsigrok_la_SOURCES += \