X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=tests%2FMakefile.am;h=bd0858ff12ab89867264890d100ca15fe0a9a277;hb=e54f222c4edf55a379e5b3ad892cf671ace83e48;hp=cce7e63c41cebce98ece6db95d5fe38b377a11d4;hpb=b7e15e0e2c1fef3a938c84d79022098f8482920a;p=libsigrokdecode.git diff --git a/tests/Makefile.am b/tests/Makefile.am index cce7e63..bd0858f 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -34,10 +34,10 @@ 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"' -runtc_LDFLAGS = $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) -L$(top_builddir) -lsigrokdecode +runtc_LDFLAGS = -L$(top_builddir) $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) -lsigrokdecode endif