summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2004-09-27 14:31:14 (GMT)
committerKevin B Kenny <kennykb@acm.org>2004-09-27 14:31:14 (GMT)
commitb2ddd5afb45d64091bc8d01b2b113523ffd74d45 (patch)
tree8b6c18227f33530b862fb4e7970c41ca4d140197 /win
parent7ce488b19c3bc7061ea8976f1672952b4f5fd1c7 (diff)
downloadtcl-b2ddd5afb45d64091bc8d01b2b113523ffd74d45.zip
tcl-b2ddd5afb45d64091bc8d01b2b113523ffd74d45.tar.gz
tcl-b2ddd5afb45d64091bc8d01b2b113523ffd74d45.tar.bz2
many more TIP 173 changes
Diffstat (limited to 'win')
-rw-r--r--win/Makefile.in15
-rw-r--r--win/makefile.bc1
-rw-r--r--win/makefile.vc14
-rw-r--r--win/tcl.dsp4
4 files changed, 25 insertions, 9 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index ac2ea0d..3a8160a 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.80 2004/08/18 20:59:35 kennykb Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.81 2004/09/27 14:31:21 kennykb Exp $
VERSION = @TCL_VERSION@
@@ -292,7 +292,7 @@ WIN_OBJS = \
tclWinTime.$(OBJEXT)
COMPAT_OBJS = \
- strftime.$(OBJEXT) strtoll.$(OBJEXT) strtoull.$(OBJEXT)
+ strtoll.$(OBJEXT) strtoull.$(OBJEXT)
PIPE_OBJS = stub16.$(OBJEXT)
@@ -459,6 +459,17 @@ tclStubLib.${OBJEXT}: tclStubLib.c
.rc.$(RES):
$(RC) @RC_OUT@ $@ @RC_TYPE@ @RC_DEFINES@ @RC_INCLUDE@ "$(GENERIC_DIR_NATIVE)" @RC_INCLUDE@ "$(WIN_DIR_NATIVE)" @DEPARG@
+# The following target generates the file generic/tclDate.c
+# from the yacc grammar found in generic/tclGetDate.y. This is
+# only run by hand as yacc is not available in all environments.
+# The name of the .c file is different than the name of the .y file
+# so that make doesn't try to automatically regenerate the .c file.
+
+gendate:
+ bison --output-file=$(GENERIC_DIR)/tclDate.c \
+ --name-prefix=TclDate \
+ $(GENERIC_DIR)/tclGetDate.y
+
install: all install-binaries install-libraries install-doc
install-binaries: binaries
diff --git a/win/makefile.bc b/win/makefile.bc
index e627f4e..2bc6f9e 100644
--- a/win/makefile.bc
+++ b/win/makefile.bc
@@ -193,7 +193,6 @@ TCLOBJS = \
$(TMPDIR)\regexec.obj \
$(TMPDIR)\regfree.obj \
$(TMPDIR)\regerror.obj \
- $(TMPDIR)\strftime.obj \
$(TMPDIR)\strtoll.obj \
$(TMPDIR)\strtoull.obj \
$(TMPDIR)\tclAlloc.obj \
diff --git a/win/makefile.vc b/win/makefile.vc
index ec5628f..c553016 100644
--- a/win/makefile.vc
+++ b/win/makefile.vc
@@ -12,7 +12,7 @@
# Copyright (c) 2001-2004 David Gravereaux.
#
#------------------------------------------------------------------------------
-# RCS: @(#) $Id: makefile.vc,v 1.133 2004/09/08 00:05:54 davygrvy Exp $
+# RCS: @(#) $Id: makefile.vc,v 1.134 2004/09/27 14:31:21 kennykb Exp $
#------------------------------------------------------------------------------
!if !defined(MSDEVDIR) && !defined(MSVCDIR)
@@ -247,7 +247,6 @@ TCLOBJS = \
$(TMP_DIR)\regerror.obj \
$(TMP_DIR)\regexec.obj \
$(TMP_DIR)\regfree.obj \
- $(TMP_DIR)\strftime.obj \
$(TMP_DIR)\strtoll.obj \
$(TMP_DIR)\strtoull.obj \
$(TMP_DIR)\tclAlloc.obj \
@@ -713,6 +712,17 @@ tclConfig:
<<
!endif
+# The following target generates the file generic/tclDate.c
+# from the yacc grammar found in generic/tclGetDate.y. This is
+# only run by hand as yacc is not available in all environments.
+# The name of the .c file is different than the name of the .y file
+# so that make doesn't try to automatically regenerate the .c file.
+
+gendate:
+ bison --output-file=$(GENERICDIR)/tclDate.c \
+ --name-prefix=TclDate \
+ $(GENERICDIR)/tclGetDate.y
+
#---------------------------------------------------------------------
# Special case object file targets
#---------------------------------------------------------------------
diff --git a/win/tcl.dsp b/win/tcl.dsp
index 23a4cc5..8c77c10 100644
--- a/win/tcl.dsp
+++ b/win/tcl.dsp
@@ -180,10 +180,6 @@ SOURCE=..\compat\stdlib.h
# End Source File
# Begin Source File
-SOURCE=..\compat\strftime.c
-# End Source File
-# Begin Source File
-
SOURCE=..\compat\string.h
# End Source File
# Begin Source File