X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=Makefile.am;h=41054b2b294d119ad6ecf926a349cb846184b7c8;hp=5c88cc4fd145844e228ca328db420c572825aece;hb=37834eed4b104fcf77258cca846302911dea34ca;hpb=e559d5da6717ff9e956ac7ad58fdb51ca774840d diff --git a/Makefile.am b/Makefile.am index 5c88cc4..41054b2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -60,7 +60,7 @@ 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"' @@ -68,10 +68,11 @@ 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) -lsigrokdecode +tests_runtc_LDFLAGS = -L$(top_builddir) $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) endif MAINTAINERCLEANFILES = ChangeLog