Permalink
Browse files

Add the gverilog driver program.

  • Loading branch information...
1 parent 4de8ba4 commit 22c2625ace589eca5196a161dc56dcb59cf96494 steve committed Dec 18, 1999
Showing with 401 additions and 4 deletions.
  1. +1 −0 .cvsignore
  2. +10 −4 Makefile.in
  3. +390 −0 gverilog.c
View
@@ -7,6 +7,7 @@ dep
configure
Makefile
verilog
+gverilog
config.status
config.log
config.cache
View
@@ -18,12 +18,12 @@
# 59 Temple Place - Suite 330
# Boston, MA 02111-1307, USA
#
-#ident "$Id: Makefile.in,v 1.30 1999/11/29 17:02:21 steve Exp $"
+#ident "$Id: Makefile.in,v 1.31 1999/12/18 04:15:01 steve Exp $"
#
#
SHELL = /bin/sh
-VERSION = 0.0
+VERSION = 0.2PRE
prefix = @prefix@
exec_prefix = @exec_prefix@
@@ -47,7 +47,7 @@ CPPFLAGS = @CPPFLAGS@ @DEFS@
CXXFLAGS = @CXXFLAGS@ -I$(srcdir)
LDFLAGS = @LDFLAGS@
-all: ivl verilog
+all: ivl verilog gverilog
cd vpi ; $(MAKE) all
cd vvm ; $(MAKE) all
cd ivlpp ; $(MAKE) all
@@ -96,6 +96,9 @@ verilog: $(srcdir)/verilog.sh
ivl: $O
$(CXX) $(CXXFLAGS) -o ivl $O
+gverilog: gverilog.c
+ $(CC) $(CPPFLAGS) -o gverilog -DLIBDIR='"@libdir@"' -DINCDIR='"@includedir@"' gverilog.c
+
%.o dep/%.d: %.cc
@[ -d dep ] || mkdir dep
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o
@@ -113,14 +116,17 @@ parse.h parse.cc: $(srcdir)/parse.y
lexor.cc: $(srcdir)/lexor.lex
flex -PVL -s -olexor.cc $(srcdir)/lexor.lex
-install: all installdirs $(bindir)/verilog $(bindir)/ivl $(mandir)/man1/verilog.1
+install: all installdirs $(bindir)/verilog $(bindir)/gverilog $(bindir)/ivl $(mandir)/man1/verilog.1
cd vpi ; $(MAKE) install
cd vvm ; $(MAKE) install
cd ivlpp ; $(MAKE) install
$(bindir)/verilog: ./verilog
$(INSTALL_PROGRAM) ./verilog $(bindir)/verilog
+$(bindir)/gverilog: ./gverilog
+ $(INSTALL_PROGRAM) ./gverilog $(bindir)/gverilog
+
$(bindir)/ivl: ivl
$(INSTALL_PROGRAM) ./ivl $(bindir)/ivl
$(STRIP) $(bindir)/ivl
Oops, something went wrong.

0 comments on commit 22c2625

Please sign in to comment.