X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=02f76d9e63fd77aad5f3d5006ba016aa9da0c5da;hb=544038d90e05c03f6f914c7771ee52dd85784ca8;hp=0515e80b91bddd5af556c273886273ed0e99b7a8;hpb=a654ef6e407f1f914a6ec9b104a5e4cf9b84524c;p=libsigrokdecode.git diff --git a/Makefile.am b/Makefile.am index 0515e80..02f76d9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,10 +20,10 @@ ACLOCAL_AMFLAGS = -I m4 AM_LIBTOOLFLAGS = --silent -MAKEFLAGS = --no-print-directory +GNUMAKEFLAGS = --no-print-directory DECODERS_DIR = $(pkgdatadir)/decoders -AM_CPPFLAGS = -D_POSIX_C_SOURCE=200112L -DDECODERS_DIR='"$(DECODERS_DIR)"' +AM_CPPFLAGS = -DDECODERS_DIR='"$(DECODERS_DIR)"' # The tests CFLAGS are a superset of the libsigrokdecode CFLAGS. AM_CFLAGS = $(SRD_EXTRA_CFLAGS) $(SRD_WFLAGS) $(TESTS_CFLAGS) @@ -70,7 +70,7 @@ tests_main_SOURCES = \ tests/inst.c \ tests/session.c -tests_main_CPPFLAGS = -D_POSIX_C_SOURCE=200112L -DDECODERS_DIR='"$(abs_top_srcdir)/decoders"' +tests_main_CPPFLAGS = -DDECODERS_DIR='"$(abs_top_srcdir)/decoders"' tests_main_LDADD = libsigrokdecode.la $(SRD_EXTRA_LIBS) $(TESTS_LIBS) MAINTAINERCLEANFILES = ChangeLog @@ -78,7 +78,7 @@ MAINTAINERCLEANFILES = ChangeLog .PHONY: ChangeLog install-decoders ChangeLog: - git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog + git --git-dir '$(top_srcdir)/.git' log >$@ || touch $@ dist-hook: ChangeLog $(MKDIR_P) $(distdir)/tools