• R/O
  • SSH
  • HTTPS

ported4hdl: Commit


Commit MetaInfo

Revision19 (tree)
Zeit2010-09-03 17:20:52
Autormolelord

Log Message

iverilog-0.9.2をビルド可能にした。

Ändern Zusammenfassung

Diff

--- trunk/build_icarus/iverilog-0.9.2.patch (nonexistent)
+++ trunk/build_icarus/iverilog-0.9.2.patch (revision 19)
@@ -0,0 +1,513 @@
1+diff -u -r a/vpi/lxt_write.h b/vpi/lxt_write.h
2+--- a/vpi/lxt_write.h 2009-12-31 01:45:06 +0900
3++++ b/vpi/lxt_write.h 2010-09-03 16:19:21 +0900
4+@@ -30,6 +30,7 @@
5+ #include <errno.h>
6+ #include <unistd.h>
7+ #include <zlib.h>
8++#define BZ_IMPORT
9+ #include <bzlib.h>
10+
11+ #ifndef HAVE_FSEEKO
12+diff -u -r a/driver-vpi/Makefile.in b/driver-vpi/Makefile.in
13+--- a/driver-vpi/Makefile.in 2009-12-31 01:45:06 +0900
14++++ b/driver-vpi/Makefile.in 2010-09-03 16:19:21 +0900
15+@@ -82,13 +82,13 @@
16+ windres -i res.rc -o res.o
17+ #
18+
19+-install: all installdirs $(bindir)/iverilog-vpi$(suffix)@EXEEXT@
20++install: all installdirs $(DESTDIR)$(bindir)/iverilog-vpi$(suffix)@EXEEXT@
21+
22+-$(bindir)/iverilog-vpi$(suffix)@EXEEXT@: ./iverilog-vpi@EXEEXT@
23+- $(INSTALL_PROGRAM) ./iverilog-vpi@EXEEXT@ "$(bindir)/iverilog-vpi$(suffix)@EXEEXT@"
24++$(DESTDIR)$(bindir)/iverilog-vpi$(suffix)@EXEEXT@: ./iverilog-vpi@EXEEXT@
25++ $(INSTALL_PROGRAM) ./iverilog-vpi@EXEEXT@ "$(DESTDIR)$(bindir)/iverilog-vpi$(suffix)@EXEEXT@"
26+
27+ installdirs: $(srcdir)/../mkinstalldirs
28+- $(srcdir)/../mkinstalldirs "$(bindir)"
29++ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(bindir)"
30+
31+ uninstall:
32+- rm -f $(bindir)/iverilog-vpi$(suffix)@EXEEXT@
33++ rm -f $(DESTDIR)$(bindir)/iverilog-vpi$(suffix)@EXEEXT@
34+diff -u -r a/Makefile.in b/Makefile.in
35+--- a/Makefile.in 2009-12-31 01:45:06 +0900
36++++ b/Makefile.in 2010-09-03 16:19:21 +0900
37+@@ -272,61 +272,61 @@
38+
39+ ifeq (@MINGW32@,yes)
40+ ifeq ($(MAN),none)
41+-INSTALL_DOC = $(mandir)/man1/iverilog-vpi$(suffix).1
42++INSTALL_DOC = $(DESTDIR)$(mandir)/man1/iverilog-vpi$(suffix).1
43+ else
44+ ifeq ($(PS2PDF),none)
45+-INSTALL_DOC = $(mandir)/man1/iverilog-vpi$(suffix).1
46++INSTALL_DOC = $(DESTDIR)$(mandir)/man1/iverilog-vpi$(suffix).1
47+ else
48+-INSTALL_DOC = $(prefix)/iverilog-vpi$(suffix).pdf $(mandir)/man1/iverilog-vpi$(suffix).1
49++INSTALL_DOC = $(DESTDIR)$(prefix)/iverilog-vpi$(suffix).pdf $(DESTDIR)$(mandir)/man1/iverilog-vpi$(suffix).1
50+ all: dep iverilog-vpi.pdf
51+ endif
52+ endif
53+-INSTALL_DOCDIR = $(mandir)/man1
54++INSTALL_DOCDIR = $(DESTDIR)$(mandir)/man1
55+ else
56+-INSTALL_DOC = $(mandir)/man1/iverilog-vpi$(suffix).1
57+-INSTALL_DOCDIR = $(mandir)/man1
58++INSTALL_DOC = $(DESTDIR)$(mandir)/man1/iverilog-vpi$(suffix).1
59++INSTALL_DOCDIR = $(DESTDIR)$(mandir)/man1
60+ endif
61+
62+ ifeq (@MINGW32@,yes)
63+ WIN32_INSTALL =
64+ else
65+-WIN32_INSTALL = $(bindir)/iverilog-vpi$(suffix)
66++WIN32_INSTALL = $(DESTDIR)$(bindir)/iverilog-vpi$(suffix)
67+ endif
68+
69+-install: all installdirs $(libdir)/ivl$(suffix)/ivl@EXEEXT@ $(libdir)/ivl$(suffix)/include/constants.vams $(libdir)/ivl$(suffix)/include/disciplines.vams $(includedir)/ivl_target.h $(includedir)/_pli_types.h $(includedir)/vpi_user.h $(includedir)/acc_user.h $(includedir)/veriuser.h $(WIN32_INSTALL) $(INSTALL_DOC)
70++install: all installdirs $(DESTDIR)$(libdir)/ivl$(suffix)/ivl@EXEEXT@ $(DESTDIR)$(libdir)/ivl$(suffix)/include/constants.vams $(DESTDIR)$(libdir)/ivl$(suffix)/include/disciplines.vams $(DESTDIR)$(includedir)/ivl_target.h $(DESTDIR)$(includedir)/_pli_types.h $(DESTDIR)$(includedir)/vpi_user.h $(DESTDIR)$(includedir)/acc_user.h $(DESTDIR)$(includedir)/veriuser.h $(WIN32_INSTALL) $(INSTALL_DOC)
71+ $(foreach dir,$(SUBDIRS),$(MAKE) -C $(dir) $@ && ) true
72+
73+-$(bindir)/iverilog-vpi$(suffix): ./iverilog-vpi
74++$(DESTDIR)$(bindir)/iverilog-vpi$(suffix): ./iverilog-vpi
75+ $(INSTALL_SCRIPT) ./iverilog-vpi "$(DESTDIR)$(bindir)/iverilog-vpi$(suffix)"
76+
77+-$(libdir)/ivl$(suffix)/ivl@EXEEXT@: ./ivl@EXEEXT@
78++$(DESTDIR)$(libdir)/ivl$(suffix)/ivl@EXEEXT@: ./ivl@EXEEXT@
79+ $(INSTALL_PROGRAM) ./ivl@EXEEXT@ "$(DESTDIR)$(libdir)/ivl$(suffix)/ivl@EXEEXT@"
80+
81+-$(libdir)/ivl$(suffix)/include/constants.vams: $(srcdir)/constants.vams
82++$(DESTDIR)$(libdir)/ivl$(suffix)/include/constants.vams: $(srcdir)/constants.vams
83+ $(INSTALL_DATA) $(srcdir)/constants.vams "$(DESTDIR)$(libdir)/ivl$(suffix)/include/constants.vams"
84+
85+-$(libdir)/ivl$(suffix)/include/disciplines.vams: $(srcdir)/disciplines.vams
86++$(DESTDIR)$(libdir)/ivl$(suffix)/include/disciplines.vams: $(srcdir)/disciplines.vams
87+ $(INSTALL_DATA) $(srcdir)/disciplines.vams "$(DESTDIR)$(libdir)/ivl$(suffix)/include/disciplines.vams"
88+
89+-$(includedir)/ivl_target.h: $(srcdir)/ivl_target.h
90++$(DESTDIR)$(includedir)/ivl_target.h: $(srcdir)/ivl_target.h
91+ $(INSTALL_DATA) $(srcdir)/ivl_target.h "$(DESTDIR)$(includedir)/ivl_target.h"
92+
93+-$(includedir)/_pli_types.h: _pli_types.h
94++$(DESTDIR)$(includedir)/_pli_types.h: _pli_types.h
95+ $(INSTALL_DATA) $< "$(DESTDIR)$(includedir)/_pli_types.h"
96+
97+-$(includedir)/vpi_user.h: $(srcdir)/vpi_user.h
98++$(DESTDIR)$(includedir)/vpi_user.h: $(srcdir)/vpi_user.h
99+ $(INSTALL_DATA) $(srcdir)/vpi_user.h "$(DESTDIR)$(includedir)/vpi_user.h"
100+
101+-$(includedir)/acc_user.h: $(srcdir)/acc_user.h
102++$(DESTDIR)$(includedir)/acc_user.h: $(srcdir)/acc_user.h
103+ $(INSTALL_DATA) $(srcdir)/acc_user.h "$(DESTDIR)$(includedir)/acc_user.h"
104+
105+-$(includedir)/veriuser.h: $(srcdir)/veriuser.h
106++$(DESTDIR)$(includedir)/veriuser.h: $(srcdir)/veriuser.h
107+ $(INSTALL_DATA) $(srcdir)/veriuser.h "$(DESTDIR)$(includedir)/veriuser.h"
108+
109+-$(mandir)/man1/iverilog-vpi$(suffix).1: iverilog-vpi.man
110++$(DESTDIR)$(mandir)/man1/iverilog-vpi$(suffix).1: iverilog-vpi.man
111+ $(INSTALL_DATA) iverilog-vpi.man "$(DESTDIR)$(mandir)/man1/iverilog-vpi$(suffix).1"
112+
113+-$(prefix)/iverilog-vpi$(suffix).pdf: iverilog-vpi.pdf
114++$(DESTDIR)$(prefix)/iverilog-vpi$(suffix).pdf: iverilog-vpi.pdf
115+ $(INSTALL_DATA) iverilog-vpi.pdf "$(DESTDIR)$(prefix)/iverilog-vpi$(suffix).pdf"
116+
117+
118+diff -u -r a/cadpli/Makefile.in b/cadpli/Makefile.in
119+--- a/cadpli/Makefile.in 2009-12-31 01:45:06 +0900
120++++ b/cadpli/Makefile.in 2010-09-03 16:19:21 +0900
121+@@ -76,9 +76,9 @@
122+ distclean: clean
123+ rm -f Makefile config.log
124+
125+-install: all installdirs $(vpidir)/cadpli.vpl
126++install: all installdirs $(DESTDIR)$(vpidir)/cadpli.vpl
127+
128+-$(vpidir)/cadpli.vpl: ./cadpli.vpl
129++$(DESTDIR)$(vpidir)/cadpli.vpl: ./cadpli.vpl
130+ $(INSTALL_PROGRAM) ./cadpli.vpl "$(DESTDIR)$(vpidir)/cadpli.vpl"
131+
132+ installdirs: $(srcdir)/../mkinstalldirs
133+diff -u -r a/driver/Makefile.in b/driver/Makefile.in
134+--- a/driver/Makefile.in 2009-12-31 01:45:06 +0900
135++++ b/driver/Makefile.in 2010-09-03 16:19:21 +0900
136+@@ -96,30 +96,30 @@
137+
138+ ifeq (@MINGW32@,yes)
139+ ifeq ($(MAN),none)
140+-INSTALL_DOC = $(mandir)/man1/iverilog$(suffix).1
141++INSTALL_DOC = $(DESTDIR)$(mandir)/man1/iverilog$(suffix).1
142+ else
143+ ifeq ($(PS2PDF),none)
144+-INSTALL_DOC = $(mandir)/man1/iverilog$(suffix).1
145++INSTALL_DOC = $(DESTDIR)$(mandir)/man1/iverilog$(suffix).1
146+ else
147+-INSTALL_DOC = $(prefix)/iverilog$(suffix).pdf $(mandir)/man1/iverilog$(suffix).1
148++INSTALL_DOC = $(DESTDIR)$(prefix)/iverilog$(suffix).pdf $(DESTDIR)$(mandir)/man1/iverilog$(suffix).1
149+ all: iverilog.pdf
150+ endif
151+ endif
152+-INSTALL_DOCDIR = $(mandir)/man1
153++INSTALL_DOCDIR = $(DESTDIR)$(mandir)/man1
154+ else
155+-INSTALL_DOC = $(mandir)/man1/iverilog$(suffix).1
156+-INSTALL_DOCDIR = $(mandir)/man1
157++INSTALL_DOC = $(DESTDIR)$(mandir)/man1/iverilog$(suffix).1
158++INSTALL_DOCDIR = $(DESTDIR)$(mandir)/man1
159+ endif
160+
161+-install: all installdirs $(bindir)/iverilog$(suffix)@EXEEXT@ $(INSTALL_DOC)
162++install: all installdirs $(DESTDIR)$(bindir)/iverilog$(suffix)@EXEEXT@ $(INSTALL_DOC)
163+
164+-$(bindir)/iverilog$(suffix)@EXEEXT@: ./iverilog@EXEEXT@
165++$(DESTDIR)$(bindir)/iverilog$(suffix)@EXEEXT@: ./iverilog@EXEEXT@
166+ $(INSTALL_PROGRAM) ./iverilog@EXEEXT@ "$(DESTDIR)$(bindir)/iverilog$(suffix)@EXEEXT@"
167+
168+-$(mandir)/man1/iverilog$(suffix).1: iverilog.man
169++$(DESTDIR)$(mandir)/man1/iverilog$(suffix).1: iverilog.man
170+ $(INSTALL_DATA) iverilog.man "$(DESTDIR)$(mandir)/man1/iverilog$(suffix).1"
171+
172+-$(prefix)/iverilog$(suffix).pdf: iverilog.pdf
173++$(DESTDIR)$(prefix)/iverilog$(suffix).pdf: iverilog.pdf
174+ $(INSTALL_DATA) iverilog.pdf "$(DESTDIR)$(prefix)/iverilog$(suffix).pdf"
175+
176+ installdirs: $(srcdir)/../mkinstalldirs
177+diff -u -r a/ivlpp/Makefile.in b/ivlpp/Makefile.in
178+--- a/ivlpp/Makefile.in 2009-12-31 01:45:06 +0900
179++++ b/ivlpp/Makefile.in 2010-09-03 16:19:21 +0900
180+@@ -62,9 +62,9 @@
181+ lexor.c: lexor.lex
182+ flex -olexor.c $(srcdir)/lexor.lex
183+
184+-install: all installdirs $(libdir)/ivl$(suffix)/ivlpp@EXEEXT@
185++install: all installdirs $(DESTDIR)$(libdir)/ivl$(suffix)/ivlpp@EXEEXT@
186+
187+-$(libdir)/ivl$(suffix)/ivlpp@EXEEXT@: ivlpp@EXEEXT@
188++$(DESTDIR)$(libdir)/ivl$(suffix)/ivlpp@EXEEXT@: ivlpp@EXEEXT@
189+ $(INSTALL_PROGRAM) ./ivlpp@EXEEXT@ "$(DESTDIR)$(libdir)/ivl$(suffix)/ivlpp@EXEEXT@"
190+
191+ installdirs: $(srcdir)/../mkinstalldirs
192+diff -u -r a/libveriuser/Makefile.in b/libveriuser/Makefile.in
193+--- a/libveriuser/Makefile.in 2009-12-31 01:45:06 +0900
194++++ b/libveriuser/Makefile.in 2010-09-03 16:19:21 +0900
195+@@ -90,9 +90,9 @@
196+ rm -f Makefile config.log
197+ rm -f config.h stamp-config-h
198+
199+-install:: all installdirs $(libdir)/libveriuser$(suffix).a $(INSTALL32)
200++install:: all installdirs $(DESTDIR)$(libdir)/libveriuser$(suffix).a $(INSTALL32)
201+
202+-$(libdir)/libveriuser$(suffix).a: ./libveriuser.a
203++$(DESTDIR)$(libdir)/libveriuser$(suffix).a: ./libveriuser.a
204+ $(INSTALL_DATA) ./libveriuser.a "$(DESTDIR)$(libdir)/libveriuser$(suffix).a"
205+
206+ installdirs: $(srcdir)/../mkinstalldirs
207+diff -u -r a/pform_disciplines.cc b/pform_disciplines.cc
208+--- a/pform_disciplines.cc 2009-12-31 01:45:06 +0900
209++++ b/pform_disciplines.cc 2010-09-03 16:19:21 +0900
210+@@ -27,8 +27,8 @@
211+ map<perm_string,ivl_discipline_t> disciplines;
212+ map<perm_string,ivl_nature_t> access_function_nature;
213+
214+-static perm_string nature_name = perm_string::perm_string();
215+-static perm_string nature_access = perm_string::perm_string();
216++static perm_string nature_name;
217++static perm_string nature_access;
218+
219+ void pform_start_nature(const char*name)
220+ {
221+@@ -82,8 +82,8 @@
222+ // expressions that use the access function can find it.
223+ access_function_nature[nature_access] = tmp;
224+
225+- nature_name = perm_string::perm_string();
226+- nature_access = perm_string::perm_string();
227++ nature_name = perm_string::literal(0);
228++ nature_access = perm_string::literal(0);
229+ }
230+
231+
232+@@ -171,7 +171,7 @@
233+ FILE_NAME(tmp, loc);
234+
235+ /* Clear the static variables for the next item. */
236+- discipline_name = perm_string::perm_string();
237++ discipline_name = perm_string::literal(0);
238+ discipline_domain = IVL_DIS_NONE;
239+ discipline_potential = 0;
240+ discipline_flow = 0;
241+diff -u -r a/tgt-fpga/Makefile.in b/tgt-fpga/Makefile.in
242+--- a/tgt-fpga/Makefile.in 2009-12-31 01:45:06 +0900
243++++ b/tgt-fpga/Makefile.in 2010-09-03 16:19:21 +0900
244+@@ -85,30 +85,30 @@
245+ check: all
246+
247+ ifeq (@WIN32@,yes)
248+-INSTALL_DOC = $(prefix)/iverilog-fpga$(suffix).pdf $(mandir)/man1/iverilog-fpga$(suffix).1
249+-INSTALL_DOCDIR = $(mandir)/man1
250++INSTALL_DOC = $(DESTDIR)$(prefix)/iverilog-fpga$(suffix).pdf $(DESTDIR)$(mandir)/man1/iverilog-fpga$(suffix).1
251++INSTALL_DOCDIR = $(DESTDIR)$(mandir)/man1
252+ all: iverilog-fpga.pdf
253+ else
254+-INSTALL_DOC = $(mandir)/man1/iverilog-fpga$(suffix).1
255+-INSTALL_DOCDIR = $(mandir)/man1
256++INSTALL_DOC = $(DESTDIR)$(mandir)/man1/iverilog-fpga$(suffix).1
257++INSTALL_DOCDIR = $(DESTDIR)$(mandir)/man1
258+ endif
259+
260+-install: all installdirs $(libdir)/ivl$(suffix)/fpga.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/fpga.conf $(libdir)/ivl$(suffix)/fpga-s.conf
261++install: all installdirs $(DESTDIR)$(libdir)/ivl$(suffix)/fpga.tgt $(INSTALL_DOC) $(DESTDIR)$(libdir)/ivl$(suffix)/fpga.conf $(DESTDIR)$(libdir)/ivl$(suffix)/fpga-s.conf
262+
263+-$(libdir)/ivl$(suffix)/fpga.tgt: ./fpga.tgt
264++$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.tgt: ./fpga.tgt
265+ $(INSTALL_PROGRAM) ./fpga.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.tgt"
266+
267+-$(libdir)/ivl$(suffix)/fpga.conf: $(srcdir)/fpga.conf
268++$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.conf: $(srcdir)/fpga.conf
269+ $(INSTALL_DATA) $(srcdir)/fpga.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga.conf"
270+
271+-$(libdir)/ivl$(suffix)/fpga-s.conf: $(srcdir)/fpga-s.conf
272++$(DESTDIR)$(libdir)/ivl$(suffix)/fpga-s.conf: $(srcdir)/fpga-s.conf
273+ $(INSTALL_DATA) $(srcdir)/fpga-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/fpga-s.conf"
274+
275+
276+-$(mandir)/man1/iverilog-fpga$(suffix).1: $(srcdir)/iverilog-fpga.man
277++$(DESTDIR)$(mandir)/man1/iverilog-fpga$(suffix).1: $(srcdir)/iverilog-fpga.man
278+ $(INSTALL_DATA) $(srcdir)/iverilog-fpga.man "$(DESTDIR)$(mandir)/man1/iverilog-fpga$(suffix).1"
279+
280+-$(prefix)/iverilog-fpga$(suffix).pdf: iverilog-fpga.pdf
281++$(DESTDIR)$(prefix)/iverilog-fpga$(suffix).pdf: iverilog-fpga.pdf
282+ $(INSTALL_DATA) iverilog-fpga.pdf "$(DESTDIR)$(prefix)/iverilog-fpga$(suffix).pdf"
283+
284+ installdirs: $(srcdir)/../mkinstalldirs
285+diff -u -r a/tgt-null/Makefile.in b/tgt-null/Makefile.in
286+--- a/tgt-null/Makefile.in 2009-12-31 01:45:06 +0900
287++++ b/tgt-null/Makefile.in 2010-09-03 16:19:21 +0900
288+@@ -72,15 +72,15 @@
289+ Makefile: $(srcdir)/Makefile.in ../config.status
290+ cd ..; ./config.status --file=tgt-null/$@
291+
292+-install: all installdirs $(libdir)/ivl$(suffix)/null.tgt $(INSTALL_DOC) $(libdir)/ivl$(suffix)/null.conf $(libdir)/ivl$(suffix)/null-s.conf
293++install: all installdirs $(DESTDIR)$(libdir)/ivl$(suffix)/null.tgt $(INSTALL_DOC) $(DESTDIR)$(libdir)/ivl$(suffix)/null.conf $(DESTDIR)$(libdir)/ivl$(suffix)/null-s.conf
294+
295+-$(libdir)/ivl$(suffix)/null.tgt: ./null.tgt
296++$(DESTDIR)$(libdir)/ivl$(suffix)/null.tgt: ./null.tgt
297+ $(INSTALL_PROGRAM) ./null.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/null.tgt"
298+
299+-$(libdir)/ivl$(suffix)/null.conf: $(srcdir)/null.conf
300++$(DESTDIR)$(libdir)/ivl$(suffix)/null.conf: $(srcdir)/null.conf
301+ $(INSTALL_DATA) $(srcdir)/null.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/null.conf"
302+
303+-$(libdir)/ivl$(suffix)/null-s.conf: $(srcdir)/null-s.conf
304++$(DESTDIR)$(libdir)/ivl$(suffix)/null-s.conf: $(srcdir)/null-s.conf
305+ $(INSTALL_DATA) $(srcdir)/null-s.conf "$(DESTDIR)$(libdir)/ivl$(suffix)/null-s.conf"
306+
307+
308+diff -u -r a/tgt-pal/Makefile.in b/tgt-pal/Makefile.in
309+--- a/tgt-pal/Makefile.in 2009-12-31 01:45:06 +0900
310++++ b/tgt-pal/Makefile.in 2010-09-03 16:19:21 +0900
311+@@ -69,9 +69,9 @@
312+ Makefile: $(srcdir)/Makefile.in ../config.status
313+ ../config.status --file=$@
314+
315+-install: all installdirs $(libdir)/ivl/pal.tgt
316++install: all installdirs $(DESTDIR)$(libdir)/ivl/pal.tgt
317+
318+-$(libdir)/ivl/pal.tgt: ./pal.tgt
319++$(DESTDIR)$(libdir)/ivl/pal.tgt: ./pal.tgt
320+ $(INSTALL_PROGRAM) ./pal.tgt "$(DESTDIR)$(libdir)/ivl/pal.tgt"
321+
322+
323+diff -u -r a/tgt-stub/Makefile.in b/tgt-stub/Makefile.in
324+--- a/tgt-stub/Makefile.in 2009-12-31 01:45:06 +0900
325++++ b/tgt-stub/Makefile.in 2010-09-03 16:19:21 +0900
326+@@ -73,16 +73,16 @@
327+ Makefile: $(srcdir)/Makefile.in ../config.status
328+ cd ..; ./config.status --file=tgt-stub/$@
329+
330+-install: all installdirs $(libdir)/ivl$(suffix)/stub.tgt \
331+- $(libdir)/ivl$(suffix)/stub.conf $(libdir)/ivl$(suffix)/stub-s.conf
332++install: all installdirs $(DESTDIR)$(libdir)/ivl$(suffix)/stub.tgt \
333++ $(DESTDIR)$(libdir)/ivl$(suffix)/stub.conf $(DESTDIR)$(libdir)/ivl$(suffix)/stub-s.conf
334+
335+-$(libdir)/ivl$(suffix)/stub.tgt: ./stub.tgt
336++$(DESTDIR)$(libdir)/ivl$(suffix)/stub.tgt: ./stub.tgt
337+ $(INSTALL_PROGRAM) ./stub.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/stub.tgt"
338+
339+-$(libdir)/ivl$(suffix)/stub.conf: stub.conf
340++$(DESTDIR)$(libdir)/ivl$(suffix)/stub.conf: stub.conf
341+ $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/stub.conf"
342+
343+-$(libdir)/ivl$(suffix)/stub-s.conf: stub-s.conf
344++$(DESTDIR)$(libdir)/ivl$(suffix)/stub-s.conf: stub-s.conf
345+ $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/stub-s.conf"
346+
347+ installdirs: $(srcdir)/../mkinstalldirs
348+diff -u -r a/tgt-verilog/Makefile.in b/tgt-verilog/Makefile.in
349+--- a/tgt-verilog/Makefile.in 2009-12-31 01:45:06 +0900
350++++ b/tgt-verilog/Makefile.in 2010-09-03 16:19:21 +0900
351+@@ -70,10 +70,10 @@
352+
353+ check: all
354+
355+-install: all installdirs $(libdir)/ivl/verilog.tgt \
356+- $(includedir)/vpi_user.h
357++install: all installdirs $(DESTDIR)$(libdir)/ivl/verilog.tgt \
358++ $(DESTDIR)$(includedir)/vpi_user.h
359+
360+-$(libdir)/ivl/verilog.tgt: ./verilog.tgt
361++$(DESTDIR)$(libdir)/ivl/verilog.tgt: ./verilog.tgt
362+ $(INSTALL_PROGRAM) ./verilog.tgt "$(DESTDIR)$(libdir)/ivl/verilog.tgt"
363+
364+
365+diff -u -r a/tgt-vhdl/Makefile.in b/tgt-vhdl/Makefile.in
366+--- a/tgt-vhdl/Makefile.in 2009-12-31 01:45:06 +0900
367++++ b/tgt-vhdl/Makefile.in 2010-09-03 16:19:21 +0900
368+@@ -80,16 +80,16 @@
369+
370+ check: all
371+
372+-install: all installdirs $(libdir)/ivl$(suffix)/vhdl.tgt $(libdir)/ivl$(suffix)/vhdl.conf \
373+- $(libdir)/ivl$(suffix)/vhdl-s.conf
374++install: all installdirs $(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.tgt $(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.conf \
375++ $(DESTDIR)$(libdir)/ivl$(suffix)/vhdl-s.conf
376+
377+-$(libdir)/ivl$(suffix)/vhdl.tgt: ./vhdl.tgt
378++$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.tgt: ./vhdl.tgt
379+ $(INSTALL_PROGRAM) ./vhdl.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.tgt"
380+
381+-$(libdir)/ivl$(suffix)/vhdl.conf: vhdl.conf
382++$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.conf: vhdl.conf
383+ $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl.conf"
384+
385+-$(libdir)/ivl$(suffix)/vhdl-s.conf: vhdl-s.conf
386++$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl-s.conf: vhdl-s.conf
387+ $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/vhdl-s.conf"
388+
389+ installdirs: $(srcdir)/../mkinstalldirs
390+diff -u -r a/tgt-vvp/Makefile.in b/tgt-vvp/Makefile.in
391+--- a/tgt-vvp/Makefile.in 2009-12-31 01:45:06 +0900
392++++ b/tgt-vvp/Makefile.in 2010-09-03 16:19:21 +0900
393+@@ -91,15 +91,15 @@
394+
395+ check: all
396+
397+-install: all installdirs $(libdir)/ivl$(suffix)/vvp.tgt $(libdir)/ivl$(suffix)/vvp.conf $(libdir)/ivl$(suffix)/vvp-s.conf
398++install: all installdirs $(DESTDIR)$(libdir)/ivl$(suffix)/vvp.tgt $(DESTDIR)$(libdir)/ivl$(suffix)/vvp.conf $(DESTDIR)$(libdir)/ivl$(suffix)/vvp-s.conf
399+
400+-$(libdir)/ivl$(suffix)/vvp.tgt: ./vvp.tgt
401++$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.tgt: ./vvp.tgt
402+ $(INSTALL_PROGRAM) ./vvp.tgt "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.tgt"
403+
404+-$(libdir)/ivl$(suffix)/vvp.conf: vvp.conf
405++$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.conf: vvp.conf
406+ $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp.conf"
407+
408+-$(libdir)/ivl$(suffix)/vvp-s.conf: vvp-s.conf
409++$(DESTDIR)$(libdir)/ivl$(suffix)/vvp-s.conf: vvp-s.conf
410+ $(INSTALL_DATA) $< "$(DESTDIR)$(libdir)/ivl$(suffix)/vvp-s.conf"
411+
412+
413+diff -u -r a/vpi/Makefile.in b/vpi/Makefile.in
414+--- a/vpi/Makefile.in 2009-12-31 01:45:06 +0900
415++++ b/vpi/Makefile.in 2010-09-03 16:19:21 +0900
416+@@ -123,27 +123,27 @@
417+ check: all
418+
419+ install: all installdirs \
420+- $(vpidir)/system.vpi $(vpidir)/system.sft \
421+- $(vpidir)/va_math.vpi $(vpidir)/va_math.sft \
422+- $(vpidir)/v2005_math.vpi $(vpidir)/v2005_math.sft
423++ $(DESTDIR)$(vpidir)/system.vpi $(DESTDIR)$(vpidir)/system.sft \
424++ $(DESTDIR)$(vpidir)/va_math.vpi $(DESTDIR)$(vpidir)/va_math.sft \
425++ $(DESTDIR)$(vpidir)/v2005_math.vpi $(DESTDIR)$(vpidir)/v2005_math.sft
426+
427+-$(vpidir)/system.vpi: ./system.vpi
428++$(DESTDIR)$(vpidir)/system.vpi: ./system.vpi
429+ $(INSTALL_PROGRAM) ./system.vpi "$(DESTDIR)$(vpidir)/system.vpi"
430+
431+-$(vpidir)/system.sft: system.sft
432+- $(INSTALL_DATA) $< "$(DESTDIR)$@"
433++$(DESTDIR)$(vpidir)/system.sft: system.sft
434++ $(INSTALL_DATA) $< "$@"
435+
436+-$(vpidir)/va_math.vpi: ./va_math.vpi
437++$(DESTDIR)$(vpidir)/va_math.vpi: ./va_math.vpi
438+ $(INSTALL_PROGRAM) ./va_math.vpi "$(DESTDIR)$(vpidir)/va_math.vpi"
439+
440+-$(vpidir)/va_math.sft: va_math.sft
441+- $(INSTALL_DATA) $< "$(DESTDIR)$@"
442++$(DESTDIR)$(vpidir)/va_math.sft: va_math.sft
443++ $(INSTALL_DATA) $< "$@"
444+
445+-$(vpidir)/v2005_math.vpi: ./v2005_math.vpi
446++$(DESTDIR)$(vpidir)/v2005_math.vpi: ./v2005_math.vpi
447+ $(INSTALL_PROGRAM) ./v2005_math.vpi "$(DESTDIR)$(vpidir)/v2005_math.vpi"
448+
449+-$(vpidir)/v2005_math.sft: v2005_math.sft
450+- $(INSTALL_DATA) $< "$(DESTDIR)$@"
451++$(DESTDIR)$(vpidir)/v2005_math.sft: v2005_math.sft
452++ $(INSTALL_DATA) $< "$@"
453+
454+ installdirs: $(srcdir)/../mkinstalldirs
455+ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(libdir)" "$(DESTDIR)$(vpidir)"
456+diff -u -r a/vvp/Makefile.in b/vvp/Makefile.in
457+--- a/vvp/Makefile.in 2009-12-31 01:45:06 +0900
458++++ b/vvp/Makefile.in 2010-09-03 16:22:10 +0900
459+@@ -157,19 +157,19 @@
460+
461+ ifeq (@MINGW32@,yes)
462+ ifeq ($(MAN),none)
463+-INSTALL_DOC = $(mandir)/man1/vvp$(suffix).1
464++INSTALL_DOC = $(DESTDIR)$(mandir)/man1/vvp$(suffix).1
465+ else
466+ ifeq ($(PS2PDF),none)
467+-INSTALL_DOC = $(mandir)/man1/vvp$(suffix).1
468++INSTALL_DOC = $(DESTDIR)$(mandir)/man1/vvp$(suffix).1
469+ else
470+-INSTALL_DOC = $(prefix)/vvp$(suffix).pdf $(mandir)/man1/vvp$(suffix).1
471++INSTALL_DOC = $(DESTDIR)$(prefix)/vvp$(suffix).pdf $(DESTDIR)$(mandir)/man1/vvp$(suffix).1
472+ all: vvp.pdf
473+ endif
474+ endif
475+-INSTALL_DOCDIR = $(mandir)/man1
476++INSTALL_DOCDIR = $(DESTDIR)$(mandir)/man1
477+ else
478+-INSTALL_DOC = $(mandir)/man1/vvp$(suffix).1
479+-INSTALL_DOCDIR = $(mandir)/man1
480++INSTALL_DOC = $(DESTDIR)$(mandir)/man1/vvp$(suffix).1
481++INSTALL_DOCDIR = $(DESTDIR)$(mandir)/man1
482+ endif
483+
484+ Makefile: $(srcdir)/Makefile.in
485+@@ -180,22 +180,22 @@
486+ cd ..; ./config.status --header=vvp/config.h
487+ config.h: stamp-config-h
488+
489+-install: all installdirs $(bindir)/vvp$(suffix)@EXEEXT@ $(libdir)/libvpi$(suffix).a $(INSTALL_DOC)
490++install: all installdirs $(DESTDIR)$(bindir)/vvp$(suffix)@EXEEXT@ $(DESTDIR)$(libdir)/libvpi$(suffix).a $(INSTALL_DOC)
491+
492+-$(bindir)/vvp$(suffix)@EXEEXT@: ./vvp@EXEEXT@
493++$(DESTDIR)$(bindir)/vvp$(suffix)@EXEEXT@: ./vvp@EXEEXT@
494+ $(INSTALL_PROGRAM) ./vvp@EXEEXT@ "$(DESTDIR)$(bindir)/vvp$(suffix)@EXEEXT@"
495+
496+-$(libdir)/libvpi$(suffix).a : ./libvpi.a
497++$(DESTDIR)$(libdir)/libvpi$(suffix).a : ./libvpi.a
498+ $(INSTALL_DATA) libvpi.a "$(DESTDIR)$(libdir)/libvpi$(suffix).a"
499+
500+-$(mandir)/man1/vvp$(suffix).1: vvp.man
501++$(DESTDIR)$(mandir)/man1/vvp$(suffix).1: vvp.man
502+ $(INSTALL_DATA) vvp.man "$(DESTDIR)$(mandir)/man1/vvp$(suffix).1"
503+
504+-$(prefix)/vvp$(suffix).pdf: vvp.pdf
505++$(DESTDIR)$(prefix)/vvp$(suffix).pdf: vvp.pdf
506+ $(INSTALL_DATA) vvp.pdf "$(DESTDIR)$(prefix)/vvp$(suffix).pdf"
507+
508+ installdirs: $(srcdir)/../mkinstalldirs
509+- $(srcdir)/../mkinstalldirs "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(INSTALL_DOCDIR)"
510++ $(srcdir)/../mkinstalldirs "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libdir)" "$(INSTALL_DOCDIR)"
511+
512+
513+ uninstall: $(UNINSTALL32)
Show on old repository browser