#!/bin/sh
-# $Id: make-scmutils,v 1.3 2002/07/11 16:47:42 cph Exp $
+# $Id: make-scmutils,v 1.4 2002/11/20 18:20:40 cph Exp $
#
# Copyright (c) 2001, 2002 Massachusetts Institute of Technology
#
AUXDIR="${IMAGE_DIR}/scmutils"
MBINDIR="${AUXDIR}/mit-scheme/bin"
MAUXDIR="${AUXDIR}/mit-scheme/lib"
+BCIDIR="${MAUXDIR}/SRC"
STAMP_UNPACK="${TL_DIR}/stamp-unpack"
STAMP_BUILD="${TL_DIR}/stamp-build"
rm -rf "${BUILD_DIR}"
echo "Create new build directory"
cpx -qsE "${SOURCE_DIR}/src" "${BUILD_DIR}"
+ rm -f "${BUILD_DIR}/load.scm"
+ ln -s "${SOURCE_DIR}/dist/load.scm" "${BUILD_DIR}/."
cd "${BUILD_DIR}"
echo "Compile binaries"
${SCHEME} -compiler -heap 4000 > compile.out \
echo "Copy debugging files"
for DIR in $(cd ${BUILD_DIR};find * -type d -print); do
- ${MKDIR} "${AUXDIR}/linux/${DIR}"
+ ${MKDIR} "${BCIDIR}/scmutils/${DIR}"
for FILE in ${BUILD_DIR}/${DIR}/*.bci; do
[ -f "${FILE}" ] \
- && ${INSTALL_DATA} "${FILE}" "${AUXDIR}/linux/${DIR}/."
+ && ${INSTALL_DATA} "${FILE}" "${BCIDIR}/scmutils/${DIR}/."
done
done