Check-in [7677216774]
Overview
Comment:Updated to include "tclsh" in the SDK
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 76772167747ced4e6244fb4ac97aa37963702e53
User & Date: rkeene on 2017-08-18 13:54:02
Other Links: manifest | tags
Context
2017-08-18
14:22
Updated to allow the user to specify additional arguments to "make" when building "tclsh" check-in: bd1ae86760 user: rkeene tags: trunk
13:54
Updated to include "tclsh" in the SDK check-in: 7677216774 user: rkeene tags: trunk
04:56
KitCreator 0.10.2 check-in: 88e094b180 user: rkeene tags: trunk, 0.10.2
Changes

Modified common/post/sdk.sh from [a72780d913] to [6787bbb86e].

10
11
12
13
14
15
16

17
18
19
20
21
22
23
24
25
26
27
28
29



30
31
32
33
34
35
36
	exit 0
fi

rm -rf '__tmp__'
mkdir '__tmp__'
mkdir '__tmp__/include'
mkdir '__tmp__/lib'

mkdir '__tmp__/doc'

cp 'tcl/inst/lib/tclConfig.sh' '__tmp__/lib/'
cp -rp 'tcl/inst/include'/* '__tmp__/include/'
cp 'tcl/inst/lib'/libtclstub* '__tmp__/lib/'

if [ -f 'tk/inst/lib/tkConfig.sh' ]; then
	cp 'tk/inst/lib/tkConfig.sh' '__tmp__/lib/'
	cp -rp 'tk/inst/include'/* '__tmp__/include/'
	cp 'tk/inst/lib'/libtkstub* '__tmp__/lib/'
fi

cp 'kitsh/build'/kitsh-*/libtclkit* '__tmp__/lib/'




for dir in */; do
	if [ ! -d "${dir}/build" ]; then
		continue
	fi

	project="$(basename "${dir}")"







>













>
>
>







10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
	exit 0
fi

rm -rf '__tmp__'
mkdir '__tmp__'
mkdir '__tmp__/include'
mkdir '__tmp__/lib'
mkdir '__tmp__/bin'
mkdir '__tmp__/doc'

cp 'tcl/inst/lib/tclConfig.sh' '__tmp__/lib/'
cp -rp 'tcl/inst/include'/* '__tmp__/include/'
cp 'tcl/inst/lib'/libtclstub* '__tmp__/lib/'

if [ -f 'tk/inst/lib/tkConfig.sh' ]; then
	cp 'tk/inst/lib/tkConfig.sh' '__tmp__/lib/'
	cp -rp 'tk/inst/include'/* '__tmp__/include/'
	cp 'tk/inst/lib'/libtkstub* '__tmp__/lib/'
fi

cp 'kitsh/build'/kitsh-*/libtclkit* '__tmp__/lib/'
cp 'kitsh/build'/kitsh-*/tclsh '__tmp__/bin/' >/dev/null 2>/dev/null
cp 'kitsh/build'/kitsh-*/tclsh.exe '__tmp__/bin/' >/dev/null 2>/dev/null
rmdir '__tmp__/bin' >/dev/null 2>/dev/null

for dir in */; do
	if [ ! -d "${dir}/build" ]; then
		continue
	fi

	project="$(basename "${dir}")"
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
)

(
	cd '__tmp__' || exit 1

	mkdir "libtclkit-sdk-${TCLVERS}"

	mv 'lib' 'include' 'doc' "libtclkit-sdk-${TCLVERS}/"

	if [ -e 'Android.mk' ]; then
		mv 'Android.mk' "libtclkit-sdk-${TCLVERS}/"
	fi

	tar -cf - "libtclkit-sdk-${TCLVERS}" | gzip -9c > "../libtclkit-sdk-${TCLVERS}.tar.gz"
)

rm -rf '__tmp__'

exit 0







|











140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
)

(
	cd '__tmp__' || exit 1

	mkdir "libtclkit-sdk-${TCLVERS}"

	mv 'bin' 'lib' 'include' 'doc' "libtclkit-sdk-${TCLVERS}/"

	if [ -e 'Android.mk' ]; then
		mv 'Android.mk' "libtclkit-sdk-${TCLVERS}/"
	fi

	tar -cf - "libtclkit-sdk-${TCLVERS}" | gzip -9c > "../libtclkit-sdk-${TCLVERS}.tar.gz"
)

rm -rf '__tmp__'

exit 0

Modified kitsh/build.sh from [6c838e6aa6] to [7664997e0e].

182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198

			break
		done

		## Also create an executable named "kit" so that we can run it later
		${MAKE:-make} tclsh
		if [ -f "tclsh.exe" ]; then
			mv tclsh.exe kit.exe
		else
			mv tclsh kit
		fi
	else
		## The executable is always named "kit"
		if [ -f 'kit.exe' ]; then
			KITTARGET_NAME='./kit.exe'
		else
			KITTARGET_NAME='./kit'







|

|







182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198

			break
		done

		## Also create an executable named "kit" so that we can run it later
		${MAKE:-make} tclsh
		if [ -f "tclsh.exe" ]; then
			cp tclsh.exe kit.exe
		else
			cp tclsh kit
		fi
	else
		## The executable is always named "kit"
		if [ -f 'kit.exe' ]; then
			KITTARGET_NAME='./kit.exe'
		else
			KITTARGET_NAME='./kit'