diff --git a/Makefile.in b/Makefile.in index 43ccd0d2f..c774f5861 100644 --- a/Makefile.in +++ b/Makefile.in @@ -16,7 +16,7 @@ # 59 Temple Place - Suite 330 # Boston, MA 02111-1307, USA # -#ident "$Id: Makefile.in,v 1.132 2002/08/10 22:27:13 steve Exp $" +#ident "$Id: Makefile.in,v 1.133 2002/08/12 00:27:10 steve Exp $" # # SHELL = /bin/sh @@ -177,7 +177,7 @@ endif %.o: %.cc @[ -d dep ] || mkdir dep - $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o + $(CXX) @ident_support@ $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o mv $*.d dep/$*.d diff --git a/configure.in b/configure.in index 52af6c369..e9068cccc 100644 --- a/configure.in +++ b/configure.in @@ -231,10 +231,30 @@ case "${host}" in esac AC_SUBST(shared) - AC_MSG_RESULT($shared) -AC_CONFIG_SUBDIRS(vpip vvp tgt-vvp tgt-fpga libveriuser) +AC_MSG_CHECKING("for ident support in C compiler") +ident_support='-DHAVE_CVS_IDENT=1' +case "${host}" in + + *-*-cygwin*) + ident_support= + ;; + + *-*-darwin*) + ident_support= + ;; + + *-*-machten*) + ident_support= + ;; +esac + +AC_SUBST(ident_support) +AC_MSG_RESULT($ident_support) + + +AC_CONFIG_SUBDIRS(vvp tgt-vvp tgt-fpga libveriuser) AC_OUTPUT(Makefile vpi/Makefile ivlpp/Makefile driver/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-verilog/Makefile tgt-pal/Makefile) diff --git a/tgt-fpga/Makefile.in b/tgt-fpga/Makefile.in index b4bd072ff..fc9d58689 100644 --- a/tgt-fpga/Makefile.in +++ b/tgt-fpga/Makefile.in @@ -16,7 +16,7 @@ # 59 Temple Place - Suite 330 # Boston, MA 02111-1307, USA # -#ident "$Id: Makefile.in,v 1.4 2001/11/17 17:57:58 steve Exp $" +#ident "$Id: Makefile.in,v 1.5 2002/08/12 00:27:10 steve Exp $" # # SHELL = /bin/sh @@ -47,7 +47,7 @@ all: fpga.tgt %.o: %.c @[ -d dep ] || mkdir dep - $(CC) -Wall -I$(srcdir)/.. $(CPPFLAGS) -MD -c $< -o $*.o + $(CC) -Wall @ident_support@ -I$(srcdir)/.. $(CPPFLAGS) -MD -c $< -o $*.o mv $*.d dep D = d-generic.o d-generic-edif.o d-virtex.o diff --git a/tgt-fpga/configure.in b/tgt-fpga/configure.in index 9fc085310..ea9e084b3 100644 --- a/tgt-fpga/configure.in +++ b/tgt-fpga/configure.in @@ -76,4 +76,25 @@ AC_SUBST(WIN32) AC_MSG_RESULT($WIN32) +AC_MSG_CHECKING("for ident support in C compiler") +ident_support='-DHAVE_CVS_IDENT=1' +case "${host}" in + + *-*-cygwin*) + ident_support= + ;; + + *-*-darwin*) + ident_support= + ;; + + *-*-machten*) + ident_support= + ;; +esac + +AC_SUBST(ident_support) +AC_MSG_RESULT($ident_support) + + AC_OUTPUT(Makefile) diff --git a/tgt-vvp/Makefile.in b/tgt-vvp/Makefile.in index 92986ff33..5e1d12344 100644 --- a/tgt-vvp/Makefile.in +++ b/tgt-vvp/Makefile.in @@ -16,7 +16,7 @@ # 59 Temple Place - Suite 330 # Boston, MA 02111-1307, USA # -#ident "$Id: Makefile.in,v 1.9 2002/07/08 04:04:07 steve Exp $" +#ident "$Id: Makefile.in,v 1.10 2002/08/12 00:27:10 steve Exp $" # # SHELL = /bin/sh @@ -47,7 +47,7 @@ all: vvp.tgt %.o: %.c @[ -d dep ] || mkdir dep - $(CC) -Wall -I$(srcdir)/.. $(CPPFLAGS) $(CFLAGS) -MD -c $< -o $*.o + $(CC) -Wall @ident_support@ -I$(srcdir)/.. $(CPPFLAGS) $(CFLAGS) -MD -c $< -o $*.o mv $*.d dep O = vvp.o draw_mux.o eval_expr.o vvp_process.o vvp_scope.o diff --git a/tgt-vvp/configure.in b/tgt-vvp/configure.in index 528f9c80f..b3c9cc5b7 100644 --- a/tgt-vvp/configure.in +++ b/tgt-vvp/configure.in @@ -76,4 +76,25 @@ AC_SUBST(WIN32) AC_MSG_RESULT($WIN32) +AC_MSG_CHECKING("for ident support in C compiler") +ident_support='-DHAVE_CVS_IDENT=1' +case "${host}" in + + *-*-cygwin*) + ident_support= + ;; + + *-*-darwin*) + ident_support= + ;; + + *-*-machten*) + ident_support= + ;; +esac + +AC_SUBST(ident_support) +AC_MSG_RESULT($ident_support) + + AC_OUTPUT(Makefile) diff --git a/vvp/Makefile.in b/vvp/Makefile.in index a0d0262ab..f7ef4ff25 100644 --- a/vvp/Makefile.in +++ b/vvp/Makefile.in @@ -16,7 +16,7 @@ # 59 Temple Place - Suite 330 # Boston, MA 02111-1307, USA # -#ident "$Id: Makefile.in,v 1.39 2002/07/05 02:50:57 steve Exp $" +#ident "$Id: Makefile.in,v 1.40 2002/08/12 00:27:10 steve Exp $" # # SHELL = /bin/sh @@ -76,7 +76,7 @@ vvp: $O %.o: %.cc @[ -d dep ] || mkdir dep - $(CXX) $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o + $(CXX) @ident_support@ $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o mv $*.d dep/$*.d tables.cc: draw_tt.c diff --git a/vvp/configure.in b/vvp/configure.in index 0b7b285fe..3a9a0b899 100644 --- a/vvp/configure.in +++ b/vvp/configure.in @@ -174,4 +174,26 @@ AC_MSG_RESULT("$CC_LEADING_UNDERSCORE $CC_TRAILING_UNDERSCORE") ## end of test for underscores ####################### + + +AC_MSG_CHECKING("for ident support in C compiler") +ident_support='-DHAVE_CVS_IDENT=1' +case "${host}" in + + *-*-cygwin*) + ident_support= + ;; + + *-*-darwin*) + ident_support= + ;; + + *-*-machten*) + ident_support= + ;; +esac + +AC_SUBST(ident_support) +AC_MSG_RESULT($ident_support) + AC_OUTPUT(Makefile)