Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 321 lines (264 sloc) 11.295 kB
471d389 autoconf the makefiles.
steve authored
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
6 # any later version.
471d389 autoconf the makefiles.
steve authored
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
90a4dde @steveicarus Keep source code version information in version files.
authored
21 # The interesting make targets are:
527f5c4 @steveicarus The -V flag gets version information from all parts.
authored
22 #
90a4dde @steveicarus Keep source code version information in version files.
authored
23 # make version
24 # Force the version_tag.h file to be rebuilt. Otherwise, it will only
25 # be built if it is missing.
527f5c4 @steveicarus The -V flag gets version information from all parts.
authored
26 #
90a4dde @steveicarus Keep source code version information in version files.
authored
27 # make all
28 # make install
527f5c4 @steveicarus The -V flag gets version information from all parts.
authored
29 #
90a4dde @steveicarus Keep source code version information in version files.
authored
30 # The "suffix" is used as an installation suffix. It modifies certain
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
31 # key install paths/files such that a build and install of Icarus Verilog
32 # with the same $(prefix) but a different $(suffix) will not interfere.
33 # The normal configuratin leaves suffix empty
34 suffix = @install_suffix@
35
471d389 autoconf the makefiles.
steve authored
36 prefix = @prefix@
37 exec_prefix = @exec_prefix@
38 srcdir = @srcdir@
5ec91ec @steveicarus Add datarootdir to makefiles
authored
39 datarootdir = @datarootdir@
471d389 autoconf the makefiles.
steve authored
40
26ee14c @caryr Clean up Makefile.in files.
caryr authored
41 SUBDIRS = ivlpp vvp vpi libveriuser cadpli tgt-null tgt-stub tgt-vvp \
42 tgt-vhdl driver
43 # Only run distclean for these driectories.
44 NOTUSED = tgt-fpga tgt-pal tgt-verilog
cb65ee5 Add the vvp engine to cvs.
steve authored
45
471d389 autoconf the makefiles.
steve authored
46 VPATH = $(srcdir)
47
197ed46 configure bindir and libdir
steve authored
48 bindir = @bindir@
49 libdir = @libdir@
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
50 # This is actually the directory where we install our own header files.
51 # It is a little different from the generic includedir.
5660e0e @steveicarus Install header files in includedir/iverilog
authored
52 includedir = @includedir@/iverilog$(suffix)
c594dce Add new iverilog-vpi man page.
steve authored
53 mandir = @mandir@
471d389 autoconf the makefiles.
steve authored
54
566aad9 Start stub for loadable targets.
steve authored
55 dllib=@DLLIB@
56
471d389 autoconf the makefiles.
steve authored
57 CC = @CC@
58 CXX = @CXX@
59 INSTALL = @INSTALL@
e6bd088 Compile time problems with vpi_user.h
steve authored
60 INSTALL_SCRIPT = @INSTALL_SCRIPT@
471d389 autoconf the makefiles.
steve authored
61 INSTALL_PROGRAM = @INSTALL_PROGRAM@
62 INSTALL_DATA = @INSTALL_DATA@
357a0ff Detect bison and flex in configure.in
steve authored
63 LEX = @LEX@
64 YACC = @YACC@
b26bdd3 @caryr MinGW fixes (development)
caryr authored
65 MAN = @MAN@
66 PS2PDF = @PS2PDF@
67 GIT = @GIT@
471d389 autoconf the makefiles.
steve authored
68
90a4dde @steveicarus Keep source code version information in version files.
authored
69 CPPFLAGS = @DEFS@ -I. -I$(srcdir) @CPPFLAGS@
ea938b7 @steveicarus Revert "Enable -Wshadow by default"
authored
70 CXXFLAGS = -Wall @CXXFLAGS@
3154f07 compile libvpi.a with PIC flags (Dan McMahill)
steve authored
71 PICFLAGS = @PICFLAG@
8188c4c Makefile cleanup.
steve authored
72 LDFLAGS = @rdynamic@ @LDFLAGS@
471d389 autoconf the makefiles.
steve authored
73
f1e2f37 @caryr Fix MinGW make distclean and add <file>.in dependencies.
caryr authored
74 all: dep config.h _pli_types.h version.h ivl@EXEEXT@
90a4dde @steveicarus Keep source code version information in version files.
authored
75 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
471d389 autoconf the makefiles.
steve authored
76
176e6d0 Add install of examples for Windows.
steve authored
77 # In the windows world, the installer will need a dosify program to
78 # dosify text files.
b26bdd3 @caryr MinGW fixes (development)
caryr authored
79 ifeq (@MINGW32@,yes)
feee406 Makefile cleanups to better support concurrent make.
steve authored
80 all: dep dosify.exe
176e6d0 Add install of examples for Windows.
steve authored
81 dosify.exe: dosify.c
82 $(CC) -o dosify.exe dosify.c
83 endif
84
431228e make check target (PR#3)
steve authored
85 # This rule rules the compiler in the trivial hello.vl program to make
86 # sure the basics were compiled properly.
87 check: all
ac91dc3 Recursive make check target.
steve authored
88 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) check); done
0a630b6 Fix make check for pristine sources.
steve authored
89 test -r check.conf || cp $(srcdir)/check.conf .
19e8a92 Fix make check to support -tconf configuration method.
steve authored
90 driver/iverilog -B. -BPivlpp -tcheck -ocheck.vvp $(srcdir)/examples/hello.vl
54206ef Make sure to use local system.vpi.
steve authored
91 vvp/vvp -M- -M./vpi ./check.vvp | grep 'Hello, World'
431228e make check target (PR#3)
steve authored
92
471d389 autoconf the makefiles.
steve authored
93 clean:
90de390 Minor tweaks to iterated rules,
steve authored
94 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
f1e2f37 @caryr Fix MinGW make distclean and add <file>.in dependencies.
caryr authored
95 ifeq (@MINGW32@,no)
96 (cd driver-vpi ; $(MAKE) $@)
97 endif
e4ae832 Clean up spurious trailing white space.
steve authored
98 rm -f *.o parse.cc parse.cc.output parse.h lexor.cc
8413784 Updates for Cygwin portability (pr1585922)
steve authored
99 rm -f ivl.exp iverilog-vpi.pdf iverilog-vpi.ps parse.output
3fd80b0 Administrative/Makefile fixes, mostly for windows. (Cary R.)
steve authored
100 rm -f syn-rules.output dosify.exe ivl@EXEEXT@ check.vvp
feee406 Makefile cleanups to better support concurrent make.
steve authored
101 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
102 rm -rf dep
471d389 autoconf the makefiles.
steve authored
103
8bad04a cannonical make targets, and strip on install.
steve authored
104 distclean: clean
90de390 Minor tweaks to iterated rules,
steve authored
105 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
f1e2f37 @caryr Fix MinGW make distclean and add <file>.in dependencies.
caryr authored
106 ifeq (@MINGW32@,no)
107 (cd driver-vpi ; $(MAKE) $@)
108 endif
26ee14c @caryr Clean up Makefile.in files.
caryr authored
109 for dir in $(NOTUSED); do (cd $$dir ; $(MAKE) $@); done
feee406 Makefile cleanups to better support concurrent make.
steve authored
110 rm -f Makefile config.status config.log config.cache config.h
8413784 Updates for Cygwin portability (pr1585922)
steve authored
111 rm -f _pli_types.h
8bad04a cannonical make targets, and strip on install.
steve authored
112
13aaaab @steveicarus Bring analog contribution statements to the ivl_target API.
authored
113 TT = t-dll.o t-dll-api.o t-dll-expr.o t-dll-proc.o t-dll-analog.o
65e9b6b Rework of internals to carry vectors through nexus instead
steve authored
114 FF = cprop.o nodangle.o synth.o synth2.o syn-rules.o
471d389 autoconf the makefiles.
steve authored
115
5aa810d @steveicarus Infrastructure for elaborating analog statements.
authored
116 O = main.o async.o design_dump.o discipline.o dup_expr.o \
117 elaborate.o elab_expr.o elaborate_analog.o \
4a8be3d Implement bi-directional part selects.
steve authored
118 elab_lval.o elab_net.o elab_pexpr.o elab_scope.o \
5aa810d @steveicarus Infrastructure for elaborating analog statements.
authored
119 elab_sig.o elab_sig_analog.o emit.o eval.o eval_attrib.o \
b6ce313 move lval elaboration to PExpr virtual methods.
steve authored
120 eval_tree.o expr_synth.o functor.o lexor.o lexor_keyword.o link_const.o \
68fbb94 @steveicarus Basic elaboration of analog contribution statements.
authored
121 load_module.o netlist.o netmisc.o net_analog.o net_assign.o \
e441177 @steveicarus Remove unused net_force.cc source file.
authored
122 net_design.o net_event.o net_expr.o net_func.o \
9b6b081 Add structure for asynchronous logic synthesis.
steve authored
123 net_link.o net_modulo.o net_nex_input.o net_nex_output.o \
ec773fe @steveicarus Elaborate tran devices
authored
124 net_proc.o net_scope.o net_tran.o net_udp.o pad_to_width.o \
03e306c @steveicarus Infrastructure for parsing analog process statements.
authored
125 parse.o parse_misc.o pform.o pform_analog.o pform_disciplines.o \
126 pform_dump.o pform_types.o \
a0ed5e9 Separate out the lookup_sys_func table, for eventual
steve authored
127 set_width.o symbol_search.o sync.o sys_funcs.o \
4898cd0 @steveicarus Remove redundant back-end selections.
authored
128 verinum.o verireal.o target.o \
b9799cf Remove NetVariable and ivl_variable_t structures.
steve authored
129 Attrib.o HName.o LineInfo.o Module.o PDelays.o PEvent.o \
3f2fa29 @steveicarus Factor compile-time scopes into PScope class
authored
130 PExpr.o PGate.o PGenerate.o PScope.o PSpec.o \
03e306c @steveicarus Infrastructure for parsing analog process statements.
authored
131 PTask.o PUdp.o PFunction.o PWire.o Statement.o AStatement.o StringHeap.o \
3ff6912 Elaborate user defined tasks.
steve authored
132 $(FF) $(TT)
471d389 autoconf the makefiles.
steve authored
133
f1e2f37 @caryr Fix MinGW make distclean and add <file>.in dependencies.
caryr authored
134 Makefile: $(srcdir)/Makefile.in config.status
135 ./config.status --file=$@
136
6b45f88 @steveicarus Flatten the tree of configure scripts.
authored
137 config.h: $(srcdir)/config.h.in
f1e2f37 @caryr Fix MinGW make distclean and add <file>.in dependencies.
caryr authored
138 ./config.status --header=$@
139
6b45f88 @steveicarus Flatten the tree of configure scripts.
authored
140 _pli_types.h: $(srcdir)/_pli_types.h.in
f1e2f37 @caryr Fix MinGW make distclean and add <file>.in dependencies.
caryr authored
141 ./config.status --header=$@
471d389 autoconf the makefiles.
steve authored
142
b62f094 Add the verilog.sh script.
steve authored
143
de8c725 Mingw32 support (Venkat Iyer)
steve authored
144 ifeq (@WIN32@,yes)
3e4eb17 Another go at getting link of ivl.exe right.
steve authored
145 # Under Windows (mingw) I need to make the ivl.exe in two steps.
146 # The first step makes an ivl.exe that dlltool can use to make an
147 # export and import library, and the last link makes a, ivl.exe
148 # 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
149 ivl@EXEEXT@: $O $(srcdir)/ivl.def
e4ae832 Clean up spurious trailing white space.
steve authored
150 $(CXX) -o ivl@EXEEXT@ $O $(dllib) @EXTRALIBS@
43e8a08 Tell make to find ivl.def and vvp.def in srcdir.
J Varshney authored
151 dlltool --dllname ivl@EXEEXT@ --def $(srcdir)/ivl.def \
90ae464 Makefile patches to support target loading under cygwin.
steve authored
152 --output-lib libivl.a --output-exp ivl.exp
3fd80b0 Administrative/Makefile fixes, mostly for windows. (Cary R.)
steve authored
153 $(CXX) $(LDFLAGS) -o ivl@EXEEXT@ ivl.exp $O $(dllib) @EXTRALIBS@
90ae464 Makefile patches to support target loading under cygwin.
steve authored
154 else
b34a451 Cygwin port changes from Venkat
steve authored
155 ivl@EXEEXT@: $O
8188c4c Makefile cleanup.
steve authored
156 $(CXX) $(LDFLAGS) -o ivl@EXEEXT@ $O $(dllib)
a0ed5e9 Separate out the lookup_sys_func table, for eventual
steve authored
157 endif
c0d51dd Add the iverilog driver program.
steve authored
158
9e223b9 Clean up rules for iverilog-vpi vs driver-vpi.
steve authored
159 ifeq (@MINGW32@,yes)
160 SUBDIRS += driver-vpi
1893e7c Add the iverilog-vpi command.
steve authored
161 else
9e223b9 Clean up rules for iverilog-vpi vs driver-vpi.
steve authored
162 all: dep iverilog-vpi
163
2155244 @steveicarus The iverilog-vpi script depends on the Makefile
authored
164 iverilog-vpi: iverilog-vpi.sh Makefile
dddaa0e More configure information in iverilog-vpi.
steve authored
165 sed -e 's;@SHARED@;@shared@;' -e 's;@PIC@;@PICFLAG@;' \
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
166 -e 's;@SUFFIX@;$(suffix);' \
3fd80b0 Administrative/Makefile fixes, mostly for windows. (Cary R.)
steve authored
167 -e 's;@IVCC@;$(CC);' \
168 -e 's;@IVCXX@;$(CXX);' \
169 -e 's;@IVCFLAGS@;$(CXXFLAGS);' \
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
170 -e 's;@INCLUDEDIR@;$(includedir);' \
bb87859 Support 32bit compile on AMD64 systems.
steve authored
171 -e 's;@LIBDIR@;@libdir@;' $< > $@
1893e7c Add the iverilog-vpi command.
steve authored
172 chmod +x $@
173 endif
174
feee406 Makefile cleanups to better support concurrent make.
steve authored
175 dep:
176 mkdir dep
177
9680de2 Fix the clean target and excess dependencies.
steve authored
178 %.o: %.cc
8188c4c Makefile cleanup.
steve authored
179 $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o
471d389 autoconf the makefiles.
steve authored
180 mv $*.d dep/$*.d
181
182
ff53b60 Remove excess *.d dependencies for parse.d
steve authored
183 lexor.o: lexor.cc parse.h
471d389 autoconf the makefiles.
steve authored
184
ff53b60 Remove excess *.d dependencies for parse.d
steve authored
185 parse.o: parse.cc
430d7b2 Add lexical support for real numbers.
steve authored
186
e98aad1 Cleaner rule for parse.h and parse.cc
steve authored
187 parse.cc parse.h: $(srcdir)/parse.y
357a0ff Detect bison and flex in configure.in
steve authored
188 $(YACC) --verbose -t -p VL -d -o parse.cc $(srcdir)/parse.y
7e7735c Get rid of spurious parse.cc.h error messages.
steve authored
189 mv parse.cc.h parse.h 2>/dev/null || mv parse.hh parse.h
471d389 autoconf the makefiles.
steve authored
190
3c9902d Use yacc based synthesizer.
steve authored
191 syn-rules.cc: $(srcdir)/syn-rules.y
357a0ff Detect bison and flex in configure.in
steve authored
192 $(YACC) --verbose -p syn_ -o syn-rules.cc $(srcdir)/syn-rules.y
3c9902d Use yacc based synthesizer.
steve authored
193
59e85dc Support build in different directory.
steve authored
194 lexor.cc: $(srcdir)/lexor.lex
357a0ff Detect bison and flex in configure.in
steve authored
195 $(LEX) -PVL -s -olexor.cc $(srcdir)/lexor.lex
471d389 autoconf the makefiles.
steve authored
196
fd95cff remember to uninstall _pli_types.h
steve authored
197 lexor_keyword.o: lexor_keyword.cc parse.h
6eef545 Support localparam.
steve authored
198
199 lexor_keyword.cc: lexor_keyword.gperf
cde87ed @steveicarus Add disciplines.vams and enough syntax to parse it.
authored
200 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
201
c594dce Add new iverilog-vpi man page.
steve authored
202 iverilog-vpi.ps: $(srcdir)/iverilog-vpi.man
b26bdd3 @caryr MinGW fixes (development)
caryr authored
203 $(MAN) -t $(srcdir)/iverilog-vpi.man > iverilog-vpi.ps
c594dce Add new iverilog-vpi man page.
steve authored
204
205 iverilog-vpi.pdf: iverilog-vpi.ps
b26bdd3 @caryr MinGW fixes (development)
caryr authored
206 $(PS2PDF) iverilog-vpi.ps iverilog-vpi.pdf
c594dce Add new iverilog-vpi man page.
steve authored
207
90a4dde @steveicarus Keep source code version information in version files.
authored
208 # The version.h header file is the concatenation of a relatively static
209 # base version and the detailed version tag.
210 version.h: $(srcdir)/version_base.in version_tag.h
211 cat $(srcdir)/version_base.in version_tag.h > version.h
212
bfb3323 Revise handling of version.h to avoid build problems.
J Varshney authored
213 # For VERSION_TAG in driver/main.c, first try git-describe, then look for a
214 # version.h file in the source tree (included in snapshots and releases), and
215 # finally use nothing.
90a4dde @steveicarus Keep source code version information in version files.
authored
216
d74f2fe @ldoolitt Don't duplicate Makefile shell code
ldoolitt authored
217 # "true" and "false" in the next few lines are Unix shell command names
b26bdd3 @caryr MinGW fixes (development)
caryr authored
218 ifeq ($(GIT),none)
d74f2fe @ldoolitt Don't duplicate Makefile shell code
ldoolitt authored
219 GIT_PRESENT = false
b26bdd3 @caryr MinGW fixes (development)
caryr authored
220 else
d74f2fe @ldoolitt Don't duplicate Makefile shell code
ldoolitt authored
221 GIT_PRESENT = true
222 endif
90a4dde @steveicarus Keep source code version information in version files.
authored
223 version_tag.h version:
d74f2fe @ldoolitt Don't duplicate Makefile shell code
ldoolitt authored
224 @if $(GIT_PRESENT) && test -d $(srcdir)/.git; then \
bfb3323 Revise handling of version.h to avoid build problems.
J Varshney authored
225 echo "Using git-describe for VERSION_TAG"; \
b26bdd3 @caryr MinGW fixes (development)
caryr authored
226 tmp=`$(GIT) --git-dir $(srcdir)/.git describe \
844447b @steveicarus More reliably handle make install from read-only directory
authored
227 | sed -e 's;\(.*\);#define VERSION_TAG "\1";'`; \
90a4dde @steveicarus Keep source code version information in version files.
authored
228 echo "$$tmp" | diff - version_tag.h > /dev/null 2>&1 || echo "$$tmp" > version_tag.h || exit 1; \
229 elif test -r $(srcdir)/version_tag.h; then \
230 echo "Using $(srcdir)/version_tag.h for VERSION_TAG"; \
231 diff $(srcdir)/version_tag.h version_tag.h > /dev/null 2>&1 || cp $(srcdir)/version_tag.h version_tag.h; \
bfb3323 Revise handling of version.h to avoid build problems.
J Varshney authored
232 else \
233 echo "Using empty VERSION_TAG"; \
90a4dde @steveicarus Keep source code version information in version files.
authored
234 echo '#define VERSION_TAG ""' > version_tag.h; \
bfb3323 Revise handling of version.h to avoid build problems.
J Varshney authored
235 fi
ad3a73f Append last git tag and abbreviated commit-id to version string.
J Varshney authored
236
b26bdd3 @caryr MinGW fixes (development)
caryr authored
237 ifeq (@MINGW32@,yes)
238 ifeq ($(MAN),none)
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
239 INSTALL_DOC = $(mandir)/man1/iverilog-vpi$(suffix).1
b26bdd3 @caryr MinGW fixes (development)
caryr authored
240 else
241 ifeq ($(PS2PDF),none)
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
242 INSTALL_DOC = $(mandir)/man1/iverilog-vpi$(suffix).1
b26bdd3 @caryr MinGW fixes (development)
caryr authored
243 else
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
244 INSTALL_DOC = $(prefix)/iverilog-vpi$(suffix).pdf $(mandir)/man1/iverilog-vpi$(suffix).1
feee406 Makefile cleanups to better support concurrent make.
steve authored
245 all: dep iverilog-vpi.pdf
b26bdd3 @caryr MinGW fixes (development)
caryr authored
246 endif
247 endif
248 INSTALL_DOCDIR = $(mandir)/man1
c594dce Add new iverilog-vpi man page.
steve authored
249 else
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
250 INSTALL_DOC = $(mandir)/man1/iverilog-vpi$(suffix).1
c594dce Add new iverilog-vpi man page.
steve authored
251 INSTALL_DOCDIR = $(mandir)/man1
252 endif
253
ec0e35b Treat cygwin like Unix for build purposes.
steve authored
254 ifeq (@MINGW32@,yes)
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
255 WIN32_INSTALL =
1893e7c Add the iverilog-vpi command.
steve authored
256 else
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
257 WIN32_INSTALL = $(bindir)/iverilog-vpi$(suffix)
176e6d0 Add install of examples for Windows.
steve authored
258 endif
6eef545 Support localparam.
steve authored
259
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
260 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)
90de390 Minor tweaks to iterated rules,
steve authored
261 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
c0d51dd Add the iverilog driver program.
steve authored
262
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
263 $(bindir)/iverilog-vpi$(suffix): ./iverilog-vpi
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
264 $(INSTALL_SCRIPT) ./iverilog-vpi "$(DESTDIR)$(bindir)/iverilog-vpi$(suffix)"
1893e7c Add the iverilog-vpi command.
steve authored
265
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
266 $(libdir)/ivl$(suffix)/ivl@EXEEXT@: ./ivl@EXEEXT@
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
267 $(INSTALL_PROGRAM) ./ivl@EXEEXT@ "$(DESTDIR)$(libdir)/ivl$(suffix)/ivl@EXEEXT@"
471d389 autoconf the makefiles.
steve authored
268
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
269 $(libdir)/ivl$(suffix)/include/constants.vams: $(srcdir)/constants.vams
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
270 $(INSTALL_DATA) $(srcdir)/constants.vams "$(DESTDIR)$(libdir)/ivl$(suffix)/include/constants.vams"
f5263c9 @steveicarus Add the va_math module and constants.vams include file.
authored
271
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
272 $(libdir)/ivl$(suffix)/include/disciplines.vams: $(srcdir)/disciplines.vams
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
273 $(INSTALL_DATA) $(srcdir)/disciplines.vams "$(DESTDIR)$(libdir)/ivl$(suffix)/include/disciplines.vams"
cde87ed @steveicarus Add disciplines.vams and enough syntax to parse it.
authored
274
d0fc6d5 Add ivl_target support for logic gates, and
steve authored
275 $(includedir)/ivl_target.h: $(srcdir)/ivl_target.h
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
276 $(INSTALL_DATA) $(srcdir)/ivl_target.h "$(DESTDIR)$(includedir)/ivl_target.h"
d0fc6d5 Add ivl_target support for logic gates, and
steve authored
277
0b538ce The _pli_types.h header file is generated, not copied from srcdir.
steve authored
278 $(includedir)/_pli_types.h: _pli_types.h
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
279 $(INSTALL_DATA) $< "$(DESTDIR)$(includedir)/_pli_types.h"
d3de1d9 Add at least minimal implementations for several
steve authored
280
32f3881 Rearrange VPI support libraries.
steve authored
281 $(includedir)/vpi_user.h: $(srcdir)/vpi_user.h
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
282 $(INSTALL_DATA) $(srcdir)/vpi_user.h "$(DESTDIR)$(includedir)/vpi_user.h"
32f3881 Rearrange VPI support libraries.
steve authored
283
6511fc6 Add the acc_user.h header file.
steve authored
284 $(includedir)/acc_user.h: $(srcdir)/acc_user.h
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
285 $(INSTALL_DATA) $(srcdir)/acc_user.h "$(DESTDIR)$(includedir)/acc_user.h"
6511fc6 Add the acc_user.h header file.
steve authored
286
ca9abaf Start the libveriuser library.
steve authored
287 $(includedir)/veriuser.h: $(srcdir)/veriuser.h
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
288 $(INSTALL_DATA) $(srcdir)/veriuser.h "$(DESTDIR)$(includedir)/veriuser.h"
ca9abaf Start the libveriuser library.
steve authored
289
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
290 $(mandir)/man1/iverilog-vpi$(suffix).1: $(srcdir)/iverilog-vpi.man
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
291 $(INSTALL_DATA) $(srcdir)/iverilog-vpi.man "$(DESTDIR)$(mandir)/man1/iverilog-vpi$(suffix).1"
176e6d0 Add install of examples for Windows.
steve authored
292
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
293 $(prefix)/iverilog-vpi$(suffix).pdf: iverilog-vpi.pdf
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
294 $(INSTALL_DATA) iverilog-vpi.pdf "$(DESTDIR)$(prefix)/iverilog-vpi$(suffix).pdf"
5c07a29 Install sqrt-virtex.v under Windows.
steve authored
295
176e6d0 Add install of examples for Windows.
steve authored
296
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
297 installdirs: $(srcdir)/mkinstalldirs
298 $(srcdir)/mkinstalldirs "$(DESTDIR)$(bindir)" \
299 "$(DESTDIR)$(includedir)" \
300 "$(DESTDIR)$(libdir)/ivl$(suffix)" \
301 "$(DESTDIR)$(libdir)/ivl$(suffix)/include" \
302 "$(DESTDIR)$(mandir)" \
303 "$(DESTDIR)$(mandir)/man1"
176e6d0 Add install of examples for Windows.
steve authored
304
471d389 autoconf the makefiles.
steve authored
305 uninstall:
90de390 Minor tweaks to iterated rules,
steve authored
306 for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
456fffa @steveicarus Remove last vestiges of XNF.
authored
307 for f in ivl@EXEEXT@ include/constants.vams include/disciplines.vams; \
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
308 do rm -f "$(DESTDIR)$(libdir)/ivl$(suffix)/$$f"; done
309 -rmdir "$(DESTDIR)$(libdir)/ivl$(suffix)/include"
310 -rmdir "$(DESTDIR)$(libdir)/ivl$(suffix)"
4bc90f7 @steveicarus Create support for the --enable-suffix configuration option.
authored
311 for f in verilog$(suffix) iverilog-vpi$(suffix) gverilog$(suffix)@EXEEXT@; \
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
312 do rm -f "$(DESTDIR)$(bindir)/$$f"; done
90de390 Minor tweaks to iterated rules,
steve authored
313 for f in ivl_target.h vpi_user.h _pli_types.h acc_user.h veriuser.h; \
99a5d4c @steveicarus Update mkinstalldirs to handle paths with spaces.
authored
314 do rm -f "$(DESTDIR)$(includedir)/$$f"; done
315 -test X$(suffix) = X || rmdir "$(DESTDIR)/$(includedir)"
316 rm -f "$(DESTDIR)$(mandir)/man1/iverilog-vpi$(suffix).1" "$(DESTDIR)$(prefix)/iverilog-vpi$(suffix).pdf"
471d389 autoconf the makefiles.
steve authored
317
318
319 -include $(patsubst %.o, dep/%.d, $O)
b6e1d63 Change the VPI call process so that loaded .vpi modules
steve authored
320 -include $(patsubst %.o, dep/%.d, vpithunk.o)
Something went wrong with that request. Please try again.