X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=Makefile.am;h=e34cc3c2062368a28ba837816fb13b002558c11f;hp=741720f91f6033bbcd015db8c678e4f30bb70df7;hb=04ff49263b0a462250d2301e6d4d17db5904a8d3;hpb=1c0dbcc95b2e8e9a20279f0dab0eecd115be5484 diff --git a/Makefile.am b/Makefile.am index 741720f..e34cc3c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -47,7 +47,7 @@ noinst_HEADERS = libsigrokdecode-internal.h pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libsigrokdecode.pc -EXTRA_DIST = Doxyfile contrib/sigrok-logo-notext.png +EXTRA_DIST = Doxyfile HACKING contrib/sigrok-logo-notext.png if HAVE_CHECK TESTS = tests/check_main @@ -60,20 +60,12 @@ 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_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 -endif - MAINTAINERCLEANFILES = ChangeLog .PHONY: ChangeLog