Autoconfig ident support.
This commit is contained in:
parent
aca1dcf848
commit
774f78cd3e
|
|
@ -16,7 +16,7 @@
|
||||||
# 59 Temple Place - Suite 330
|
# 59 Temple Place - Suite 330
|
||||||
# Boston, MA 02111-1307, USA
|
# 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
|
SHELL = /bin/sh
|
||||||
|
|
@ -177,7 +177,7 @@ endif
|
||||||
|
|
||||||
%.o: %.cc
|
%.o: %.cc
|
||||||
@[ -d dep ] || mkdir dep
|
@[ -d dep ] || mkdir dep
|
||||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o
|
$(CXX) @ident_support@ $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o
|
||||||
mv $*.d dep/$*.d
|
mv $*.d dep/$*.d
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
24
configure.in
24
configure.in
|
|
@ -231,10 +231,30 @@ case "${host}" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
AC_SUBST(shared)
|
AC_SUBST(shared)
|
||||||
|
|
||||||
AC_MSG_RESULT($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)
|
AC_OUTPUT(Makefile vpi/Makefile ivlpp/Makefile driver/Makefile tgt-null/Makefile tgt-stub/Makefile tgt-verilog/Makefile tgt-pal/Makefile)
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
# 59 Temple Place - Suite 330
|
# 59 Temple Place - Suite 330
|
||||||
# Boston, MA 02111-1307, USA
|
# 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
|
SHELL = /bin/sh
|
||||||
|
|
@ -47,7 +47,7 @@ all: fpga.tgt
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@[ -d dep ] || mkdir dep
|
@[ -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
|
mv $*.d dep
|
||||||
|
|
||||||
D = d-generic.o d-generic-edif.o d-virtex.o
|
D = d-generic.o d-generic-edif.o d-virtex.o
|
||||||
|
|
|
||||||
|
|
@ -76,4 +76,25 @@ AC_SUBST(WIN32)
|
||||||
AC_MSG_RESULT($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)
|
AC_OUTPUT(Makefile)
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
# 59 Temple Place - Suite 330
|
# 59 Temple Place - Suite 330
|
||||||
# Boston, MA 02111-1307, USA
|
# 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
|
SHELL = /bin/sh
|
||||||
|
|
@ -47,7 +47,7 @@ all: vvp.tgt
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
@[ -d dep ] || mkdir dep
|
@[ -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
|
mv $*.d dep
|
||||||
|
|
||||||
O = vvp.o draw_mux.o eval_expr.o vvp_process.o vvp_scope.o
|
O = vvp.o draw_mux.o eval_expr.o vvp_process.o vvp_scope.o
|
||||||
|
|
|
||||||
|
|
@ -76,4 +76,25 @@ AC_SUBST(WIN32)
|
||||||
AC_MSG_RESULT($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)
|
AC_OUTPUT(Makefile)
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
# 59 Temple Place - Suite 330
|
# 59 Temple Place - Suite 330
|
||||||
# Boston, MA 02111-1307, USA
|
# 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
|
SHELL = /bin/sh
|
||||||
|
|
@ -76,7 +76,7 @@ vvp: $O
|
||||||
|
|
||||||
%.o: %.cc
|
%.o: %.cc
|
||||||
@[ -d dep ] || mkdir dep
|
@[ -d dep ] || mkdir dep
|
||||||
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o
|
$(CXX) @ident_support@ $(CPPFLAGS) $(CXXFLAGS) -MD -c $< -o $*.o
|
||||||
mv $*.d dep/$*.d
|
mv $*.d dep/$*.d
|
||||||
|
|
||||||
tables.cc: draw_tt.c
|
tables.cc: draw_tt.c
|
||||||
|
|
|
||||||
|
|
@ -174,4 +174,26 @@ AC_MSG_RESULT("$CC_LEADING_UNDERSCORE $CC_TRAILING_UNDERSCORE")
|
||||||
## end of test for underscores
|
## 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)
|
AC_OUTPUT(Makefile)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue