OPTIONAL_OBJECTS=
SCHEME_DEFS=-DMIT_SCHEME
SCHEME_LDFLAGS=
-MODULE_BASES=
-MODULE_AUX_BASES=
-MODULE_LIBS=
-MODULE_TARGETS=
-MODULE_RULES=/dev/null
-MODULE_CFLAGS=
-MODULE_LDFLAGS=
-MODULE_LOADER=
LIARC_VARS=/dev/null
LIARC_RULES=/dev/null
AUX_PROGRAMS=
CFLAGS="${CFLAGS} ${MACOSX_CFLAGS}"
LDFLAGS="${LDFLAGS} ${MACOSX_CFLAGS} -Wl,-syslibroot,${MACOSX_SYSROOT}"
LDFLAGS="${LDFLAGS} -framework CoreFoundation"
- MODULE_LDFLAGS="${MODULE_LDFLAGS} -bundle"
- if test "${with_module_loader}" != no; then
- if test "${with_module_loader}" = yes; then
- MODULE_LOADER='${SCHEME_EXE}'
- else
- MODULE_LOADER="${with_module_loader}"
- fi
- MODULE_LDFLAGS="${MODULE_LDFLAGS} -bundle_loader ${MODULE_LOADER}"
- fi
AUX_PROGRAMS="${AUX_PROGRAMS} macosx-starter"
;;
netbsd*)
if test "${GNU_LD}" = yes; then
SCHEME_LDFLAGS="${SCHEME_LDFLAGS} -export-dynamic"
fi
- MODULE_CFLAGS="-fPIC ${MODULE_CFLAGS}"
- MODULE_LDFLAGS="${MODULE_LDFLAGS} -shared -fPIC"
AC_MSG_CHECKING([for ELF binaries])
AC_EGREP_CPP([yes],
[
OPTIONAL_OBJECTS="${OPTIONAL_OBJECTS} ${base}.o"
done
-if test "x${MODULE_BASES}" != x; then
- MODULE_RULES=config-rules.module
- rm -f ${MODULE_RULES}
- for BASE in ${MODULE_BASES}; do
- MODULE_TARGETS="${MODULE_TARGETS} ${BASE}.so"
- MODULE_AUX_BASES="${MODULE_AUX_BASES} ${BASE}"
- done
- for BASE in ${MODULE_AUX_BASES}; do
- echo >> ${MODULE_RULES}
- echo ${BASE}.o: ${BASE}.c >> ${MODULE_RULES}
- echo " " '$(COMPILE_MODULE)' -c '$*.c' >> ${MODULE_RULES}
- done
-fi
-if test "x${MODULE_TARGETS}" != x; then
- if test ! -e ../lib/lib; then mkdir ../lib/lib; fi
- for BASE in ${MODULE_TARGETS}; do
- ln -sf ../../microcode/${BASE} ../lib/lib/${BASE}
- done
-fi
-
AC_SUBST([AS_FLAGS])
AC_SUBST([GC_HEAD_FILES])
AC_SUBST([M4_FLAGS])
AC_SUBST([OPTIONAL_OBJECTS])
AC_SUBST([SCHEME_DEFS])
AC_SUBST([SCHEME_LDFLAGS])
-AC_SUBST([MODULE_TARGETS])
-AC_SUBST_FILE([MODULE_RULES])
-AC_SUBST([MODULE_CFLAGS])
-AC_SUBST([MODULE_LDFLAGS])
-AC_SUBST([MODULE_LOADER])
AC_SUBST_FILE([LIARC_VARS])
AC_SUBST_FILE([LIARC_RULES])
AC_SUBST([AUX_PROGRAMS])
echo "#!/bin/sh" > makegen-cc
echo exec gcc -MM -MG -DMIT_SCHEME ${CPPFLAGS} '"${1}"' >> makegen-cc
chmod +x makegen-cc
-
-if test ${MODULE_RULES} != /dev/null; then
- rm -f ${MODULE_RULES}
-fi
OPTIONAL_SOURCES = @OPTIONAL_SOURCES@
OPTIONAL_OBJECTS = @OPTIONAL_OBJECTS@
-MODULE_TARGETS = @MODULE_TARGETS@
-MODULE_CFLAGS = @MODULE_CFLAGS@
-MODULE_LDFLAGS = @MODULE_LDFLAGS@
-MODULE_LOADER = @MODULE_LOADER@
-COMPILE_MODULE = $(COMPILE) -DCOMPILE_AS_MODULE $(MODULE_CFLAGS)
-LINK_MODULE = $(LINK) $(MODULE_LDFLAGS)
-MODULE_LIBS = -lc
-
# **** Rules for C back end (part 1, variables) ****
@LIARC_VARS@
# **** Program definitions ****
aux_PROGRAMS = @AUX_PROGRAMS@
-aux_LIBS = $(MODULE_TARGETS)
+aux_LIBS =
aux_DATA = @AUX_DATA@
EXTRA_PROGRAMS = findprim
macosx-starter: macosx-starter.o
$(LINK) macosx-starter.o
-@MODULE_RULES@
-
tags: TAGS
TAGS:
./Tags.sh
#### Makefile for Scheme under Win32 compiled by Microsoft Visual C++.
!include <win32.mak>
-#USER_PRIM_SOURCES = prmd5.c
-#USER_PRIM_OBJECTS = prmd5.obj
-#USER_LIBS = md5.lib
-
# **** Microsoft supplies their assembler as a separate product, and
# **** we don't currently have a copy, so use the Watcom assembler.
# Assembler options.
vector.obj: vector.c $(SCHEME_H) $(PRIMS_H)
wind.obj: wind.c $(OBSTACK_H) $(DSTACK_H) $(OUTF_H)
-prmd5.obj: prmd5.c $(SCHEME_H) $(PRIMS_H)
prosenv.obj: prosenv.c $(SCHEME_H) $(PRIMS_H) $(OSENV_H) $(OSTOP_H) $(LIMITS_H)
prosfile.obj: prosfile.c $(SCHEME_H) $(PRIMS_H) $(OSFILE_H)
prosfs.obj: prosfs.c $(SCHEME_H) $(PRIMS_H) $(OSFILE_H) $(OSFS_H) $(OSIO_H)
#### Makefile for Scheme under Win32 compiled by Watcom C/C++
### This makefile is meant to be used with Watcom make.
-USER_PRIM_SOURCES = # prmd5.c
-USER_PRIM_OBJECTS = # prmd5.obj
-USER_LIBS = library wsock32.lib #,md5.lib
+USER_LIBS = library wsock32.lib
CC = wcc386
M4 = m4
vector.obj &
wind.obj
-SOURCES = $(CORE_SOURCES) $(USER_PRIM_SOURCES)
-OBJECTS = $(CORE_OBJECTS) $(USER_PRIM_OBJECTS) usrdef.obj
+SOURCES = $(CORE_SOURCES)
+OBJECTS = $(CORE_OBJECTS) usrdef.obj
SCHEME_LIB = $(USER_LIBS)
scheme : scheme.exe .SYMBOLIC