-
Notifications
You must be signed in to change notification settings - Fork 1
/
GNUmakefile
99 lines (88 loc) · 2.96 KB
/
GNUmakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
include $(GNUSTEP_MAKEFILES)/common.make
#
# Application
#
VERSION = 0.1
FRAMEWORK_NAME = ParserKit
BUNDLE_NAME = ParserKitTest
${FRAMEWORK_NAME}_OBJC_FILES = \
NSInvocation+pkextention.m\
NSString+append.m\
NSScanner+returnValue.m
#PKMain.m
${FRAMEWORK_NAME}_OBJCFLAGS = -std=c99 -g -Wno-unused-value
${FRAMEWORK_NAME}_LDFLAGS += -g -lgmp -lEtoileFoundation \
-L/usr/local/lib -march=native
${FRAMEWORK_NAME}_HEADER_FILES += PKParser.h\
PKInputStream.h\
PKMatches.h
${FRAMEWORK_NAME}_SMALLTALK_BUNDLES += ParserKit.bundle
ST_FILES = ParserKit.st\
Utils.st\
PKParseAction.st\
PKParseFail.st\
PKRules.st\
PKParseMatch.st\
PKParseRestriction.st\
PKRestrictedMatch.st\
PKParsePredicate.st\
PKDelayActionArray.st\
PKDelayInvocation.st\
PKInputStream.st\
PKEnvironmentStack.st\
PKMatchRangeNotice.st\
Expressions/PKActionExpression.st\
Expressions/PKAlternateExpression.st\
Expressions/PKBindExpression.st\
Expressions/PKParseExpression.st\
Expressions/PKDotExpression.st\
Expressions/PKAlphabeticExpression.st\
Expressions/PKUppercaseExpression.st\
Expressions/PKLowercaseExpression.st\
Expressions/PKWhitespaceExpression.st\
Expressions/PKRangeExpression.st\
Expressions/PKMaybeExpression.st\
Expressions/PKNumericExpression.st\
Expressions/PKNAryAlternateExpression.st\
Expressions/PKNegateExpression.st\
Expressions/PKNonTerminalExpression.st\
Expressions/PKNonTerminalLookupExpression.st\
Expressions/PKAlphanumericExpression.st\
Expressions/PKLookAheadExpression.st\
Expressions/PKNAryComposeExpression.st\
Expressions/PKNArySequenceExpression.st\
Expressions/PKComposeExpression.st\
Expressions/PKEmptyExpression.st\
Expressions/PKRestrictionExpression.st\
Expressions/PKRepetitionExpression.st\
Expressions/PKAnythingExpression.st\
Expressions/PKParameterizedExpression.st\
Expressions/PKSequenceExpression.st\
Expressions/PKTokenExpression.st\
Generator/PKParserAbstractGenerator.st
SMALLTALK_BUNDLE_ST_FILES=$(addprefix ./ParserKit.bundle/Resources/,$(ST_FILES))
ADDITIONAL_OBJCFLAGS += -march=native
${TOOL_NAME}_CFLAGS += -Wno-implicit -g
${BUNDLE_NAME}_OJCFLAGS = -std=c99 -g -Wno-unused-value
${BUNDLE_NAME}_LDFLAGS += -g -lgmp -lEtoileFoundation -lLanguageKit -lParserKit \
-L/usr/local/lib -L./ParserKit.framework/Versions/Current/ -march=native
${BUNDLE_NAME}_OBJC_FILES = \
Tests/PKParserASTGeneratorTest.m\
Tests/PKParseMatchTest.m\
Tests/PKInputStreamTest.m\
Tests/PKEnvironmentTest.m\
Tests/PKDotExpressionTest.m\
Tests/PKAlphabeticExpressionTest.m\
Tests/PKUppercaseExpressionTest.m\
Tests/PKLowercaseExpressionTest.m\
Tests/PKWhitespaceExpressionTest.m\
Tests/PKRangeExpressionTest.m\
Tests/PKNumericExpressionTest.m\
Tests/PKEmptyExpressionTest.m\
Tests/PKAnythingExpressionTest.m\
Tests/PKDelayInvocationTest.m
${BUNDLE_NAME}_OBJC_LIBS += -lUnitKit -lLanguageKitRuntime
include ../../smalltalk.make
include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/framework.make
include $(GNUSTEP_MAKEFILES)/bundle.make