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