summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-06-22 14:42:47 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-06-22 14:42:47 +0200
commit1641912f2c9967b494187e7522d31bb00c53063c (patch)
treecce29bb068ad0fababda364c210c3a99be7ebdaa /GNUmakefile
parent9960b8e94943867cc321a5145c327188e14d4d44 (diff)
Add classes MLKLexicalEnvironment and MLKReadEvalPrintLoop.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile29
1 files changed, 21 insertions, 8 deletions
diff --git a/GNUmakefile b/GNUmakefile
index b001940..c496ccb 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -19,16 +19,20 @@ include $(GNUSTEP_MAKEFILES)/common.make
#all:: ToiletKit etshell Test
+TOOL_NAME = etshell toilet
+FRAMEWORK_NAME = ToiletKit
+BUNDLE_NAME = Test
+
ADDITIONAL_OBJCFLAGS = -Wall
-FRAMEWORK_NAME = ToiletKit
ToiletKit_OBJC_FILES = MLKCharacter.m MLKCons.m MLKDoubleFloat.m \
MLKDynamicContext.m MLKEndOfFileError.m \
MLKEnvironment.m MLKError.m MLKFloat.m \
MLKInteger.m MLKInterpreter.m MLKLinkedList.m \
- MLKLispValue.m MLKPackage.m MLKParenReader.m \
- MLKRatio.m MLKReader.m MLKReadtable.m \
- MLKReaderError.m MLKSingleFloat.m MLKStream.m \
+ MLKLexicalEnvironment.m MLKLispValue.m \
+ MLKPackage.m MLKParenReader.m MLKRatio.m \
+ MLKReader.m MLKReadtable.m MLKReaderError.m \
+ MLKSingleFloat.m MLKStream.m \
MLKStringInputStream.m MLKSymbol.m \
MLKThrowException.m \
MLKUndefinedVariableException.m \
@@ -40,7 +44,6 @@ ToiletKit_LDFLAGS = -lgmp
#etoilet_OBJC_FILES = main.m
#etoilet_OBJC_LIBS = -lToiletKit -LToiletKit.framework
-TOOL_NAME = etshell
etshell_OBJC_FILES = StepTalkShell/STShell.m \
StepTalkShell/STShell+output.m \
StepTalkShell/stshell_tool.m
@@ -48,7 +51,9 @@ etshell_OBJC_LIBS += -lStepTalk -lreadline -lncurses -lToiletKit \
-LToiletKit.framework
etshell_OBJCFLAGS = -w
-BUNDLE_NAME = Test
+toilet_OBJC_FILES = MLKReadEvalPrintLoop.m
+toilet_OBJC_LIBS += -ledit -lncurses -lToiletKit -LToiletKit.framework
+
Test_OBJC_FILES = MLKLowLevelTests.m
Test_OBJC_LIBS = -lUnitKit -LToiletKit.framework -lToiletKit
@@ -58,7 +63,10 @@ include $(GNUSTEP_MAKEFILES)/framework.make
include $(GNUSTEP_MAKEFILES)/tool.make
-include GNUmakefile.postamble
-before-all:: before-etshell
+before-all:: before-etshell before-toilet
+
+before-toilet::
+ rm -f obj/toilet
before-etshell::
rm -f obj/etshell
@@ -70,5 +78,10 @@ before-etshell::
test: ToiletKit Test
env LD_LIBRARY_PATH=`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib ukrun Test.bundle
-run: before-etshell ToiletKit etshell
+run-et: before-etshell ToiletKit etshell
env LD_LIBRARY_PATH=`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib obj/etshell
+
+run-toilet: before-toilet ToiletKit toilet
+ env LD_LIBRARY_PATH=`pwd`/ToiletKit.framework/Versions/Current:/usr/local/lib obj/toilet
+
+run: run-toilet