aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-08-15 05:51:29 +0200
committerTristan Gingold <tgingold@free.fr>2019-08-15 10:00:09 +0200
commit02fac64705c0d0470dc1773b62c33e1236e93c03 (patch)
treea730344629c515052e018b90843b6f392b56ccaf /Makefile.in
parent86ea3883d9b7c83d903ebd59e2af916744fc0e6f (diff)
downloadghdl-02fac64705c0d0470dc1773b62c33e1236e93c03.tar.gz
ghdl-02fac64705c0d0470dc1773b62c33e1236e93c03.tar.bz2
ghdl-02fac64705c0d0470dc1773b62c33e1236e93c03.zip
Makefile.in: install synth include files as part of libghdl.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 70a3a9863..43381bf5f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -394,7 +394,7 @@ all.libghdl: all.libghdl.$(enable_libghdl)
install.libghdl.lib:
$(INSTALL_PROGRAM) -p $(libghdl_name) $(DESTDIR)$(libdir)/
-install.libghdl.true: install.libghdl.lib
+install.libghdl.true: install.libghdl.lib install.libghdlsynth.include
install.libghdl.false:
install.libghdl: install.libghdl.$(enable_libghdl)
@@ -436,6 +436,11 @@ install.libghdlsynth.include: install.dirs $(srcdir)/src/synth/ghdlsynth_gates.h
$(INSTALL_DATA) -p $(srcdir)/src/synth/ghdlsynth.h $(DESTDIR)$(incdir)/
$(INSTALL_DATA) -p $(srcdir)/src/synth/ghdlsynth_gates.h $(DESTDIR)$(incdir)/
+install.libghdlsynth.local: $(srcdir)/src/synth/ghdlsynth_gates.h
+ $(MKDIR) -p include lib
+ $(INSTALL_DATA) -p $(srcdir)/src/synth/ghdlsynth.h include/
+ $(INSTALL_DATA) -p $(srcdir)/src/synth/ghdlsynth_gates.h include/
+
install.libghdlsynth.static: libghdlsynth.a install.libghdlsynth.include
$(INSTALL_DATA) -p libghdlsynth.a $(DESTDIR)$(libdir)/
$(INSTALL_DATA) -p ghdlsynth.link $(DESTDIR)$(libdir)/