summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnuradio-core/src/lib/filter/Makefile.am10
-rw-r--r--gnuradio-core/src/lib/gengen/Makefile.am8
-rw-r--r--gr-trellis/src/lib/Makefile.am5
3 files changed, 9 insertions, 14 deletions
diff --git a/gnuradio-core/src/lib/filter/Makefile.am b/gnuradio-core/src/lib/filter/Makefile.am
index 709ad603e..ca5838510 100644
--- a/gnuradio-core/src/lib/filter/Makefile.am
+++ b/gnuradio-core/src/lib/filter/Makefile.am
@@ -62,15 +62,11 @@ CODE_GENERATOR = \
gr_freq_xlating_fir_filter_XXX.h.t \
gr_freq_xlating_fir_filter_XXX.i.t
+include $(srcdir)/Makefile.gen
-
-# include $(srcdir)/Makefile.gen
-include Makefile.gen
-
-
-$(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
+$(srcdir)/Makefile.gen $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
-
+ touch $(srcdir)/Makefile.in
BUILT_SOURCES = $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC)
diff --git a/gnuradio-core/src/lib/gengen/Makefile.am b/gnuradio-core/src/lib/gengen/Makefile.am
index 6d9a716a6..b1a3b2613 100644
--- a/gnuradio-core/src/lib/gengen/Makefile.am
+++ b/gnuradio-core/src/lib/gengen/Makefile.am
@@ -111,13 +111,11 @@ CODE_GENERATOR = \
gr_not_XX.h.t \
gr_not_XX.i.t
-# include $(srcdir)/Makefile.gen
-include Makefile.gen
+include $(srcdir)/Makefile.gen
-
-$(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
+$(srcdir)/Makefile.gen $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
-
+ touch $(srcdir)/Makefile.in
BUILT_SOURCES = $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC)
diff --git a/gr-trellis/src/lib/Makefile.am b/gr-trellis/src/lib/Makefile.am
index d18fad8db..9eeb3e043 100644
--- a/gr-trellis/src/lib/Makefile.am
+++ b/gr-trellis/src/lib/Makefile.am
@@ -52,11 +52,12 @@ CODE_GENERATOR = \
trellis_viterbi_X.h.t \
trellis_viterbi_X.i.t
-include Makefile.gen
+include $(srcdir)/Makefile.gen
-$(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
+$(srcdir)/Makefile.gen $(GENERATED_H) $(GENERATED_I) $(GENERATED_CC): $(CODE_GENERATOR)
PYTHONPATH=$(top_srcdir)/gnuradio-core/src/python \
srcdir=$(srcdir) $(PYTHON) $(srcdir)/generate_all.py
+ touch $(srcdir)/Makefile.in
# These files are built by SWIG. The first is the C++ glue.
# The second is the python wrapper that loads the _trellis shared library