aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)/