From 5dc8e497315ba791c8a8de021f3d2d292566fb56 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sat, 20 Sep 2008 12:20:13 +0200 Subject: Link ToiletKit with the SCM continuation support code. --- GNUmakefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index c6bc134..41d8fb1 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -19,7 +19,7 @@ export USE_LLVM ADDITIONAL_OBJCFLAGS ADDITIONAL_LDFLAGS LLVM_CONFIG -KIT_TARGETS = ToiletKit +KIT_TARGETS = SCM/continue.o SCM/toilet-scm.o ToiletKit USE_LLVM := YES ifeq ($(USE_LLVM),YES) @@ -83,7 +83,10 @@ ToiletKit_OBJC_FILES = functions.m globals.m MLKArray.m \ MLKUnboundVariableError.m MLKValuesFunction.m \ NSObject-MLKPrinting.m NSString-MLKPrinting.m ToiletKit_OBJCFLAGS = -Wall -ToiletKit_LDFLAGS = -lgmp -lffi -ldl +ToiletKit_LDFLAGS = -lgmp -lffi -ldl SCM/continue.o SCM/toilet-scm.o + +SCM/%.o: SCM/%.c + $(CC) -o $@ -c $< $(CFLAGS) $(ToiletKit_OBJCFLAGS) $(ADDITIONAL_OBJCFLAGS) -fPIC # We copy the whole Sacla directory, because copying individual files causes them to # lose their relative path. Does anyone else think this is retarded? @@ -206,6 +209,9 @@ before-Test:: ToiletKit #after-clean:: # -rmdir $(GNUSTEP_OBJ_DIR)/StepTalkShell +after-clean:: + rm -f SCM/continue.o SCM/toilet-scm.o + ifneq ($(BUILD_TOILET_LLVM),YES) after-clean:: $(MAKE) clean shared=no BUILD_TOILET_LLVM=YES -- cgit v1.2.3 From 7e5a799a46f6aca1525efa2df38026a1917f3edd Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sat, 20 Sep 2008 13:44:25 +0200 Subject: Add class MLKContinuation. --- GNUmakefile | 1 + 1 file changed, 1 insertion(+) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 41d8fb1..8ed21d7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -65,6 +65,7 @@ ToiletKit_OBJC_FILES = functions.m globals.m MLKArray.m \ MLKBinaryStreamCharacterStream.m MLKBinding.m \ MLKCharacter.m MLKCharacterStream.m \ MLKCommaReader.m MLKCompiledClosure.m MLKCons.m \ + MLKContinuation.m \ MLKDoubleFloat.m \ MLKDispatchingMacroCharacterReader.m \ MLKDynamicContext.m MLKEnvironment.m \ -- cgit v1.2.3