-
Notifications
You must be signed in to change notification settings - Fork 2
/
GNUmakefile
69 lines (58 loc) · 1.41 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
include $(GNUSTEP_MAKEFILES)/common.make
VERSION = 0.1
FRAMEWORK_NAME = EtoileText
ifeq ($(build_examples), yes)
TOOL_NAME = EtoileTextExample TeXtoHTML
endif
ifeq ($(test), yes)
BUNDLE_NAME = $(FRAMEWORK_NAME)
endif
EtoileText_OBJC_FILES = \
ETTeXHandlers.m\
ETTeXScanner.m\
ETTextDocument.m\
ETTextFragment.m\
ETTextHTML.m\
ETTextStorage.m\
ETTextTree.m\
ETTextTreeBuilder.m\
ETTextTypes.m\
ETXMLTextParser.m
EtoileText_HEADER_FILES = \
ETStyleBuilder.h\
ETTeXHandlers.h\
ETTeXScanner.h\
ETTextDocument.h\
ETTextFragment.h\
ETTextHTML.h\
ETTextProtocols.h\
ETTextStorage.h\
ETTextTree.h\
ETTextTreeBuilder.h\
ETTextTypes.h\
ETXMLTextParser.h\
EtoileText.h
ifeq ($(test), yes)
EtoileText_OBJC_FILES += \
Tests/TestCommon.m\
Tests/TestTextStorage.m\
Tests/TestTextTree.m
endif
EtoileTextExample_OBJC_FILES = $(EtoileText_OBJC_FILES)\
ETTextExample.m
TeXtoHTML_OBJC_FILES = $(EtoileText_OBJC_FILES)\
TRTeXToHTML.m
ADDITIONAL_OBJCFLAGS += -fobjc-nonfragile-abi
#ADDITIONAL_OBJCFLAGS += -Werror
ADDITIONAL_LDFLAGS = -lCoreObject -lEtoileFoundation -lEtoileXML $(GUI_LIBS) $(FND_LIBS) $(OBJC_LIBS) $(SYSTEM_LIBS)
TeXtoHTML_LDFLAGS += -lSourceCodeKit
CC=clang
ifeq ($(test), yes)
include $(GNUSTEP_MAKEFILES)/bundle.make
else
include $(GNUSTEP_MAKEFILES)/framework.make
include $(GNUSTEP_MAKEFILES)/tool.make
endif
-include ../../etoile.make
-include etoile.make
#-include ../../documentation.make