X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-test.git;a=blobdiff_plain;f=Makefile.am;h=eb497751e5455683b984bf2551e910fb0409cd1e;hp=dc0e3ccc5b29283b68738d976cc17407586b8414;hb=8189d8127e5ea2227a7e0ab9c0aa94675ca3d03d;hpb=f329975d5d93325653a3d9b3d329109e3eae5707 diff --git a/Makefile.am b/Makefile.am index dc0e3cc..eb49775 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,14 +18,20 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## +ACLOCAL_AMFLAGS = -I m4 +GNUMAKEFLAGS = --no-print-directory + +AM_CPPFLAGS = -D_POSIX_C_SOURCE=200112L -DDECODERS_DIR='"$(DECODERS_DIR)"' +AM_CFLAGS = $(ST_EXTRA_CFLAGS) $(ST_WFLAGS) $(SIGROK_TEST_CFLAGS) + noinst_PROGRAMS = decoder/runtc decoder_runtc_SOURCES = decoder/runtc.c -decoder_runtc_CPPFLAGS = -DDECODERS_DIR='"$(DECODERS_DIR)"' +decoder_runtc_LDADD = $(SIGROK_TEST_LIBS) MAINTAINERCLEANFILES = ChangeLog .PHONY: ChangeLog ChangeLog: - git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog + git --git-dir '$(top_srcdir)/.git' log >$@ || touch $@