Check-in [55874bc4e8]
Overview
Comment:Updated to include a basic test of functionality
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 55874bc4e8159a761da54ad98de650e7d4224d82
User & Date: rkeene on 2014-05-03 21:09:43
Other Links: manifest | tags
Context
2014-05-04
02:47
Updated to clean temporary directory in distclean check-in: ad53be24aa user: rkeene tags: trunk
2014-05-03
21:09
Updated to include a basic test of functionality check-in: 55874bc4e8 user: rkeene tags: trunk
20:38
Updated ignores to match rename check-in: 3f97094b5f user: rkeene tags: trunk
Changes

Modified .fossil-settings/ignore-glob from [09b2b7cdca] to [980efb29a3].

16
17
18
19
20
21
22


16
17
18
19
20
21
22
23
24







+
+
tcc4tcl.o
tcc4tcl-static.a
tcc4tcl.so
tcc4tcl.sl
tcc4tcl.dylib
tcc4tcl.syms
tcc4tcl.vers
TEST-STATUS
__TMP__

Modified Makefile.in from [ed723b7cb2] to [03db75375e].

78
79
80
81
82
83
84






85
86
87
88

89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104

78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110

111







+
+
+
+
+
+




+















-
+
			dstdir="$$(dirname "$$dst")"; \
			echo mkdir -p "$$dstdir"; \
			mkdir -p "$$dstdir"; \
			echo cp "$$src" "$$dst"; \
			cp "$$src" "$$dst"; \
		done

test:
	rm -rf __TMP__
	$(MAKE) install tcllibdir=$(shell pwd)/__TMP__
	cd __TMP__/* && ../../test
	echo Tests Completed OK > TEST-STATUS

clean:
	rm -f tcc4tcl.o
	rm -f tcc4tcl.@SHOBJEXT@ tcc4tcl-static.a
	rm -f tcc4tcl.@SHOBJEXT@.a tcc4tcl.@SHOBJEXT@.def
	rm -f TEST-STATUS
	-$(MAKE) -C tcc clean

distclean: clean
	rm -rf autom4te.cache
	rm -f config.log config.status
	rm -f pkgIndex.tcl tcc4tcl.syms tcc4tcl.vers
	rm -f Makefile
	-$(MAKE) -C tcc distclean

mrproper: distclean
	rm -rf __TMP__
	rm -rf tcc
	rm -f configure aclocal.m4
	rm -f config.guess config.sub install-sh

.PHONY: all install clean distclean mrproper
.PHONY: all install test clean distclean mrproper

Modified build/makearch.info from [bd160aecd4] to [215d998a66].

1
2
3
4
5
6
7
8

9

10
11
12
13
14
15
16
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
17








+
-
+







# This is the name of the utility, it will be prefixed to the tarball name
UTIL="tcc4tcl"

# This is the name of output files that should exist after configure 
# procedures.
BINS="tcc4tcl.so"

# This lists the name of files that are required to exist
## TEST-STATUS is only created if "make test" succeeds
REQS="pkgIndex.tcl"
REQS="pkgIndex.tcl TEST-STATUS"

# Version of utility, if empty it will be guessed.
# If set to "auto" it will be maintained in a file called .version
# in the source directory and the revision will be incremented
# each time a "makearch" is done.
#
# If @@SVNLCR@@ is used anywhere in this version number, it will be

Added test version [c72233bf30].







1
2
3
4
5
6
+
+
+
+
+
+
#! /usr/bin/env tclsh

source tcc4tcl.tcl
tcc4tcl::cproc test {int i} int { return(i+42); }
tcc4tcl::cproc test1 {int i} int { return(i+42); }
puts [test 1]