aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-31 18:23:32 +0200
committerTristan Gingold <tgingold@free.fr>2020-03-31 18:29:05 +0200
commit86eb7790e833d2c93834901dcdf01aa89141c44c (patch)
tree160e7ed05d212e463710e7c12fdd4b8b1d3f3e6b /Makefile.in
parentd8afbddcf37ea68a19b6edfa4820ef3bdd0c5076 (diff)
downloadghdl-86eb7790e833d2c93834901dcdf01aa89141c44c.tar.gz
ghdl-86eb7790e833d2c93834901dcdf01aa89141c44c.tar.bz2
ghdl-86eb7790e833d2c93834901dcdf01aa89141c44c.zip
Makefile: Generate Param_Pval_* in ghdlsynth_gates.h
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 3052aec2c..d692ce123 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -411,6 +411,10 @@ $(srcdir)/src/synth/ghdlsynth_gates.h: $(srcdir)/src/synth/netlists.ads $(srcdir
echo "enum Module_Id {" >> $@
grep -h "constant Module_Id :=" $^ | sed -e '/constant Module_Id :=/s/:.*://' -e 's/;/,/' -e 's/ *--.*//' >> $@
echo "};" >> $@
+ echo "" >> $@
+ echo "enum Param_Type {" >> $@
+ grep ' Param_' $(srcdir)/src/synth/netlists.ads >> $@
+ echo "};" >> $@
all.libghdl.true: $(libghdl_name)
all.libghdl.false: