From 02fac64705c0d0470dc1773b62c33e1236e93c03 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 15 Aug 2019 05:51:29 +0200 Subject: Makefile.in: install synth include files as part of libghdl. --- Makefile.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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)/ -- cgit v1.2.3