summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye2010-11-26 16:00:21 -0700
committerRob Savoye2010-11-26 16:00:21 -0700
commitd9f4d83886cc19eb10808e85ac3785779b3000f1 (patch)
tree0e8f838e66b6abdca9e8ac482de9ba7f6ea787b1
parent8779a5b0862d0549b6543f3f1383a6ca3b47432b (diff)
downloadgnuradio-d9f4d83886cc19eb10808e85ac3785779b3000f1.tar.gz
gnuradio-d9f4d83886cc19eb10808e85ac3785779b3000f1.tar.bz2
gnuradio-d9f4d83886cc19eb10808e85ac3785779b3000f1.zip
pass in the data dir too
-rw-r--r--gr-run-waveform/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-run-waveform/Makefile.am b/gr-run-waveform/Makefile.am
index dc402e109..5168e44dd 100644
--- a/gr-run-waveform/Makefile.am
+++ b/gr-run-waveform/Makefile.am
@@ -31,7 +31,7 @@ check_PROGRAMS = test_xyzzy
test_xyzzy_SOURCES = test_xyzzy.cc xyzzy.cc
test_xyzzy_CPPFLAGS = $(GUILE_CFLAGS) \
-DSRCDIR=\"$(srcdir)\" \
- -DPKGLIBDIR=\"$(pkglibdir)\"
+ -DDATAROOTDIR=\"$(datarootdir)\"
# Don't install the internal header
noinst_HEADERS = xyzzy.h
@@ -40,7 +40,8 @@ noinst_HEADERS = xyzzy.h
run_waveform_SOURCES = run_waveform.cc xyzzy.cc
run_waveform_CPPFLAGS = $(GUILE_CFLAGS) \
-DSRCDIR=\"$(srcdir)\" \
- -DPKGLIBDIR=\"$(pkglibdir)\"
+ -DPKGLIBDIR=\"$(pkglibdir)\" \
+ -DDATAROOTDIR=\"$(datarootdir)\"
# 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