diff options
author | welch <welch> | 2000-04-05 00:42:38 (GMT) |
---|---|---|
committer | welch <welch> | 2000-04-05 00:42:38 (GMT) |
commit | a69e9645e4f689b1be8ff30844a9ff4dc5535ae4 (patch) | |
tree | d02bbbc06b457adb69c8db7da51130c22ed68c30 | |
parent | 5820a11d23505ff7b32c315baf0ba80ad43f85b0 (diff) | |
download | tcl-a69e9645e4f689b1be8ff30844a9ff4dc5535ae4.zip tcl-a69e9645e4f689b1be8ff30844a9ff4dc5535ae4.tar.gz tcl-a69e9645e4f689b1be8ff30844a9ff4dc5535ae4.tar.bz2 |
Added dependency of tclStubInit.c on the stubs tables
-rw-r--r-- | unix/Makefile.in | 9 | ||||
-rw-r--r-- | win/Makefile.in | 10 |
2 files changed, 16 insertions, 3 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 2cc3f20..7b5d57b 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.60 2000/04/04 08:05:56 hobbs Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.61 2000/04/05 00:42:38 welch Exp $ VERSION = @TCL_VERSION@ @@ -460,7 +460,7 @@ topDirName: gendate: yacc -l $(GENERIC_DIR)/tclGetDate.y sed -e 's/yy/TclDate/g' -e '/^#include <values.h>/d' \ - -e 's?SCCSID?RCS: @(#) $$Id: Makefile.in,v 1.60 2000/04/04 08:05:56 hobbs Exp $$?' \ + -e 's?SCCSID?RCS: @(#) $$Id: Makefile.in,v 1.61 2000/04/05 00:42:38 welch Exp $$?' \ -e '/#ifdef __STDC__/,/#endif/d' -e '/TclDateerrlab:/d' \ -e '/TclDatenewstate:/d' -e '/#pragma/d' \ -e '/#include <inttypes.h>/d' -e 's/const /CONST /g' \ @@ -998,6 +998,11 @@ tclStubLib.o: $(GENERIC_DIR)/tclStubLib.c # Target to regenerate header files and stub files from the *.decls tables. # +$(GENERIC_DIR)/tclStubInit.c: $(GENERIC_DIR)/tcl.decls \ + $(GENERIC_DIR)/tclInt.decls + tclsh $(TOOL_DIR)/genStubs.tcl $(GENERIC_DIR) \ + $(GENERIC_DIR)/tcl.decls $(GENERIC_DIR)/tclInt.decls + genstubs: tclsh $(TOOL_DIR)/genStubs.tcl $(GENERIC_DIR) \ $(GENERIC_DIR)/tcl.decls $(GENERIC_DIR)/tclInt.decls diff --git a/win/Makefile.in b/win/Makefile.in index 9151710..ef9c8b4 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.29 2000/03/31 08:52:25 hobbs Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.30 2000/04/05 00:42:42 welch Exp $ VERSION = @TCL_VERSION@ @@ -515,6 +515,14 @@ distclean: clean # Regenerate the stubs files. # +$(GENERIC_DIR)/tclStubInit.c: $(GENERIC_DIR)/tcl.decls \ + $(GENERIC_DIR)/tclInt.decls + @TCL_LIBRARY="$(ROOT_DIR_NATIVE)/library"; export TCL_LIBRARY; \ + $(TCLSH) "$(ROOT_DIR_NATIVE)\tools\genStubs.tcl" \ + "$(GENERIC_DIR_NATIVE)" \ + "$(GENERIC_DIR_NATIVE)\tcl.decls" \ + "$(GENERIC_DIR_NATIVE)\tclInt.decls" + genstubs: @TCL_LIBRARY="$(ROOT_DIR_NATIVE)/library"; export TCL_LIBRARY; \ $(TCLSH) "$(ROOT_DIR_NATIVE)\tools\genStubs.tcl" \ |