touch .native-release-marker
}
+clean ()
+{
+ (cd microcode && make distclean)
+ local PLUGIN
+ for PLUGIN in "${PLUGINS[@]}"; do
+ if [[ -f ${PLUGIN}/Makefile ]]; then
+ (cd "${PLUGIN}" && make mostlyclean)
+ fi
+ done
+}
+
OUT_ROOT=${NATIVE_OUT}-${ARCH}
notify "Building binaries for arch ${ARCH}"
unpack_dist_file_to "${DIST_DIR}" "${DIST_DIR}"
run_command "${OUT_ROOT}"-compile "${DIST_DIR}"/src build
-run_command "${OUT_ROOT}"-clean "${DIST_DIR}"/src/microcode make distclean
+run_command "${OUT_ROOT}"-clean "${DIST_DIR}"/src clean
notify "Making tarball"
fixup_perms "${DIST_DIR}"
NATIVE_OUT=${OUTPUT_DIR}/native
MACOSX_OUT=${OUTPUT_DIR}/macosx
-PLUGINS="blowfish gdbm mcrypt edwin imail x11 x11-screen"
+PLUGINS=(blowfish gdbm mcrypt edwin imail x11 x11-screen)
notify ()
{
dnl Process this file with autoconf to produce a configure script.
AC_INIT([MIT/GNU Scheme documentation],
- [10.1.1],
+ [10.1.2],
[bug-mit-scheme@gnu.org],
[mit-scheme-doc])
AC_CONFIG_SRCDIR([ref-manual/scheme.texinfo])
-.TH "mit-scheme" "1" "10.1.1" "MIT/GNU Scheme Team" ""
+.TH "mit-scheme" "1" "10.1.2" "MIT/GNU Scheme Team" ""
.SH "NAME"
.LP
mit-scheme - The MIT/GNU Scheme development environment
@comment %**start of header
@setfilename mit-scheme-ref
@set EDITION 1.106
-@set VERSION 10.1.1
+@set VERSION 10.1.2
@set UPDATED 2017-02-15
@settitle MIT/GNU Scheme @value{VERSION}
@comment %**end of header
@comment %**start of header
@setfilename mit-scheme-user
@set EDITION 1.95
-@set VERSION 10.1.1
+@set VERSION 10.1.2
@set UPDATED 2015-11-25
@settitle MIT/GNU Scheme @value{VERSION}
@comment %**end of header
.PHONY: compile-microcode
compile-microcode: microcode/scheme
+@IF_BLOWFISH@compile-microcode: compile-blowfish-c
+@IF_GDBM@compile-microcode: compile-gdbm-c
+@IF_MCRYPT@compile-microcode: compile-mcrypt-c
+@IF_PGSQL@compile-microcode: compile-pgsql-c
+@IF_X11@compile-microcode: compile-x11-c
stamp_install-microcode: compile-microcode
(cd microcode; $(MAKE) install)
compile-blowfish: compile-runtime compile-ffi
(cd blowfish && MIT_SCHEME_EXE=$(MIT_SCHEME_EXE) $(MAKE))
+.PHONY: compile-blowfish-c
+compile-blowfish-c:
+ (cd blowfish && $(MAKE))
+
################
# edwin
################
compile-gdbm: compile-runtime compile-ffi
(cd gdbm && MIT_SCHEME_EXE=$(MIT_SCHEME_EXE) $(MAKE))
+.PHONY: compile-gdbm-c
+compile-gdbm-c:
+ (cd gdbm && $(MAKE))
+
################
# imail
################
compile-mcrypt: compile-runtime compile-ffi
(cd mcrypt && MIT_SCHEME_EXE=$(MIT_SCHEME_EXE) $(MAKE))
+.PHONY: compile-mcrypt-c
+compile-mcrypt-c:
+ (cd mcrypt && $(MAKE))
+
################
# pgsql
################
compile-pgsql: compile-runtime compile-ffi
(cd pgsql && MIT_SCHEME_EXE=$(MIT_SCHEME_EXE) $(MAKE))
+.PHONY: compile-pgsql-c
+compile-pgsql-c:
+ (cd pgsql && $(MAKE))
+
################
# X11
################
compile-x11: compile-runtime compile-ffi
(cd x11 && MIT_SCHEME_EXE=$(MIT_SCHEME_EXE) $(MAKE))
+.PHONY: compile-x11-c
+compile-x11-c:
+ (cd x11 && $(MAKE))
+
################
# X11-screen
################
@comment %**start of header
@setfilename mit-scheme-blowfish.info
@include version.texi
-@set SCMVERS 10.1.1
+@set SCMVERS 10.1.2
@settitle MIT/GNU Scheme Blowfish Plugin Manual
@comment %**end of header
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([MIT/GNU Scheme], [10.1.1], [bug-mit-scheme@gnu.org], [mit-scheme])
+AC_INIT([MIT/GNU Scheme], [10.1.2], [bug-mit-scheme@gnu.org], [mit-scheme])
AC_CONFIG_SRCDIR([microcode/boot.c])
AC_CONFIG_AUX_DIR([microcode])
AC_PROG_MAKE_SET
AUXDIR_NAME=mit-scheme-${mit_scheme_native_code}
AUXDIR='$(libdir)'/${AUXDIR_NAME}
MIT_SCHEME_LIBDIR=${AUXDIR}/
-MIT_SCHEME_INCLUDEDIR=${AUXDIR}/
+MIT_SCHEME_INCLUDEDIR=`pwd`/lib/
MIT_SCHEME_OS_SUFFIX=unx
MIT_SCHEME_CC_TYPE=${mit_scheme_native_code}
@comment %**start of header
@setfilename mit-scheme-gdbm.info
@include version.texi
-@set SCMVERS 10.1.1
+@set SCMVERS 10.1.2
@settitle MIT/GNU Scheme GDBM Plugin Manual
@comment %**end of header
(let ((now last-copyright-year)
(then 1986))
(iota (+ (- now then) 1) then)))
- (add-subsystem-identification! "Release" '(10 1 1))
+ (add-subsystem-identification! "Release" '(10 1 2))
(snarf-microcode-version!)
(add-event-receiver! event:after-restore snarf-microcode-version!)
(add-subsystem-identification! "Runtime" '(15 7))))
x11-const.c: stamp-shim
x11-types.bin: stamp-shim
stamp-shim: $(c_sources) $(cdecls)
- touch stamp-shim
echo '(generate-shim "x11" "#include \"x11-shim.h\"")' \
- | $(MIT_SCHEME_EXE) --batch-mode \
- || rm stamp-shim
+ | $(MIT_SCHEME_EXE) --batch-mode
+ echo "done" > $@
x11-const.bin: x11-const.scm
echo '(sf "x11-const")' | $(MIT_SCHEME_EXE) --batch-mode
-x11-const.scm: x11-const
+x11-const.scm: stamp-x11-const
./x11-const
+stamp-x11-const: stamp-shim
+ $(MAKE) x11-const
+ echo "done" > $@
+
@MIT_SCHEME_DEPS@
-stamp-scheme: stamp-shim $(sources) $(cdecls:.cdecl=-const.bin) x11.pkg
- touch stamp-scheme
- if ! ./compile.sh; then rm stamp-scheme; exit 1; fi
+stamp-scheme: stamp-shim $(sources) x11-const.bin x11.pkg
+ ./compile.sh
+ echo "done" > $@
+
+MOSTLYCLEANFILES = $(scmlib_LTLIBRARIES) x11-const
+
+mostlyclean-local:
+ -rm -rf .libs
CLEANFILES = x11-const* x11-shim.c
CLEANFILES += *.bin *.ext *.com *.bci *.moc *.fni *.crf *.fre *.pkd