Skip to content
Newer
Older
100644 319 lines (260 sloc) 10.8 KB
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
1 #
2 # This source code is free software; you can redistribute it
3 # and/or modify it in source code form under the terms of the GNU
4 # Library General Public License as published by the Free Software
5 # Foundation; either version 2 of the License, or (at your option)
f7d62b9 whoops, wrong copyright notice.
steve authored Nov 21, 2000
6 # any later version.
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU Library General Public License for more details.
12 #
13 # You should have received a copy of the GNU Library General Public
14 # License along with this program; if not, write to the Free
15 # Software Foundation, Inc.,
16 # 59 Temple Place - Suite 330
17 # Boston, MA 02111-1307, USA
18 #
19 SHELL = /bin/sh
20
7c3f5c9 Support print of version number.
steve authored Feb 3, 2002
21 # This version string is only used in the version message printed
22 # by the compiler. It reflects the assigned version number for the
23 # product as a whole. Most components also print the CVS Name: token
24 # in order to get a more automatic version stamp as well.
fde4ff7 Display as version 0.9.devel
steve authored Jul 14, 2005
25 VERSION = 0.9.devel
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
26
27 prefix = @prefix@
28 exec_prefix = @exec_prefix@
29 srcdir = @srcdir@
5ec91ec @steveicarus Add datarootdir to makefiles
authored Jan 24, 2008
30 datarootdir = @datarootdir@
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
31
cb65ee5 Add the vvp engine to cvs.
steve authored Mar 11, 2001
32 SUBDIRS = @subdirs@
33
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
34 VPATH = $(srcdir)
35
197ed46 configure bindir and libdir
steve authored Nov 11, 2000
36 bindir = @bindir@
37 libdir = @libdir@
1de5e6c Support --includedir to configure.
steve authored Sep 17, 2003
38 includedir = @includedir@
c594dce Add new iverilog-vpi man page.
steve authored May 28, 2002
39 mandir = @mandir@
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
40
566aad9 Start stub for loadable targets.
steve authored Aug 12, 2000
41 dllib=@DLLIB@
42
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
43 CC = @CC@
44 CXX = @CXX@
45 INSTALL = @INSTALL@
e6bd088 Compile time problems with vpi_user.h
steve authored Jan 23, 2000
46 INSTALL_SCRIPT = @INSTALL_SCRIPT@
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
357a0ff Detect bison and flex in configure.in
steve authored Dec 30, 2001
49 LEX = @LEX@
50 YACC = @YACC@
b26bdd3 @caryr MinGW fixes (development)
caryr authored May 22, 2008
51 MAN = @MAN@
52 PS2PDF = @PS2PDF@
53 GIT = @GIT@
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
54
8188c4c Makefile cleanup.
steve authored Feb 10, 2004
55 CPPFLAGS = @ident_support@ @DEFS@ -I. -I$(srcdir) @CPPFLAGS@
56 CXXFLAGS = -Wall @CXXFLAGS@
3154f07 compile libvpi.a with PIC flags (Dan McMahill)
steve authored Jul 11, 2001
57 PICFLAGS = @PICFLAG@
8188c4c Makefile cleanup.
steve authored Feb 10, 2004
58 LDFLAGS = @rdynamic@ @LDFLAGS@
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
59
ad3a73f Append last git tag and abbreviated commit-id to version string.
J Varshney authored Apr 5, 2008
60 all: dep version.h ivl@EXEEXT@
90de390 Minor tweaks to iterated rules,
steve authored Mar 15, 2003
61 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
f20191e tgt-verilog is not buildable for now.
steve authored Sep 20, 2006
62 for dir in ivlpp ; \
90de390 Minor tweaks to iterated rules,
steve authored Mar 15, 2003
63 do (cd $$dir ; $(MAKE) $@); done
64 cd driver ; $(MAKE) VERSION=$(VERSION) $@
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
65
176e6d0 Add install of examples for Windows.
steve authored Aug 3, 2001
66 # In the windows world, the installer will need a dosify program to
67 # dosify text files.
b26bdd3 @caryr MinGW fixes (development)
caryr authored May 22, 2008
68 ifeq (@MINGW32@,yes)
feee406 Makefile cleanups to better support concurrent make.
steve authored Feb 27, 2003
69 all: dep dosify.exe
176e6d0 Add install of examples for Windows.
steve authored Aug 3, 2001
70 dosify.exe: dosify.c
71 $(CC) -o dosify.exe dosify.c
72 endif
73
431228e make check target (PR#3)
steve authored Oct 28, 2000
74 # This rule rules the compiler in the trivial hello.vl program to make
75 # sure the basics were compiled properly.
76 check: all
ac91dc3 Recursive make check target.
steve authored Mar 25, 2001
77 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) check); done
0a630b6 Fix make check for pristine sources.
steve authored Sep 18, 2004
78 test -r check.conf || cp $(srcdir)/check.conf .
19e8a92 Fix make check to support -tconf configuration method.
steve authored Dec 12, 2003
79 driver/iverilog -B. -BPivlpp -tcheck -ocheck.vvp $(srcdir)/examples/hello.vl
54206ef Make sure to use local system.vpi.
steve authored Jan 18, 2003
80 vvp/vvp -M- -M./vpi ./check.vvp | grep 'Hello, World'
431228e make check target (PR#3)
steve authored Oct 28, 2000
81
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
82 clean:
90de390 Minor tweaks to iterated rules,
steve authored Mar 15, 2003
83 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
8413784 Updates for Cygwin portability (pr1585922)
steve authored Oct 30, 2006
84 for dir in vpi ivlpp tgt-verilog tgt-pal driver driver-vpi; \
90de390 Minor tweaks to iterated rules,
steve authored Mar 15, 2003
85 do (cd $$dir ; $(MAKE) $@); done
e4ae832 Clean up spurious trailing white space.
steve authored Oct 4, 2004
86 rm -f *.o parse.cc parse.cc.output parse.h lexor.cc
8413784 Updates for Cygwin portability (pr1585922)
steve authored Oct 30, 2006
87 rm -f ivl.exp iverilog-vpi.pdf iverilog-vpi.ps parse.output
3fd80b0 Administrative/Makefile fixes, mostly for windows. (Cary R.)
steve authored Feb 6, 2007
88 rm -f syn-rules.output dosify.exe ivl@EXEEXT@ check.vvp
feee406 Makefile cleanups to better support concurrent make.
steve authored Feb 27, 2003
89 rm -f lexor_keyword.cc libivl.a libvpi.a iverilog-vpi syn-rules.cc*
3fd80b0 Administrative/Makefile fixes, mostly for windows. (Cary R.)
steve authored Feb 6, 2007
90 rm -rf dep
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
91
8bad04a cannonical make targets, and strip on install.
steve authored Oct 23, 1999
92 distclean: clean
90de390 Minor tweaks to iterated rules,
steve authored Mar 15, 2003
93 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
8413784 Updates for Cygwin portability (pr1585922)
steve authored Oct 30, 2006
94 for dir in vpi ivlpp tgt-verilog tgt-pal driver driver-vpi; \
90de390 Minor tweaks to iterated rules,
steve authored Mar 15, 2003
95 do (cd $$dir ; $(MAKE) $@); done
feee406 Makefile cleanups to better support concurrent make.
steve authored Feb 27, 2003
96 rm -f Makefile config.status config.log config.cache config.h
8413784 Updates for Cygwin portability (pr1585922)
steve authored Oct 30, 2006
97 rm -f _pli_types.h
8bad04a cannonical make targets, and strip on install.
steve authored Oct 23, 1999
98
65e9b6b Rework of internals to carry vectors through nexus instead
steve authored Dec 11, 2004
99 TT = t-dll.o t-dll-api.o t-dll-expr.o t-dll-proc.o
100 FF = cprop.o nodangle.o synth.o synth2.o syn-rules.o
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
101
5b27317 @steveicarus Parse disciplines and contribution statements
authored May 11, 2008
102 O = main.o async.o design_dump.o discipline.o dup_expr.o elaborate.o elab_expr.o \
4a8be3d Implement bi-directional part selects.
steve authored Aug 6, 2005
103 elab_lval.o elab_net.o elab_pexpr.o elab_scope.o \
e571dd9 Calculate delay statement delays using elaborated
steve authored Feb 8, 2003
104 elab_sig.o emit.o eval.o eval_attrib.o \
b6ce313 move lval elaboration to PExpr virtual methods.
steve authored Sep 9, 2000
105 eval_tree.o expr_synth.o functor.o lexor.o lexor_keyword.o link_const.o \
186759c Do not need mangle.o unless vvm us used.
steve authored May 6, 2002
106 load_module.o netlist.o netmisc.o net_assign.o \
b7c2bd4 Add the NetUserFunc netlist node.
steve authored Mar 9, 2002
107 net_design.o net_event.o net_expr.o net_force.o net_func.o \
9b6b081 Add structure for asynchronous logic synthesis.
steve authored Jun 30, 2002
108 net_link.o net_modulo.o net_nex_input.o net_nex_output.o \
ec773fe @steveicarus Elaborate tran devices
authored May 19, 2008
109 net_proc.o net_scope.o net_tran.o net_udp.o pad_to_width.o \
5b27317 @steveicarus Parse disciplines and contribution statements
authored May 11, 2008
110 parse.o parse_misc.o pform.o pform_disciplines.o pform_dump.o pform_types.o \
a0ed5e9 Separate out the lookup_sys_func table, for eventual
steve authored Mar 9, 2004
111 set_width.o symbol_search.o sync.o sys_funcs.o \
ab6c8cb Parser and pform use hierarchical names as hname_t
steve authored Dec 3, 2001
112 verinum.o verireal.o target.o targets.o \
b9799cf Remove NetVariable and ivl_variable_t structures.
steve authored Jul 11, 2005
113 Attrib.o HName.o LineInfo.o Module.o PDelays.o PEvent.o \
3f2fa29 @steveicarus Factor compile-time scopes into PScope class
authored Feb 13, 2008
114 PExpr.o PGate.o PGenerate.o PScope.o PSpec.o \
4a8b9e5 Move PUdp constructor into compiled file.
steve authored Jul 15, 2003
115 PTask.o PUdp.o PFunction.o PWire.o Statement.o StringHeap.o \
3ff6912 Elaborate user defined tasks.
steve authored Jul 3, 1999
116 $(FF) $(TT)
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
117
b825f8d Create a config.h.in file to hold all the config
steve authored Jul 25, 2001
118 Makefile: Makefile.in config.h.in config.status
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
119 ./config.status
120
b62f094 Add the verilog.sh script.
steve authored Aug 17, 1999
121
de8c725 Mingw32 support (Venkat Iyer)
steve authored May 20, 2001
122 ifeq (@WIN32@,yes)
3e4eb17 Another go at getting link of ivl.exe right.
steve authored Oct 19, 2001
123 # Under Windows (mingw) I need to make the ivl.exe in two steps.
124 # The first step makes an ivl.exe that dlltool can use to make an
125 # export and import library, and the last link makes a, ivl.exe
126 # that really exports the things that the import library imports.
43e8a08 Tell make to find ivl.def and vvp.def in srcdir.
J Varshney authored Apr 5, 2008
127 ivl@EXEEXT@: $O $(srcdir)/ivl.def
e4ae832 Clean up spurious trailing white space.
steve authored Oct 4, 2004
128 $(CXX) -o ivl@EXEEXT@ $O $(dllib) @EXTRALIBS@
43e8a08 Tell make to find ivl.def and vvp.def in srcdir.
J Varshney authored Apr 5, 2008
129 dlltool --dllname ivl@EXEEXT@ --def $(srcdir)/ivl.def \
90ae464 Makefile patches to support target loading under cygwin.
steve authored Oct 15, 2000
130 --output-lib libivl.a --output-exp ivl.exp
3fd80b0 Administrative/Makefile fixes, mostly for windows. (Cary R.)
steve authored Feb 6, 2007
131 $(CXX) $(LDFLAGS) -o ivl@EXEEXT@ ivl.exp $O $(dllib) @EXTRALIBS@
90ae464 Makefile patches to support target loading under cygwin.
steve authored Oct 15, 2000
132 else
b34a451 Cygwin port changes from Venkat
steve authored Sep 30, 2000
133 ivl@EXEEXT@: $O
8188c4c Makefile cleanup.
steve authored Feb 10, 2004
134 $(CXX) $(LDFLAGS) -o ivl@EXEEXT@ $O $(dllib)
a0ed5e9 Separate out the lookup_sys_func table, for eventual
steve authored Mar 9, 2004
135 endif
c0d51dd Add the iverilog driver program.
steve authored Apr 21, 2000
136
9e223b9 Clean up rules for iverilog-vpi vs driver-vpi.
steve authored Mar 11, 2004
137 ifeq (@MINGW32@,yes)
138 SUBDIRS += driver-vpi
1893e7c Add the iverilog-vpi command.
steve authored Apr 7, 2002
139 else
9e223b9 Clean up rules for iverilog-vpi vs driver-vpi.
steve authored Mar 11, 2004
140 all: dep iverilog-vpi
141
1893e7c Add the iverilog-vpi command.
steve authored Apr 7, 2002
142 iverilog-vpi: iverilog-vpi.sh
dddaa0e More configure information in iverilog-vpi.
steve authored Jul 3, 2002
143 sed -e 's;@SHARED@;@shared@;' -e 's;@PIC@;@PICFLAG@;' \
3fd80b0 Administrative/Makefile fixes, mostly for windows. (Cary R.)
steve authored Feb 6, 2007
144 -e 's;@IVCC@;$(CC);' \
145 -e 's;@IVCXX@;$(CXX);' \
146 -e 's;@IVCFLAGS@;$(CXXFLAGS);' \
bb87859 Support 32bit compile on AMD64 systems.
steve authored Oct 13, 2003
147 -e 's;@INCLUDEDIR@;@includedir@;' \
148 -e 's;@LIBDIR@;@libdir@;' $< > $@
1893e7c Add the iverilog-vpi command.
steve authored Apr 7, 2002
149 chmod +x $@
150 endif
151
feee406 Makefile cleanups to better support concurrent make.
steve authored Feb 27, 2003
152 dep:
153 mkdir dep
154
9680de2 Fix the clean target and excess dependencies.
steve authored Oct 4, 2000
155 %.o: %.cc
8188c4c Makefile cleanup.
steve authored Feb 10, 2004
156 $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
157 mv $*.d dep/$*.d
158
159
ff53b60 Remove excess *.d dependencies for parse.d
steve authored Dec 2, 2000
160 lexor.o: lexor.cc parse.h
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
161
ff53b60 Remove excess *.d dependencies for parse.d
steve authored Dec 2, 2000
162 parse.o: parse.cc
430d7b2 Add lexical support for real numbers.
steve authored Jun 15, 1999
163
e98aad1 Cleaner rule for parse.h and parse.cc
steve authored May 1, 2006
164 parse.cc parse.h: $(srcdir)/parse.y
357a0ff Detect bison and flex in configure.in
steve authored Dec 30, 2001
165 $(YACC) --verbose -t -p VL -d -o parse.cc $(srcdir)/parse.y
7e7735c Get rid of spurious parse.cc.h error messages.
steve authored Sep 13, 2003
166 mv parse.cc.h parse.h 2>/dev/null || mv parse.hh parse.h
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
167
3c9902d Use yacc based synthesizer.
steve authored May 13, 2000
168 syn-rules.cc: $(srcdir)/syn-rules.y
357a0ff Detect bison and flex in configure.in
steve authored Dec 30, 2001
169 $(YACC) --verbose -p syn_ -o syn-rules.cc $(srcdir)/syn-rules.y
3c9902d Use yacc based synthesizer.
steve authored May 13, 2000
170
59e85dc Support build in different directory.
steve authored Oct 22, 1999
171 lexor.cc: $(srcdir)/lexor.lex
357a0ff Detect bison and flex in configure.in
steve authored Dec 30, 2001
172 $(LEX) -PVL -s -olexor.cc $(srcdir)/lexor.lex
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
173
fd95cff remember to uninstall _pli_types.h
steve authored Mar 13, 2003
174 lexor_keyword.o: lexor_keyword.cc parse.h
6eef545 Support localparam.
steve authored Mar 12, 2000
175
176 lexor_keyword.cc: lexor_keyword.gperf
cde87ed @steveicarus Add disciplines.vams and enough syntax to parse it.
authored May 10, 2008
177 gperf -o -i 7 -C -k 1-4,$$ -L ANSI-C -H keyword_hash -N check_identifier -t $(srcdir)/lexor_keyword.gperf > lexor_keyword.cc || (rm -f lexor_keyword.cc ; false)
6eef545 Support localparam.
steve authored Mar 12, 2000
178
c594dce Add new iverilog-vpi man page.
steve authored May 28, 2002
179 iverilog-vpi.ps: $(srcdir)/iverilog-vpi.man
b26bdd3 @caryr MinGW fixes (development)
caryr authored May 22, 2008
180 $(MAN) -t $(srcdir)/iverilog-vpi.man > iverilog-vpi.ps
c594dce Add new iverilog-vpi man page.
steve authored May 28, 2002
181
182 iverilog-vpi.pdf: iverilog-vpi.ps
b26bdd3 @caryr MinGW fixes (development)
caryr authored May 22, 2008
183 $(PS2PDF) iverilog-vpi.ps iverilog-vpi.pdf
c594dce Add new iverilog-vpi man page.
steve authored May 28, 2002
184
bfb3323 Revise handling of version.h to avoid build problems.
J Varshney authored Apr 10, 2008
185 # For VERSION_TAG in driver/main.c, first try git-describe, then look for a
186 # version.h file in the source tree (included in snapshots and releases), and
187 # finally use nothing.
188 .PHONY: version.h
d74f2fe @ldoolitt Don't duplicate Makefile shell code
ldoolitt authored May 29, 2008
189 # "true" and "false" in the next few lines are Unix shell command names
b26bdd3 @caryr MinGW fixes (development)
caryr authored May 22, 2008
190 ifeq ($(GIT),none)
d74f2fe @ldoolitt Don't duplicate Makefile shell code
ldoolitt authored May 29, 2008
191 GIT_PRESENT = false
b26bdd3 @caryr MinGW fixes (development)
caryr authored May 22, 2008
192 else
d74f2fe @ldoolitt Don't duplicate Makefile shell code
ldoolitt authored May 29, 2008
193 GIT_PRESENT = true
194 endif
195 version.h:
196 @if $(GIT_PRESENT) && test -d $(srcdir)/.git; then \
bfb3323 Revise handling of version.h to avoid build problems.
J Varshney authored Apr 11, 2008
197 echo "Using git-describe for VERSION_TAG"; \
b26bdd3 @caryr MinGW fixes (development)
caryr authored May 22, 2008
198 tmp=`$(GIT) --git-dir $(srcdir)/.git describe \
844447b @steveicarus More reliably handle make install from read-only directory
authored Apr 17, 2008
199 | sed -e 's;\(.*\);#define VERSION_TAG "\1";'`; \
200 echo "$$tmp" | diff - $@ > /dev/null 2>&1 || echo "$$tmp" > $@ || exit 1; \
bfb3323 Revise handling of version.h to avoid build problems.
J Varshney authored Apr 11, 2008
201 elif test -r $(srcdir)/$@; then \
202 echo "Using $(srcdir)/$@ for VERSION_TAG"; \
203 diff $(srcdir)/$@ $@ > /dev/null 2>&1 || cp $(srcdir)/$@ $@; \
204 else \
205 echo "Using empty VERSION_TAG"; \
206 echo '#define VERSION_TAG ""' > $@; \
207 fi
ad3a73f Append last git tag and abbreviated commit-id to version string.
J Varshney authored Apr 6, 2008
208
b26bdd3 @caryr MinGW fixes (development)
caryr authored May 22, 2008
209 ifeq (@MINGW32@,yes)
210 ifeq ($(MAN),none)
211 INSTALL_DOC = $(mandir)/man1/iverilog-vpi.1
212 else
213 ifeq ($(PS2PDF),none)
214 INSTALL_DOC = $(mandir)/man1/iverilog-vpi.1
215 else
adcafb6 Install man pages on Windows build.
steve authored Aug 10, 2003
216 INSTALL_DOC = $(prefix)/iverilog-vpi.pdf $(mandir)/man1/iverilog-vpi.1
feee406 Makefile cleanups to better support concurrent make.
steve authored Feb 27, 2003
217 all: dep iverilog-vpi.pdf
b26bdd3 @caryr MinGW fixes (development)
caryr authored May 22, 2008
218 endif
219 endif
220 INSTALL_DOCDIR = $(mandir)/man1
c594dce Add new iverilog-vpi man page.
steve authored May 28, 2002
221 else
222 INSTALL_DOC = $(mandir)/man1/iverilog-vpi.1
223 INSTALL_DOCDIR = $(mandir)/man1
224 endif
225
ec0e35b Treat cygwin like Unix for build purposes.
steve authored Mar 17, 2004
226 ifeq (@MINGW32@,yes)
5c07a29 Install sqrt-virtex.v under Windows.
steve authored Nov 11, 2002
227 WIN32_INSTALL = $(prefix)/hello.vl $(prefix)/sqrt.vl $(prefix)/sqrt-virtex.v $(prefix)/QUICK_START.txt
1893e7c Add the iverilog-vpi command.
steve authored Apr 7, 2002
228 else
229 WIN32_INSTALL = $(bindir)/iverilog-vpi
176e6d0 Add install of examples for Windows.
steve authored Aug 3, 2001
230 endif
6eef545 Support localparam.
steve authored Mar 12, 2000
231
435f06b ivl -F and -t flags are onpassed throught the -C file.
steve authored Nov 13, 2003
232 XNF_INSTALL = $(libdir)/ivl/xnf.conf $(libdir)/ivl/xnf-s.conf
233
cde87ed @steveicarus Add disciplines.vams and enough syntax to parse it.
authored May 10, 2008
234 install: all installdirs $(libdir)/ivl/ivl@EXEEXT@ $(libdir)/ivl/include/constants.vams $(libdir)/ivl/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)
90de390 Minor tweaks to iterated rules,
steve authored Mar 15, 2003
235 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
236 for dir in vpi ivlpp driver; \
237 do (cd $$dir ; $(MAKE) $@); done
c0d51dd Add the iverilog driver program.
steve authored Apr 21, 2000
238
bc95b02 make install for iverilog-vpi
steve authored Apr 7, 2002
239 $(bindir)/iverilog-vpi: ./iverilog-vpi
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 1, 2008
240 $(INSTALL_SCRIPT) ./iverilog-vpi $(DESTDIR)$(bindir)/iverilog-vpi
1893e7c Add the iverilog-vpi command.
steve authored Apr 7, 2002
241
b34a451 Cygwin port changes from Venkat
steve authored Sep 30, 2000
242 $(libdir)/ivl/ivl@EXEEXT@: ./ivl@EXEEXT@
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
243 $(INSTALL_PROGRAM) ./ivl@EXEEXT@ $(DESTDIR)$(libdir)/ivl/ivl@EXEEXT@
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
244
f5263c9 @steveicarus Add the va_math module and constants.vams include file.
authored Apr 29, 2008
245 $(libdir)/ivl/include/constants.vams: $(srcdir)/constants.vams
246 $(INSTALL_DATA) $(srcdir)/constants.vams $@
247
cde87ed @steveicarus Add disciplines.vams and enough syntax to parse it.
authored May 10, 2008
248 $(libdir)/ivl/include/disciplines.vams: $(srcdir)/disciplines.vams
249 $(INSTALL_DATA) $(srcdir)/disciplines.vams $@
250
435f06b ivl -F and -t flags are onpassed throught the -C file.
steve authored Nov 13, 2003
251 $(libdir)/ivl/xnf-s.conf: $(srcdir)/xnf-s.conf
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
252 $(INSTALL_DATA) $(srcdir)/xnf-s.conf $(DESTDIR)$(libdir)/ivl/xnf-s.conf
435f06b ivl -F and -t flags are onpassed throught the -C file.
steve authored Nov 13, 2003
253
254 $(libdir)/ivl/xnf.conf: $(srcdir)/xnf.conf
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
255 $(INSTALL_DATA) $(srcdir)/xnf.conf $(DESTDIR)$(libdir)/ivl/xnf.conf
435f06b ivl -F and -t flags are onpassed throught the -C file.
steve authored Nov 13, 2003
256
d0fc6d5 Add ivl_target support for logic gates, and
steve authored Aug 20, 2000
257 $(includedir)/ivl_target.h: $(srcdir)/ivl_target.h
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
258 $(INSTALL_DATA) $(srcdir)/ivl_target.h $(DESTDIR)$(includedir)/ivl_target.h
d0fc6d5 Add ivl_target support for logic gates, and
steve authored Aug 20, 2000
259
0b538ce The _pli_types.h header file is generated, not copied from srcdir.
steve authored Nov 26, 2003
260 $(includedir)/_pli_types.h: _pli_types.h
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
261 $(INSTALL_DATA) $< $(DESTDIR)$(includedir)/_pli_types.h
d3de1d9 Add at least minimal implementations for several
steve authored Feb 17, 2003
262
32f3881 Rearrange VPI support libraries.
steve authored Mar 14, 2001
263 $(includedir)/vpi_user.h: $(srcdir)/vpi_user.h
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
264 $(INSTALL_DATA) $(srcdir)/vpi_user.h $(DESTDIR)$(includedir)/vpi_user.h
32f3881 Rearrange VPI support libraries.
steve authored Mar 14, 2001
265
6511fc6 Add the acc_user.h header file.
steve authored May 23, 2002
266 $(includedir)/acc_user.h: $(srcdir)/acc_user.h
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
267 $(INSTALL_DATA) $(srcdir)/acc_user.h $(DESTDIR)$(includedir)/acc_user.h
6511fc6 Add the acc_user.h header file.
steve authored May 23, 2002
268
ca9abaf Start the libveriuser library.
steve authored May 19, 2002
269 $(includedir)/veriuser.h: $(srcdir)/veriuser.h
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
270 $(INSTALL_DATA) $(srcdir)/veriuser.h $(DESTDIR)$(includedir)/veriuser.h
ca9abaf Start the libveriuser library.
steve authored May 19, 2002
271
c594dce Add new iverilog-vpi man page.
steve authored May 28, 2002
272 $(mandir)/man1/iverilog-vpi.1: $(srcdir)/iverilog-vpi.man
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
273 $(INSTALL_DATA) $(srcdir)/iverilog-vpi.man $(DESTDIR)$(mandir)/man1/iverilog-vpi.1
c594dce Add new iverilog-vpi man page.
steve authored May 28, 2002
274
275 $(prefix)/iverilog-vpi.pdf: iverilog-vpi.pdf
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
276 $(INSTALL_DATA) iverilog-vpi.pdf $(DESTDIR)$(prefix)/iverilog-vpi.pdf
c594dce Add new iverilog-vpi man page.
steve authored May 28, 2002
277
176e6d0 Add install of examples for Windows.
steve authored Aug 3, 2001
278 # In windows installations, put a few examples and the quick_start
279 # into the destination directory.
ec0e35b Treat cygwin like Unix for build purposes.
steve authored Mar 17, 2004
280 ifeq (@MINGW32@,yes)
fbf55b9 Get the hello.vl and sqrt.vl names right.
steve authored Aug 4, 2001
281 $(prefix)/hello.vl: $(srcdir)/examples/hello.vl
d5658d4 dosify compiled with mingw does not know cygwin paths.
steve authored Aug 5, 2001
282 ./dosify.exe $(srcdir)/examples/hello.vl tmp.vl
283 mv tmp.vl $(prefix)/hello.vl
176e6d0 Add install of examples for Windows.
steve authored Aug 3, 2001
284
fbf55b9 Get the hello.vl and sqrt.vl names right.
steve authored Aug 4, 2001
285 $(prefix)/sqrt.vl: $(srcdir)/examples/sqrt.vl
d5658d4 dosify compiled with mingw does not know cygwin paths.
steve authored Aug 5, 2001
286 ./dosify.exe $(srcdir)/examples/sqrt.vl tmp.vl
287 mv tmp.vl $(prefix)/sqrt.vl
176e6d0 Add install of examples for Windows.
steve authored Aug 3, 2001
288
5c07a29 Install sqrt-virtex.v under Windows.
steve authored Nov 11, 2002
289 $(prefix)/sqrt-virtex.v: $(srcdir)/examples/sqrt-virtex.v
290 ./dosify.exe $(srcdir)/examples/sqrt-virtex.v tmp.vl
291 mv tmp.vl $(prefix)/sqrt-virtex.v
292
176e6d0 Add install of examples for Windows.
steve authored Aug 3, 2001
293 $(prefix)/QUICK_START.txt: $(srcdir)/QUICK_START.txt
d5658d4 dosify compiled with mingw does not know cygwin paths.
steve authored Aug 5, 2001
294 ./dosify.exe $(srcdir)/QUICK_START.txt tmp.txt
295 mv tmp.txt $(prefix)/QUICK_START.txt
176e6d0 Add install of examples for Windows.
steve authored Aug 3, 2001
296 endif
297
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
298 installdirs: mkinstalldirs
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
299 $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(includedir) $(DESTDIR)$(libdir)/ivl \
300 $(DESTDIR)$(libdir)/ivl/include $(DESTDIR)$(mandir) $(DESTDIR)$(mandir)/man1
176e6d0 Add install of examples for Windows.
steve authored Aug 3, 2001
301
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
302 uninstall:
90de390 Minor tweaks to iterated rules,
steve authored Mar 15, 2003
303 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
304 for dir in vpi ivlpp driver; \
305 do (cd $$dir ; $(MAKE) $@); done
cde87ed @steveicarus Add disciplines.vams and enough syntax to parse it.
authored May 10, 2008
306 for f in xnf.conf xnf-s.conf ivl@EXEEXT@ include/constants.vams include/disciplines.vams; \
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
307 do rm -f $(DESTDIR)$(libdir)/ivl/$$f; done
308 -rmdir $(DESTDIR)$(libdir)/ivl/include
309 -rmdir $(DESTDIR)$(libdir)/ivl
90de390 Minor tweaks to iterated rules,
steve authored Mar 15, 2003
310 for f in verilog iverilog-vpi gverilog@EXEEXT@; \
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
311 do rm -f $(DESTDIR)$(bindir)/$$f; done
90de390 Minor tweaks to iterated rules,
steve authored Mar 15, 2003
312 for f in ivl_target.h vpi_user.h _pli_types.h acc_user.h veriuser.h; \
a319939 Fix up verilog.spec and root Makefile.in for package managers.
GuntherDannoritzer authored May 2, 2008
313 do rm -f $(DESTDIR)$(includedir)/$$f; done
314 rm -f $(DESTDIR)$(mandir)/man1/iverilog-vpi.1 $(DESTDIR)$(prefix)/iverilog-vpi.pdf
471d389 autoconf the makefiles.
steve authored Apr 25, 1999
315
316
317 -include $(patsubst %.o, dep/%.d, $O)
b6e1d63 Change the VPI call process so that loaded .vpi modules
steve authored Jun 12, 2001
318 -include $(patsubst %.o, dep/%.d, vpithunk.o)
Something went wrong with that request. Please try again.