X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=tests%2FMakefile.am;h=e70b3012d5c01be71d7712d01399872ca6892d10;hp=5739a035c7730a944eaa4f44ba2563d26f139c1c;hb=554a49f9df0ee8c57d7fae64515cf57d622b0511;hpb=ea81b49a3ca4fff4994693d30045d51b86181e32 diff --git a/tests/Makefile.am b/tests/Makefile.am index 5739a03..e70b301 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -20,9 +20,7 @@ if HAVE_CHECK TESTS = check_main - check_PROGRAMS = ${TESTS} - check_main_SOURCES = \ $(top_builddir)/libsigrokdecode.h \ check_main.c \ @@ -30,12 +28,10 @@ check_main_SOURCES = \ check_decoder.c \ check_inst.c \ check_session.c - check_main_CFLAGS = @check_CFLAGS@ - check_main_LDADD = $(top_builddir)/libsigrokdecode.la @check_LIBS@ - -check_main_CPPFLAGS = $(CPPFLAGS_PYTHON) +check_main_CPPFLAGS = $(CPPFLAGS_PYTHON) \ + -DDECODERS_DIR='"$(abs_top_builddir)/decoders"' endif if HAVE_LIBSIGROK