aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authortgingold <tgingold@users.noreply.github.com>2022-03-17 18:46:18 +0100
committerGitHub <noreply@github.com>2022-03-17 18:46:18 +0100
commit2b6ce11b696a9e138f477c6325804e085dfbe771 (patch)
tree67f6d0ceeb24b858eea34ae9054382f6fcbfa98d /Makefile.in
parent987c5b78ab65c897d9e5757abc807df0fe264144 (diff)
parent193528ca0d3678fa90cdb2878f361cfcbf23c940 (diff)
downloadghdl-2b6ce11b696a9e138f477c6325804e085dfbe771.tar.gz
ghdl-2b6ce11b696a9e138f477c6325804e085dfbe771.tar.bz2
ghdl-2b6ce11b696a9e138f477c6325804e085dfbe771.zip
Merge pull request #2009 from Xiretza/install-local-fixes
Makefile: install.local fixes
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 12657beae..a337ca013 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -470,10 +470,11 @@ install.libghdl.include: install.dirs $(srcdir)/src/synth/include/synth_gates.h
$(INSTALL_DATA) -p $(srcdir)/src/synth/include/synth.h $(DESTDIR)$(incdir)/
$(INSTALL_DATA) -p $(srcdir)/src/synth/include/synth_gates.h $(DESTDIR)$(incdir)/
-test: install.libghdl.local
+test.$(backend): install.libghdl.local
install.libghdl.local: all.libghdl
- $(INSTALL_DATA) -p $(srcdir)/src/synth/include/synth.h $(DESTDIR)$(incdirsuffix)/ghdl
- $(INSTALL_DATA) -p $(srcdir)/src/synth/include/synth_gates.h $(DESTDIR)$(incdirsuffix)/ghdl
+ $(MKDIR) -p $(incdirsuffix)/ghdl/
+ $(INSTALL_DATA) -p $(srcdir)/src/synth/include/synth.h $(incdirsuffix)/ghdl/
+ $(INSTALL_DATA) -p $(srcdir)/src/synth/include/synth_gates.h $(incdirsuffix)/ghdl/
install.libghdl.lib:
$(INSTALL_PROGRAM) -p lib/$(libghdl_name) $(DESTDIR)$(libdir)/
@@ -569,9 +570,9 @@ uninstall.vpi:
$(RM) -f $(DESTDIR)$(incdir)/vpi_user.h
$(RM) -f $(DESTDIR)$(incdir)/vhpi_user.h
-test: install.vpi.local
+test.$(backend): install.vpi.local
install.vpi.local: all.vpi
- $(MKDIR) -p $(incdirsuffix) lib
+ $(MKDIR) -p $(incdirsuffix)/ghdl/
$(INSTALL_DATA) -p $(GRTSRCDIR)/vpi_user.h $(incdirsuffix)/ghdl/
$(INSTALL_DATA) -p $(GRTSRCDIR)/vhpi_user.h $(incdirsuffix)/ghdl/