X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=Makefile.am;h=398103bbd28515c8a7fc86c49ebadcc7744d4a9a;hp=df8fb86d1ae641ef220241269991ba48fd9cd3f5;hb=1c49e875623918f8893308307f487a1f551daec4;hpb=783b54337242e5c40da8ffc0fc18babbcd09bc67 diff --git a/Makefile.am b/Makefile.am index df8fb86..398103b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,19 +60,10 @@ tests_check_main_SOURCES = \ tests/check_decoder.c \ tests/check_inst.c \ tests/check_session.c -tests_check_main_CFLAGS = @check_CFLAGS@ +tests_check_main_CFLAGS = $(AM_CFLAGS) @check_CFLAGS@ tests_check_main_LDADD = $(top_builddir)/libsigrokdecode.la @check_LIBS@ tests_check_main_CPPFLAGS = $(CPPFLAGS_PYTHON) \ - -DDECODERS_DIR='"$(abs_top_builddir)/decoders"' -endif - -if BUILD_RUNTC -noinst_PROGRAMS = tests/runtc -tests_runtc_LDADD = $(top_builddir)/libsigrokdecode.la -tests_runtc_SOURCES = tests/runtc.c -tests_runtc_CPPFLAGS = $(CPPFLAGS_PYTHON) $(LIBSIGROK_CFLAGS) \ - -DDECODERS_DIR='"$(abs_top_builddir)/decoders"' -tests_runtc_LDFLAGS = -L$(top_builddir) $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) + -DDECODERS_DIR='"$(abs_top_srcdir)/decoders"' endif MAINTAINERCLEANFILES = ChangeLog