X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=tests%2FMakefile.am;h=7b2f8d8863a2d102f50b2c947f9ba268c4b6c361;hb=73fc79e094855b616fb6d6e392a87338ffe37a6b;hp=595a65d4b2e65123844d36fe500a1af92e7f0f65;hpb=baeaa75dedad94558e40a888c2a56ecea2cdb702;p=libsigrokdecode.git diff --git a/tests/Makefile.am b/tests/Makefile.am index 595a65d..7b2f8d8 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -23,6 +23,7 @@ TESTS = check_main check_PROGRAMS = ${TESTS} check_main_SOURCES = \ $(top_builddir)/libsigrokdecode.h \ + lib.h \ check_main.c \ check_core.c \ check_decoder.c \ @@ -34,8 +35,8 @@ check_main_CPPFLAGS = $(CPPFLAGS_PYTHON) \ -DDECODERS_DIR='"$(abs_top_builddir)/decoders"' endif -if HAVE_LIBSIGROK -bin_PROGRAMS = runtc +if BUILD_RUNTC +noinst_PROGRAMS = runtc runtc_SOURCES = runtc.c runtc_CPPFLAGS = $(CPPFLAGS_PYTHON) $(LIBSIGROK_CFLAGS) \ -DDECODERS_DIR='"$(abs_top_builddir)/decoders"'