Tcl Source Code

Check-in [ba23ecfe5e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Build fix. add tocstr tools relative pathname
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | ferrieux-nacl
Files: files | file ages | folders
SHA1: ba23ecfe5e92a82f085d859107c1c2744998ef03
User & Date: venkat 2011-04-06 18:53:07
Context
2011-04-06
21:44
Let nacl/tclUnixPort.h be a generated file rather than a source. check-in: bf7fead8fd user: ferrieux tags: ferrieux-nacl
18:53
Build fix. add tocstr tools relative pathname check-in: ba23ecfe5e user: venkat tags: ferrieux-nacl
2011-04-05
20:39
Make init.tcl.c a generated file rather than a source. check-in: 67cb635128 user: ferrieux tags: ferrieux-nacl
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to nacl/Makefile.patch.

78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
@@ -634,8 +646,21 @@
 # Must be empty so it doesn't conflict with rule for ${TCL_EXE} above
 ${NATIVE_TCLSH}:
 
-Makefile: $(UNIX_DIR)/Makefile.in $(DLTEST_DIR)/Makefile.in
-	$(SHELL) config.status
+init.tcl.c: ../library/init.tcl
+	tocstr < ../library/init.tcl > init.tcl.c
+
+naclMain.o:	naclMain.c init.tcl.c
+	$(CC) -c $(CC_SWITCHES) naclMain.c
+
+tcl.nexe: naclMain.o libtcl8.6.a
+	$(CCPLUS)  $^ $(LDFLAGS) -m32 -o $@
+







|







78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
@@ -634,8 +646,21 @@
 # Must be empty so it doesn't conflict with rule for ${TCL_EXE} above
 ${NATIVE_TCLSH}:
 
-Makefile: $(UNIX_DIR)/Makefile.in $(DLTEST_DIR)/Makefile.in
-	$(SHELL) config.status
+init.tcl.c: ../library/init.tcl
+	tools/tocstr < ../library/init.tcl > init.tcl.c
+
+naclMain.o:	naclMain.c init.tcl.c
+	$(CC) -c $(CC_SWITCHES) naclMain.c
+
+tcl.nexe: naclMain.o libtcl8.6.a
+	$(CCPLUS)  $^ $(LDFLAGS) -m32 -o $@
+