summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2000-04-21 04:07:08 (GMT)
committerhobbs <hobbs@noemail.net>2000-04-21 04:07:08 (GMT)
commit0af35b7841de9351ac83c5f77c5ae58a12a6f44f (patch)
tree7d7fb6d59999ba4ceefc8e4dc2adbe3abe343c47
parent72cb9469e20e19baabab466ae4052bc550b904d5 (diff)
downloadtk-0af35b7841de9351ac83c5f77c5ae58a12a6f44f.zip
tk-0af35b7841de9351ac83c5f77c5ae58a12a6f44f.tar.gz
tk-0af35b7841de9351ac83c5f77c5ae58a12a6f44f.tar.bz2
* win/aclocal.m4: made SC_PROG_TCLSH search specifically for
tclsh*.exe type files to find an executable. * win/Makefile.in: fixed up cleanup, winhelp, cat32 targets FossilOrigin-Name: 26bcc8a25462d5b9011315f529c5c3088e44a5d6
-rw-r--r--win/Makefile.in24
-rw-r--r--win/aclocal.m42
2 files changed, 16 insertions, 10 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 3b91f52..f14374b 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -4,7 +4,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.20 2000/04/12 18:51:11 hobbs Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.21 2000/04/21 04:07:09 hobbs Exp $
TCLVERSION = @TCL_VERSION@
VERSION = @TK_VERSION@
@@ -120,7 +120,7 @@ STATIC_LIBRARIES = $(TK_LIB_FILE)
WISH = wish$(VER)${EXESUFFIX}
TKTEST = tktest${EXEEXT}
-CAT32 = cat32
+CAT32 = cat32$(EXEEXT)
MAN2TCL = man2tcl$(EXEEXT)
@SET_MAKE@
@@ -356,11 +356,12 @@ $(ROOT_DIR)/doc/man.macros:
doc: $(ROOT_DIR)/doc/man.macros
-winhelp: $(TCL_SRC_DIR_NATIVE)/../tools/man2help.tcl $(MAN2TCL)
+winhelp: $(TCL_SRC_DIR_NATIVE)/../tools/man2help.tcl $(MAN2TCL)
TCL_LIBRARY="$(TCL_SRC_DIR_NATIVE)/../library"; export TCL_LIBRARY; \
TK_LIBRARY="$(ROOT_DIR_NATIVE)/library"; export TK_LIBRARY; \
PATH="$(PATH):$(TCL_BIN_DIR)"; export PATH; \
$(TCLSH_PROG) "$(TCL_SRC_DIR_NATIVE)"/../tools/man2help.tcl tcl "$(VER)" $(CORE_DOCS)
+ $(COPY) "$(TCL_BIN_DIR)"/tcl.hpj ./
hcw /c /e tcl.hpj
$(MAN2TCL): $(TCL_SRC_DIR_NATIVE)/../tools/man2tcl.c
@@ -486,8 +487,10 @@ $(TKTEST): $(TK_LIB_FILE) $(TKTEST_OBJS) wish.res $(CAT32)
$(TK_LIB_FILE) $(LIBS) \
wish.res $(CC_EXENAME) -link $(LDFLAGS_WINDOW)
-$(CAT32): $(TCL_SRC_DIR)/cat.c
+cat32.${OBJEXT}: $(TCL_SRC_DIR)/cat.c
$(CC) -c $(CC_SWITCHES) $(DEPARG) $(CC_OBJNAME)
+
+$(CAT32): cat32.${OBJEXT}
$(CC) $(CFLAGS) cat32.$(OBJEXT) $(CC_EXENAME) -link $(LDFLAGS_CONSOLE)
# The following targets are configured by autoconf to generate either
@@ -541,13 +544,16 @@ tclThreadTest.$(OBJEXT): $(TCL_BIN_DIR)/tclThreadTest.$(OBJEXT)
depend:
-clean:
- $(RM) *.lib *.exp *.dll *.${OBJEXT} *~ \#* TAGS a.out
- $(RM) $(WISH) $(TKTEST)
- $(RM) *.pch
+cleanhelp:
+ $(RM) *.hlp *.cnt *.hpj *.GID *.rtf man2tcl.exe
+
+clean: cleanhelp
+ $(RM) *.lib *.exp *.dll *.res *.${OBJEXT} *~ \#* TAGS a.out
+ $(RM) $(WISH) $(TKTEST) $(CAT32)
+ $(RM) *.pch *.ilk *.pdb
distclean: clean
- $(RM) Makefile config.status config.cache config.log
+ $(RM) Makefile config.status config.cache config.log tkConfig.sh
Makefile: Makefile.in
./config.status
diff --git a/win/aclocal.m4 b/win/aclocal.m4
index 276251a..f10cc28 100644
--- a/win/aclocal.m4
+++ b/win/aclocal.m4
@@ -465,7 +465,7 @@ AC_DEFUN(SC_PROG_TCLSH, [
AC_CACHE_VAL(ac_cv_path_tclsh, [
search_path=`echo ${exec_prefix}/bin:${prefix}/bin:${TCL_BIN_DIR}:${TCL_BIN_DIR}/../bin:${PATH} | sed -e 's/:/ /g'`
for dir in $search_path ; do
- for j in `ls -r $dir/tclsh[[8-9]]* 2> /dev/null` \
+ for j in `ls -r $dir/tclsh[[8-9]]*.exe 2> /dev/null` \
`ls -r $dir/tclsh* 2> /dev/null` ; do
if test x"$ac_cv_path_tclsh" = x ; then
if test -f "$j" ; then