1999-04-25 23:54:33 +02:00
|
|
|
#
|
|
|
|
|
# This source code is free software; you can redistribute it
|
|
|
|
|
# and/or modify it in source code form under the terms of the GNU
|
|
|
|
|
# Library General Public License as published by the Free Software
|
|
|
|
|
# Foundation; either version 2 of the License, or (at your option)
|
2000-11-21 04:55:20 +01:00
|
|
|
# any later version.
|
1999-04-25 23:54:33 +02:00
|
|
|
#
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
# GNU Library General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU Library General Public
|
|
|
|
|
# License along with this program; if not, write to the Free
|
|
|
|
|
# Software Foundation, Inc.,
|
|
|
|
|
# 59 Temple Place - Suite 330
|
|
|
|
|
# Boston, MA 02111-1307, USA
|
|
|
|
|
#
|
2003-09-19 05:30:04 +02:00
|
|
|
#ident "$Id: Makefile.in,v 1.154 2003/09/19 03:30:04 steve Exp $"
|
1999-04-25 23:54:33 +02:00
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
2002-02-03 08:05:36 +01:00
|
|
|
# This version string is only used in the version message printed
|
|
|
|
|
# by the compiler. It reflects the assigned version number for the
|
|
|
|
|
# product as a whole. Most components also print the CVS Name: token
|
|
|
|
|
# in order to get a more automatic version stamp as well.
|
2002-12-08 04:06:30 +01:00
|
|
|
VERSION = 0.7
|
1999-04-25 23:54:33 +02:00
|
|
|
|
|
|
|
|
prefix = @prefix@
|
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
|
|
2001-03-11 01:29:38 +01:00
|
|
|
SUBDIRS = @subdirs@
|
|
|
|
|
|
1999-04-25 23:54:33 +02:00
|
|
|
VPATH = $(srcdir)
|
|
|
|
|
|
2000-11-11 01:48:35 +01:00
|
|
|
bindir = @bindir@
|
|
|
|
|
libdir = @libdir@
|
2003-09-17 06:30:33 +02:00
|
|
|
includedir = @includedir@
|
2002-05-28 07:21:30 +02:00
|
|
|
mandir = @mandir@
|
1999-04-25 23:54:33 +02:00
|
|
|
|
2000-08-12 18:34:37 +02:00
|
|
|
dllib=@DLLIB@
|
|
|
|
|
rdynamic=@rdynamic@
|
2001-09-20 05:21:01 +02:00
|
|
|
strip_dynamic=@strip_dynamic@
|
2000-08-12 18:34:37 +02:00
|
|
|
|
1999-04-25 23:54:33 +02:00
|
|
|
CC = @CC@
|
|
|
|
|
CXX = @CXX@
|
|
|
|
|
INSTALL = @INSTALL@
|
2000-01-24 00:54:36 +01:00
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
1999-04-25 23:54:33 +02:00
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
1999-10-23 18:55:51 +02:00
|
|
|
STRIP = @STRIP@
|
2001-12-30 18:20:33 +01:00
|
|
|
LEX = @LEX@
|
|
|
|
|
YACC = @YACC@
|
1999-04-25 23:54:33 +02:00
|
|
|
|
|
|
|
|
CPPFLAGS = @CPPFLAGS@ @DEFS@
|
2001-01-09 04:11:27 +01:00
|
|
|
CXXFLAGS = @CXXFLAGS@ -I. -I$(srcdir)
|
2001-07-11 21:32:02 +02:00
|
|
|
PICFLAGS = @PICFLAG@
|
1999-04-25 23:54:33 +02:00
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
|
|
2000-12-09 02:17:38 +01:00
|
|
|
# The TARGETS variable lists the target modules that can be build and
|
|
|
|
|
# installed. Some of them depend on external things, so are only
|
|
|
|
|
# compiled if the prerequisites are installed.
|
|
|
|
|
TARGETS = tgt-null
|
|
|
|
|
ifeq ('@HAVE_IPAL@','yes')
|
|
|
|
|
TARGETS += tgt-pal
|
|
|
|
|
endif
|
|
|
|
|
|
2003-02-27 23:13:22 +01:00
|
|
|
all: dep ivl@EXEEXT@
|
2003-03-15 06:47:51 +01:00
|
|
|
for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
|
|
|
|
|
for tgt in $(TARGETS); do (cd $$tgt ; $(MAKE) $@); done
|
2003-02-27 23:13:22 +01:00
|
|
|
for dir in vpi ivlpp tgt-verilog tgt-stub; \
|
2003-03-15 06:47:51 +01:00
|
|
|
do (cd $$dir ; $(MAKE) $@); done
|
|
|
|
|
cd driver ; $(MAKE) VERSION=$(VERSION) $@
|
1999-04-25 23:54:33 +02:00
|
|
|
|
2001-08-03 19:06:47 +02:00
|
|
|
# In the windows world, the installer will need a dosify program to
|
|
|
|
|
# dosify text files.
|
|
|
|
|
ifeq (@WIN32@,yes)
|
2003-02-27 23:13:22 +01:00
|
|
|
all: dep dosify.exe
|
2001-08-03 19:06:47 +02:00
|
|
|
dosify.exe: dosify.c
|
|
|
|
|
$(CC) -o dosify.exe dosify.c
|
2002-04-07 02:47:10 +02:00
|
|
|
|
2002-11-24 03:27:28 +01:00
|
|
|
ifeq (@MINGW32@,yes)
|
2002-11-13 02:50:11 +01:00
|
|
|
SUBDIRS += driver-vpi
|
2002-11-24 03:27:28 +01:00
|
|
|
endif
|
|
|
|
|
|
2002-04-07 02:47:10 +02:00
|
|
|
else
|
2003-02-27 23:13:22 +01:00
|
|
|
all: dep iverilog-vpi
|
2001-08-03 19:06:47 +02:00
|
|
|
endif
|
|
|
|
|
|
2000-10-28 05:58:11 +02:00
|
|
|
# This rule rules the compiler in the trivial hello.vl program to make
|
|
|
|
|
# sure the basics were compiled properly.
|
|
|
|
|
check: all
|
2001-03-25 07:59:46 +02:00
|
|
|
for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) check); done
|
2002-01-05 05:36:43 +01:00
|
|
|
driver/iverilog -Ccheck.conf -ocheck.vvp -tvvp-check -B./ivlpp $(srcdir)/examples/hello.vl
|
2003-01-19 00:56:06 +01:00
|
|
|
vvp/vvp -M- -M./vpi ./check.vvp | grep 'Hello, World'
|
2000-10-28 05:58:11 +02:00
|
|
|
|
1999-04-25 23:54:33 +02:00
|
|
|
clean:
|
2003-03-15 06:47:51 +01:00
|
|
|
for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
|
|
|
|
|
for tgt in $(TARGETS); do (cd $$tgt ; $(MAKE) $@); done
|
2003-02-27 23:13:22 +01:00
|
|
|
for dir in vpi ivlpp tgt-verilog tgt-stub driver; \
|
2003-03-15 06:47:51 +01:00
|
|
|
do (cd $$dir ; $(MAKE) $@); done
|
2003-02-27 23:13:22 +01:00
|
|
|
rm -f *.o parse.cc parse.cc.output parse.h lexor.cc
|
|
|
|
|
rm -f lexor_keyword.cc libivl.a libvpi.a iverilog-vpi syn-rules.cc*
|
|
|
|
|
rm -rf dep ivl@EXEEXT@
|
1999-04-25 23:54:33 +02:00
|
|
|
|
1999-10-23 18:55:51 +02:00
|
|
|
distclean: clean
|
2003-03-15 06:47:51 +01:00
|
|
|
for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
|
|
|
|
|
for tgt in $(TARGETS); do (cd $$tgt ; $(MAKE) $@); done
|
2003-02-27 23:13:22 +01:00
|
|
|
for dir in vpi ivlpp tgt-verilog tgt-stub driver; \
|
2003-03-15 06:47:51 +01:00
|
|
|
do (cd $$dir ; $(MAKE) $@); done
|
2003-02-27 23:13:22 +01:00
|
|
|
rm -f Makefile config.status config.log config.cache config.h
|
1999-10-23 18:55:51 +02:00
|
|
|
|
2002-08-11 00:27:13 +02:00
|
|
|
TT = t-dll.o t-dll-api.o t-dll-expr.o t-dll-proc.o t-xnf.o
|
2002-06-30 04:21:31 +02:00
|
|
|
FF = cprop.o nodangle.o synth.o synth2.o syn-rules.o xnfio.o
|
1999-04-25 23:54:33 +02:00
|
|
|
|
2002-06-30 04:21:31 +02:00
|
|
|
O = main.o async.o design_dump.o dup_expr.o elaborate.o elab_expr.o \
|
2000-12-06 07:31:09 +01:00
|
|
|
elab_lval.o elab_net.o elab_anet.o elab_pexpr.o elab_scope.o \
|
2003-02-08 20:49:21 +01:00
|
|
|
elab_sig.o emit.o eval.o eval_attrib.o \
|
2000-09-09 17:21:26 +02:00
|
|
|
eval_tree.o expr_synth.o functor.o lexor.o lexor_keyword.o link_const.o \
|
2002-05-06 02:50:38 +02:00
|
|
|
load_module.o netlist.o netmisc.o net_assign.o \
|
2002-03-09 03:10:22 +01:00
|
|
|
net_design.o net_event.o net_expr.o net_force.o net_func.o \
|
2002-06-30 04:21:31 +02:00
|
|
|
net_link.o net_modulo.o net_nex_input.o net_nex_output.o \
|
2003-01-26 22:15:58 +01:00
|
|
|
net_proc.o net_scope.o net_udp.o net_variable.o pad_to_width.o \
|
1999-09-29 02:42:50 +02:00
|
|
|
parse.o parse_misc.o pform.o pform_dump.o \
|
2003-09-19 05:30:04 +02:00
|
|
|
set_width.o symbol_search.o sync.o \
|
2001-12-03 05:47:14 +01:00
|
|
|
verinum.o verireal.o target.o targets.o \
|
2003-01-26 22:15:58 +01:00
|
|
|
Attrib.o HName.o LineInfo.o Module.o PData.o PDelays.o PEvent.o \
|
2000-04-01 21:31:57 +02:00
|
|
|
PExpr.o PGate.o \
|
2003-07-15 07:07:13 +02:00
|
|
|
PTask.o PUdp.o PFunction.o PWire.o Statement.o StringHeap.o \
|
1999-07-03 04:12:51 +02:00
|
|
|
$(FF) $(TT)
|
1999-04-25 23:54:33 +02:00
|
|
|
|
2001-07-25 05:10:48 +02:00
|
|
|
Makefile: Makefile.in config.h.in config.status
|
1999-04-25 23:54:33 +02:00
|
|
|
./config.status
|
|
|
|
|
|
1999-08-17 17:57:43 +02:00
|
|
|
|
2001-05-20 17:09:39 +02:00
|
|
|
ifeq (@WIN32@,yes)
|
2001-10-20 01:15:01 +02:00
|
|
|
# Under Windows (mingw) I need to make the ivl.exe in two steps.
|
|
|
|
|
# The first step makes an ivl.exe that dlltool can use to make an
|
|
|
|
|
# export and import library, and the last link makes a, ivl.exe
|
|
|
|
|
# that really exports the things that the import library imports.
|
2000-10-15 23:02:08 +02:00
|
|
|
ivl@EXEEXT@: $O ivl.def
|
2001-10-20 01:15:01 +02:00
|
|
|
$(CXX) -o ivl@EXEEXT@ $O $(dllib) @EXTRALIBS@
|
2000-10-15 23:02:08 +02:00
|
|
|
dlltool --dllname ivl@EXEEXT@ --def ivl.def \
|
|
|
|
|
--output-lib libivl.a --output-exp ivl.exp
|
2001-10-20 01:15:01 +02:00
|
|
|
$(CXX) -o ivl@EXEEXT@ ivl.exp $O $(dllib) @EXTRALIBS@
|
2000-10-15 23:02:08 +02:00
|
|
|
else
|
2000-09-30 05:20:47 +02:00
|
|
|
ivl@EXEEXT@: $O
|
2000-10-15 23:02:08 +02:00
|
|
|
$(CXX) $(CXXFLAGS) $(rdynamic) $(LDFLAGS) -o ivl@EXEEXT@ $O $(dllib)
|
|
|
|
|
endif
|
1999-04-25 23:54:33 +02:00
|
|
|
|
2000-04-21 08:41:02 +02:00
|
|
|
|
2002-04-07 02:47:10 +02:00
|
|
|
ifeq (@WIN32@,yes)
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
iverilog-vpi: iverilog-vpi.sh
|
2002-07-04 01:20:12 +02:00
|
|
|
sed -e 's;@SHARED@;@shared@;' -e 's;@PIC@;@PICFLAG@;' \
|
|
|
|
|
-e 's;@INCLUDEDIR@;@includedir@;' -e 's;@LIBDIR@;@libdir@;' $< > $@
|
2002-04-07 02:47:10 +02:00
|
|
|
chmod +x $@
|
|
|
|
|
endif
|
|
|
|
|
|
2003-02-27 23:13:22 +01:00
|
|
|
dep:
|
|
|
|
|
mkdir dep
|
|
|
|
|
|
2000-10-04 19:08:31 +02:00
|
|
|
%.o: %.cc
|
2003-06-25 03:48:39 +02:00
|
|
|
$(CXX) -Wall @ident_support@ $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o
|
1999-04-25 23:54:33 +02:00
|
|
|
mv $*.d dep/$*.d
|
|
|
|
|
|
|
|
|
|
|
2000-12-02 06:30:08 +01:00
|
|
|
lexor.o: lexor.cc parse.h
|
1999-04-25 23:54:33 +02:00
|
|
|
|
2000-12-02 06:30:08 +01:00
|
|
|
parse.o: parse.cc
|
1999-06-15 04:50:02 +02:00
|
|
|
|
2003-02-27 23:13:22 +01:00
|
|
|
parse.cc: $(srcdir)/parse.y
|
2001-12-30 18:20:33 +01:00
|
|
|
$(YACC) --verbose -t -p VL -d -o parse.cc $(srcdir)/parse.y
|
2003-02-27 23:13:22 +01:00
|
|
|
|
|
|
|
|
parse.h: parse.cc
|
2003-09-13 02:59:56 +02:00
|
|
|
mv parse.cc.h parse.h 2>/dev/null || mv parse.hh parse.h
|
1999-04-25 23:54:33 +02:00
|
|
|
|
2000-05-13 22:55:47 +02:00
|
|
|
syn-rules.cc: $(srcdir)/syn-rules.y
|
2001-12-30 18:20:33 +01:00
|
|
|
$(YACC) --verbose -p syn_ -o syn-rules.cc $(srcdir)/syn-rules.y
|
2000-05-13 22:55:47 +02:00
|
|
|
|
1999-10-23 01:58:13 +02:00
|
|
|
lexor.cc: $(srcdir)/lexor.lex
|
2001-12-30 18:20:33 +01:00
|
|
|
$(LEX) -PVL -s -olexor.cc $(srcdir)/lexor.lex
|
1999-04-25 23:54:33 +02:00
|
|
|
|
2003-03-13 17:33:25 +01:00
|
|
|
lexor_keyword.o: lexor_keyword.cc parse.h
|
2000-03-12 18:09:40 +01:00
|
|
|
|
|
|
|
|
lexor_keyword.cc: lexor_keyword.gperf
|
2001-01-09 04:11:27 +01:00
|
|
|
gperf -o -i 7 -C -k 1-3,$$ -L ANSI-C -H keyword_hash -N check_identifier -t $(srcdir)/lexor_keyword.gperf > lexor_keyword.cc || (rm -f lexor_keyword.cc ; false)
|
2000-03-12 18:09:40 +01:00
|
|
|
|
2002-05-28 07:21:30 +02:00
|
|
|
iverilog-vpi.ps: $(srcdir)/iverilog-vpi.man
|
|
|
|
|
man -t $(srcdir)/iverilog-vpi.man > iverilog-vpi.ps
|
|
|
|
|
|
|
|
|
|
iverilog-vpi.pdf: iverilog-vpi.ps
|
|
|
|
|
ps2pdf iverilog-vpi.ps iverilog-vpi.pdf
|
|
|
|
|
|
|
|
|
|
ifeq (@WIN32@,yes)
|
2003-08-10 02:39:13 +02:00
|
|
|
INSTALL_DOC = $(prefix)/iverilog-vpi.pdf $(mandir)/man1/iverilog-vpi.1
|
|
|
|
|
INSTALL_DOCDIR = $(mandir)/man1
|
2003-02-27 23:13:22 +01:00
|
|
|
all: dep iverilog-vpi.pdf
|
2002-05-28 07:21:30 +02:00
|
|
|
else
|
|
|
|
|
INSTALL_DOC = $(mandir)/man1/iverilog-vpi.1
|
|
|
|
|
INSTALL_DOCDIR = $(mandir)/man1
|
|
|
|
|
endif
|
|
|
|
|
|
2001-08-03 19:06:47 +02:00
|
|
|
ifeq (@WIN32@,yes)
|
2002-11-11 02:12:41 +01:00
|
|
|
WIN32_INSTALL = $(prefix)/hello.vl $(prefix)/sqrt.vl $(prefix)/sqrt-virtex.v $(prefix)/QUICK_START.txt
|
2002-04-07 02:47:10 +02:00
|
|
|
else
|
|
|
|
|
WIN32_INSTALL = $(bindir)/iverilog-vpi
|
2001-08-03 19:06:47 +02:00
|
|
|
endif
|
2000-03-12 18:09:40 +01:00
|
|
|
|
2003-02-17 07:39:47 +01:00
|
|
|
install: all installdirs $(libdir)/ivl/ivl@EXEEXT@ $(libdir)/ivl/iverilog.conf $(includedir)/ivl_target.h $(includedir)/_pli_types.h $(includedir)/vpi_user.h $(includedir)/acc_user.h $(includedir)/veriuser.h $(WIN32_INSTALL) $(INSTALL_DOC)
|
2003-03-15 06:47:51 +01:00
|
|
|
for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
|
|
|
|
|
for tgt in $(TARGETS); do (cd $$tgt ; $(MAKE) $@); done
|
|
|
|
|
for dir in vpi ivlpp driver; \
|
|
|
|
|
do (cd $$dir ; $(MAKE) $@); done
|
2000-04-21 08:41:02 +02:00
|
|
|
|
2002-04-07 02:50:13 +02:00
|
|
|
$(bindir)/iverilog-vpi: ./iverilog-vpi
|
2002-12-10 06:45:44 +01:00
|
|
|
$(INSTALL_SCRIPT) ./iverilog-vpi $(bindir)/iverilog-vpi
|
2002-04-07 02:47:10 +02:00
|
|
|
|
2000-09-30 05:20:47 +02:00
|
|
|
$(libdir)/ivl/ivl@EXEEXT@: ./ivl@EXEEXT@
|
|
|
|
|
$(INSTALL_PROGRAM) ./ivl@EXEEXT@ $(libdir)/ivl/ivl@EXEEXT@
|
2001-09-20 05:21:01 +02:00
|
|
|
$(STRIP) $(strip_dynamic) $(libdir)/ivl/ivl@EXEEXT@
|
1999-04-25 23:54:33 +02:00
|
|
|
|
2002-11-06 04:42:40 +01:00
|
|
|
# Install iverilog.conf whenever ivl.exe is installed. This
|
|
|
|
|
# forces iverilog.conf to be treated similarly, in spite of
|
|
|
|
|
# dates in the source bundle.
|
|
|
|
|
$(libdir)/ivl/iverilog.conf: $(libdir)/ivl/ivl@EXEEXT@
|
2000-10-09 00:36:55 +02:00
|
|
|
$(INSTALL_DATA) $(srcdir)/iverilog.conf $(libdir)/ivl/iverilog.conf
|
|
|
|
|
|
2000-08-20 06:13:56 +02:00
|
|
|
$(includedir)/ivl_target.h: $(srcdir)/ivl_target.h
|
|
|
|
|
$(INSTALL_DATA) $(srcdir)/ivl_target.h $(includedir)/ivl_target.h
|
|
|
|
|
|
2003-02-17 07:39:47 +01:00
|
|
|
$(includedir)/_pli_types.h: $(srcdir)/_pli_types.h
|
|
|
|
|
$(INSTALL_DATA) $(srcdir)/_pli_types.h $(includedir)/_pli_types.h
|
|
|
|
|
|
2001-03-14 20:27:44 +01:00
|
|
|
$(includedir)/vpi_user.h: $(srcdir)/vpi_user.h
|
|
|
|
|
$(INSTALL_DATA) $(srcdir)/vpi_user.h $(includedir)/vpi_user.h
|
|
|
|
|
|
2002-05-23 05:46:42 +02:00
|
|
|
$(includedir)/acc_user.h: $(srcdir)/acc_user.h
|
|
|
|
|
$(INSTALL_DATA) $(srcdir)/acc_user.h $(includedir)/acc_user.h
|
|
|
|
|
|
2002-05-19 07:21:00 +02:00
|
|
|
$(includedir)/veriuser.h: $(srcdir)/veriuser.h
|
|
|
|
|
$(INSTALL_DATA) $(srcdir)/veriuser.h $(includedir)/veriuser.h
|
|
|
|
|
|
2002-05-28 07:21:30 +02:00
|
|
|
$(mandir)/man1/iverilog-vpi.1: $(srcdir)/iverilog-vpi.man
|
|
|
|
|
$(INSTALL_DATA) $(srcdir)/iverilog-vpi.man $(mandir)/man1/iverilog-vpi.1
|
|
|
|
|
|
|
|
|
|
$(prefix)/iverilog-vpi.pdf: iverilog-vpi.pdf
|
|
|
|
|
$(INSTALL_DATA) iverilog-vpi.pdf $(prefix)/iverilog-vpi.pdf
|
|
|
|
|
|
2001-08-03 19:06:47 +02:00
|
|
|
# In windows installations, put a few examples and the quick_start
|
|
|
|
|
# into the destination directory.
|
|
|
|
|
ifeq (@WIN32@,yes)
|
2001-08-04 07:53:44 +02:00
|
|
|
$(prefix)/hello.vl: $(srcdir)/examples/hello.vl
|
2001-08-05 19:28:40 +02:00
|
|
|
./dosify.exe $(srcdir)/examples/hello.vl tmp.vl
|
|
|
|
|
mv tmp.vl $(prefix)/hello.vl
|
2001-08-03 19:06:47 +02:00
|
|
|
|
2001-08-04 07:53:44 +02:00
|
|
|
$(prefix)/sqrt.vl: $(srcdir)/examples/sqrt.vl
|
2001-08-05 19:28:40 +02:00
|
|
|
./dosify.exe $(srcdir)/examples/sqrt.vl tmp.vl
|
|
|
|
|
mv tmp.vl $(prefix)/sqrt.vl
|
2001-08-03 19:06:47 +02:00
|
|
|
|
2002-11-11 02:12:41 +01:00
|
|
|
$(prefix)/sqrt-virtex.v: $(srcdir)/examples/sqrt-virtex.v
|
|
|
|
|
./dosify.exe $(srcdir)/examples/sqrt-virtex.v tmp.vl
|
|
|
|
|
mv tmp.vl $(prefix)/sqrt-virtex.v
|
|
|
|
|
|
2001-08-03 19:06:47 +02:00
|
|
|
$(prefix)/QUICK_START.txt: $(srcdir)/QUICK_START.txt
|
2001-08-05 19:28:40 +02:00
|
|
|
./dosify.exe $(srcdir)/QUICK_START.txt tmp.txt
|
|
|
|
|
mv tmp.txt $(prefix)/QUICK_START.txt
|
2001-08-03 19:06:47 +02:00
|
|
|
endif
|
|
|
|
|
|
1999-04-25 23:54:33 +02:00
|
|
|
installdirs: mkinstalldirs
|
2002-06-05 20:52:14 +02:00
|
|
|
$(srcdir)/mkinstalldirs $(bindir) $(includedir) $(libdir)/ivl \
|
|
|
|
|
$(mandir) $(mandir)/man1
|
2001-08-03 19:06:47 +02:00
|
|
|
|
1999-04-25 23:54:33 +02:00
|
|
|
uninstall:
|
2003-03-15 06:47:51 +01:00
|
|
|
for dir in $(SUBDIRS); do (cd $$dir ; $(MAKE) $@); done
|
|
|
|
|
for tgt in $(TARGETS); do (cd $$tgt ; $(MAKE) $@); done
|
|
|
|
|
for dir in vpi ivlpp driver; \
|
|
|
|
|
do (cd $$dir ; $(MAKE) $@); done
|
|
|
|
|
for f in iverilog.conf ivl; \
|
|
|
|
|
do rm -f $(libdir)/ivl/$$f; done
|
2002-06-05 20:52:14 +02:00
|
|
|
-rmdir $(libdir)/ivl
|
2003-03-15 06:47:51 +01:00
|
|
|
for f in verilog iverilog-vpi gverilog@EXEEXT@; \
|
|
|
|
|
do rm -f $(bindir)/$$f; done
|
|
|
|
|
for f in ivl_target.h vpi_user.h _pli_types.h acc_user.h veriuser.h; \
|
|
|
|
|
do rm -f $(includedir)/$$f; done
|
2002-06-05 20:52:14 +02:00
|
|
|
rm -f $(mandir)/man1/iverilog-vpi.1
|
1999-04-25 23:54:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
-include $(patsubst %.o, dep/%.d, $O)
|
2001-06-12 05:53:10 +02:00
|
|
|
-include $(patsubst %.o, dep/%.d, vpithunk.o)
|