diff options
author | welch <welch@noemail.net> | 2000-04-05 00:42:38 (GMT) |
---|---|---|
committer | welch <welch@noemail.net> | 2000-04-05 00:42:38 (GMT) |
commit | 2b47a32021ae3ddd5d9bd15be571f8dafc090b58 (patch) | |
tree | d02bbbc06b457adb69c8db7da51130c22ed68c30 | |
parent | 06cab5cd1f7a5ed842c02ff6f8cfb9bea9dd8e62 (diff) | |
download | tcl-2b47a32021ae3ddd5d9bd15be571f8dafc090b58.zip tcl-2b47a32021ae3ddd5d9bd15be571f8dafc090b58.tar.gz tcl-2b47a32021ae3ddd5d9bd15be571f8dafc090b58.tar.bz2 |
Added dependency of tclStubInit.c on the stubs tables
FossilOrigin-Name: b0e8d28f5d57b4df4165bcafdd80ea79565d9c52
-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" \ |