Thoroughly fix parallel installation issues
In PR #300, @xdch47 pointed out a stable way to fix parallel installation problems. This fix applied the method, thanks! Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
parent
969426a21e
commit
11001f58d5
|
|
@ -353,7 +353,7 @@ installman: iverilog-vpi.man installdirs
|
|||
installpdf: iverilog-vpi.pdf installdirs
|
||||
$(INSTALL_DATA) iverilog-vpi.pdf "$(DESTDIR)$(prefix)/iverilog-vpi$(suffix).pdf"
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./ivl@EXEEXT@ "$(DESTDIR)$(libdir)/ivl$(suffix)/ivl@EXEEXT@"
|
||||
$(INSTALL_DATA) $(srcdir)/constants.vams "$(DESTDIR)$(libdir)/ivl$(suffix)/include/constants.vams"
|
||||
$(INSTALL_DATA) $(srcdir)/disciplines.vams "$(DESTDIR)$(libdir)/ivl$(suffix)/include/disciplines.vams"
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ install: all installdirs installfiles
|
|||
|
||||
F = ./cadpli.vpl
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./cadpli.vpl "$(DESTDIR)$(vpidir)/cadpli.vpl"
|
||||
|
||||
installdirs: $(srcdir)/../mkinstalldirs
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ install: all installdirs installfiles
|
|||
|
||||
F = ./iverilog-vpi@EXEEXT@
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./iverilog-vpi@EXEEXT@ "$(bindir)/iverilog-vpi$(suffix)@EXEEXT@"
|
||||
ifeq (@WIN32@,yes)
|
||||
ifneq ($(HOSTCC),$(CC))
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ installman: iverilog.man installdirs
|
|||
installpdf: iverilog.pdf installdirs
|
||||
$(INSTALL_DATA) iverilog.pdf "$(DESTDIR)$(prefix)/iverilog$(suffix).pdf"
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./iverilog@EXEEXT@ "$(DESTDIR)$(bindir)/iverilog$(suffix)@EXEEXT@"
|
||||
|
||||
installdirs: $(srcdir)/../mkinstalldirs
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ install: all installdirs installfiles
|
|||
|
||||
F = ivlpp@EXEEXT@
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./ivlpp@EXEEXT@ "$(DESTDIR)$(libdir)/ivl$(suffix)/ivlpp@EXEEXT@"
|
||||
|
||||
installdirs: $(srcdir)/../mkinstalldirs
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ install:: all installdirs installfiles
|
|||
|
||||
F = ./libveriuser.a
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_DATA) ./libveriuser.a "$(DESTDIR)$(libdir)/libveriuser$(suffix).a"
|
||||
|
||||
installdirs: $(srcdir)/../mkinstalldirs
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ F = ./blif.tgt \
|
|||
$(srcdir)/blif.conf \
|
||||
$(srcdir)/blif-s.conf
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./blif.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/blif.tgt"
|
||||
$(INSTALL_DATA) $(srcdir)/blif.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/blif.conf"
|
||||
$(INSTALL_DATA) $(srcdir)/blif-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/blif-s.conf"
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ installman: $(srcdir)/iverilog-fpga.man installdirs
|
|||
installpdf: iverilog-fpga.pdf installdirs
|
||||
$(INSTALL_DATA) iverilog-fpga.pdf "$(DESTDIR)$(prefix)/iverilog-fpga$(suffix).pdf"
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./fpga.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.tgt"
|
||||
$(INSTALL_DATA) $(srcdir)/fpga.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.conf"
|
||||
$(INSTALL_DATA) $(srcdir)/fpga-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga-s.conf"
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ F = ./null.tgt \
|
|||
$(srcdir)/null.conf \
|
||||
$(srcdir)/null-s.conf
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./null.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/null.tgt"
|
||||
$(INSTALL_DATA) $(srcdir)/null.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/null.conf"
|
||||
$(INSTALL_DATA) $(srcdir)/null-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/null-s.conf"
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ install: all installdirs installfiles
|
|||
|
||||
F = ./pal.tgt
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./pal.tgt "$(DESTDIR)$(libdir)/ivl/pal.tgt"
|
||||
|
||||
installdirs: $(srcdir)/../mkinstalldirs
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ F = ./pcb.tgt \
|
|||
$(srcdir)/pcb.conf \
|
||||
$(srcdir)/pcb-s.conf
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./pcb.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/pcb.tgt"
|
||||
$(INSTALL_DATA) $(srcdir)/pcb.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/pcb.conf"
|
||||
$(INSTALL_DATA) $(srcdir)/pcb-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/pcb-s.conf"
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ F = ./sizer.tgt \
|
|||
$(srcdir)/sizer.conf \
|
||||
$(srcdir)/sizer-s.conf
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./sizer.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/sizer.tgt"
|
||||
$(INSTALL_DATA) $(srcdir)/sizer.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/sizer.conf"
|
||||
$(INSTALL_DATA) $(srcdir)/sizer-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/sizer-s.conf"
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ F = ./stub.tgt \
|
|||
$(srcdir)/stub.conf \
|
||||
$(srcdir)/stub-s.conf
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./stub.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/stub.tgt"
|
||||
$(INSTALL_DATA) $(srcdir)/stub.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/stub.conf"
|
||||
$(INSTALL_DATA) $(srcdir)/stub-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/stub-s.conf"
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ install: all installdirs installfiles
|
|||
F = ./verilog.tgt \
|
||||
$(srcdir)/vpi_user.h
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./verilog.tgt "$(DESTDIR)$(libdir)/ivl/verilog.tgt"
|
||||
$(INSTALL_DATA) $(srcdir)/vpi_user.h "$(DESTDIR)$(includedir)/vpi_user.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ F = ./vhdl.tgt \
|
|||
$(srcdir)/vhdl.conf \
|
||||
$(srcdir)/vhdl-s.conf
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./vhdl.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.tgt"
|
||||
$(INSTALL_DATA) $(srcdir)/vhdl.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.conf"
|
||||
$(INSTALL_DATA) $(srcdir)/vhdl-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl-s.conf"
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ F = ./vlog95.tgt \
|
|||
$(srcdir)/vlog95.conf \
|
||||
$(srcdir)/vlog95-s.conf
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./vlog95.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vlog95.tgt"
|
||||
$(INSTALL_DATA) $(srcdir)/vlog95.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vlog95.conf"
|
||||
$(INSTALL_DATA) $(srcdir)/vlog95-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vlog95-s.conf"
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ F = ./vvp.tgt \
|
|||
./vvp.conf \
|
||||
./vvp-s.conf
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./vvp.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.tgt"
|
||||
$(INSTALL_DATA) ./vvp.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.conf"
|
||||
$(INSTALL_DATA) ./vvp-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp-s.conf"
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ install: all installdirs installfiles
|
|||
|
||||
F = vhdlpp@EXEEXT@
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./vhdlpp@EXEEXT@ "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdlpp@EXEEXT@"
|
||||
|
||||
installdirs: $(srcdir)/../mkinstalldirs
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ F = ./libvpi.a \
|
|||
./vhdl_textio.vpi \
|
||||
./vpi_debug.vpi
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_DATA) ./libvpi.a "$(DESTDIR)$(libdir)/libvpi$(suffix).a"
|
||||
$(INSTALL_PROGRAM) ./system.vpi "$(DESTDIR)$(vpidir)/system.vpi"
|
||||
$(INSTALL_PROGRAM) ./va_math.vpi "$(DESTDIR)$(vpidir)/va_math.vpi"
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ installman: vvp.man installdirs
|
|||
installpdf: vvp.pdf installdirs
|
||||
$(INSTALL_DATA) vvp.pdf "$(DESTDIR)$(prefix)/vvp$(suffix).pdf"
|
||||
|
||||
installfiles: $(F) installdirs
|
||||
installfiles: $(F) | installdirs
|
||||
$(INSTALL_PROGRAM) ./vvp@EXEEXT@ "$(DESTDIR)$(bindir)/vvp$(suffix)@EXEEXT@"
|
||||
|
||||
installdirs: $(srcdir)/../mkinstalldirs
|
||||
|
|
|
|||
Loading…
Reference in New Issue