X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-test.git;a=blobdiff_plain;f=Makefile.am;h=57e236b37e23774fef2dd4a5d66635b5f9fdebd2;hp=dc0e3ccc5b29283b68738d976cc17407586b8414;hb=df62f6f3694feb3b8b9ba0fa108f72b020c4b932;hpb=dd37a782a8637bdee703a13c949b222b9ba8b95d diff --git a/Makefile.am b/Makefile.am index dc0e3cc..57e236b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,18 +14,23 @@ ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## +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 $@