Differences From Artifact [a2f7dfd11c]:
- Executable file kitdll/build.sh — part of check-in [f05f6abdf1] at 2010-09-30 05:54:35 on branch trunk — Added kitdll top-level build script (user: rkeene, size: 1678) [annotate] [blame] [check-ins using]
To Artifact [d547391b05]:
- Executable file
kitdll/build.sh
— part of check-in
[f547179798]
at
2010-09-30 06:24:04
on branch trunk
— Fixed KitDLL Build script to correctly create VFS directory before calling
make
Added KitDLL cleaning to main kitcreator top-level build script Updated to allow KitDLL to ship (user: rkeene, size: 1717) [annotate] [blame] [check-ins using] 
| ︙ | ︙ | |||
| 32 33 34 35 36 37 38 | 
			break
		fi
	done
	# Cleanup, just incase the incoming directory was not pre-cleaned
	${MAKE:-make} distclean >/dev/null 2>/dev/null
 | | < < < < < < < < > > > > > > > > > > | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | 
			break
		fi
	done
	# Cleanup, just incase the incoming directory was not pre-cleaned
	${MAKE:-make} distclean >/dev/null 2>/dev/null
	rm -rf "starpack.vfs"
	# Create VFS directory
	mkdir "starpack.vfs"
	mkdir "starpack.vfs/lib"
	## Copy in required built directories
	cp -r "${OTHERPKGSDIR}"/tcl/out/* 'starpack.vfs/'
	cp -r "${OTHERPKGSDIR}"/tclvfs/out/* 'starpack.vfs/'
	cp -r "${OTHERPKGSDIR}"/thread/out/* 'starpack.vfs/'
	## Rename the "vfs" package directory to what "boot.tcl" expects
	mv 'starpack.vfs/lib'/vfs* 'starpack.vfs/lib/vfs'
	## Install "boot.tcl"
	cp 'boot.tcl' 'starpack.vfs/'
	# Build KitDLL
	echo "Running: ./configure --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
	./configure --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
	echo "Running: ${MAKE:-make}"
	${MAKE:-make} TCLSH_NATIVE="${TCLSH_NATIVE}" || exit 1
	# Strip the KitDLL of debugging symbols, if possible
	"${STRIP:-strip}" -g libtcl.* >/dev/null 2>/dev/null
	exit 0
) || exit 1
exit 0
 |