From 922bc95950787d74265cc68e572dba331753f6b2 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Fri, 26 Nov 2010 11:22:18 -0700 Subject: add test case and new XYZZY class files. --- gr-run-waveform/Makefile.am | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'gr-run-waveform') diff --git a/gr-run-waveform/Makefile.am b/gr-run-waveform/Makefile.am index c8c207d1a..dc402e109 100644 --- a/gr-run-waveform/Makefile.am +++ b/gr-run-waveform/Makefile.am @@ -23,10 +23,27 @@ ACLOCAL_AMFLAGS = -I config DIST_SUBDIRS = config EXTRA_DIST = gen-xyzzy +# build the standalone waveform application bin_PROGRAMS = run_waveform -run_waveform_SOURCES = run_waveform.cc -run_waveform_CPPFLAGS = $(GUILE_CFLAGS) -DSRCDIR=\"$(srcdir)\" +# A unit test case for the XYZZY class +check_PROGRAMS = test_xyzzy +test_xyzzy_SOURCES = test_xyzzy.cc xyzzy.cc +test_xyzzy_CPPFLAGS = $(GUILE_CFLAGS) \ + -DSRCDIR=\"$(srcdir)\" \ + -DPKGLIBDIR=\"$(pkglibdir)\" + +# Don't install the internal header +noinst_HEADERS = xyzzy.h + +# The standalone waveform application +run_waveform_SOURCES = run_waveform.cc xyzzy.cc +run_waveform_CPPFLAGS = $(GUILE_CFLAGS) \ + -DSRCDIR=\"$(srcdir)\" \ + -DPKGLIBDIR=\"$(pkglibdir)\" +# Uncommenting this force make to statically link in the guile library. +# Note that this will fail to link it you don't have libguile.a. +# run_waveform_LDFLAGS = -static run_waveform_LDADD = $(GUILE_LIBS) DISTCLEANFILES = gr-run-waveform.tar.gz -- cgit