-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathGNUmakefile
More file actions
56 lines (46 loc) · 1.42 KB
/
GNUmakefile
File metadata and controls
56 lines (46 loc) · 1.42 KB
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
include $(GNUSTEP_MAKEFILES)/common.make
VERSION = 0.1
FRAMEWORK_NAME = SourceCodeKit
ifeq ($(test), yes)
BUNDLE_NAME = ${FRAMEWORK_NAME}
endif
${FRAMEWORK_NAME}_OBJC_FILES = \
SCKCodeCompletionResult.m\
SCKClangSourceFile.m\
SCKIntrospection.m\
SCKSourceCollection.m\
SCKSourceFile.m\
SCKSyntaxHighlighter.m\
SCKTextTypes.m
${BUNDLE_NAME}_OBJC_FILES += \
Tests/ParsingTestFiles/AB.m\
Tests/TestClangParsing.m\
Tests/TestCommon.m\
Tests/TestRuntimeParsing.m
${FRAMEWORK_NAME}_HEADER_FILES = \
SourceCodeKit.h\
SCKCodeCompletionResult.h\
SCKIntrospection.h\
SCKSourceCollection.h\
SCKSourceFile.h\
SCKSyntaxHighlighter.h\
SCKTextTypes.h
${FRAMEWORK_NAME}_RESOURCE_FILES = \
Resources/DefaultArguments.plist
${BUNDLE_NAME}_RESOURCE_FILES += \
Tests/ParsingTestFiles/AB.h\
Tests/ParsingTestFiles/AB.m
${FRAMEWORK_NAME}_OBJCFLAGS = -fobjc-nonfragile-abi -fblocks -fobjc-arc
${FRAMEWORK_NAME}_CPPFLAGS = -I`llvm-config --src-root`/tools/clang/include/ -I`llvm-config --includedir` -DSCKKIT_INTERNAL
${FRAMEWORK_NAME}_LDFLAGS += -L`llvm-config --libdir` -lclang -lstdc++ -lEtoileFoundation
${BUNDLE_NAME}_LDFLAGS += -lUnitKit
CC=clang
#CFLAGS += -load=/home/theraven/llvm/Debug+Asserts/lib/libGNUObjCRuntime.so -gnu-objc
ifeq ($(test), yes)
include $(GNUSTEP_MAKEFILES)/bundle.make
else
include $(GNUSTEP_MAKEFILES)/framework.make
endif
-include ../../etoile.make
-include etoile.make
#-include ../../documentation.make