-
Notifications
You must be signed in to change notification settings - Fork 4
/
GNUmakefile
118 lines (87 loc) · 3.16 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
PACKAGE_NAME = EtoileUI
include $(GNUSTEP_MAKEFILES)/common.make
ADDITIONAL_CPPFLAGS += -std=c99
ADDITIONAL_OBJCFLAGS += -I.
FRAMEWORK_NAME = EtoileUI
PROJECT_NAME = $(FRAMEWORK_NAME)
VERSION = 0.4.1
EtoileUI_LIBRARIES_DEPEND_UPON += -lm -lEtoileFoundation -lIconKit \
$(GUI_LIBS) $(FND_LIBS) $(OBJC_LIBS) $(SYSTEM_LIBS)
export coreobject ?= yes
EtoileUI_CPPFLAGS += -DGNUSTEP_MISSING_API_COMPATIBILITY
ifeq ($(coreobject), yes)
EtoileUI_LIBRARIES_DEPEND_UPON += -lCoreObject
EtoileUI_CPP_FLAGS += -DCOREOBJECT
EtoileUI_OBJCFLAGS += -DCOREOBJECT
EtoileUI_CFLAGS += -DCOREOBJECT
endif
ifeq ($(test), yes)
BUNDLE_NAME = $(FRAMEWORK_NAME)
EtoileUI_LDFLAGS += -lUnitKit $(EtoileUI_LIBRARIES_DEPEND_UPON)
EtoileUI_PRINCIPAL_CLASS = TestCommon
endif
EtoileUI_HEADER_FILES_DIR = Headers
OTHER_HEADER_DIRS = Additions Base GraphicsBackend WidgetBackends WidgetBackends/AppKit ActionHandlers ItemFactoryAdditions Layouts Styles Tools AspectRepository ModelBuilder CoreObjectUI Persistency Persistency/ValueTransformers Persistency/Model UIBuilder
EtoileUI_HEADER_FILES = $(notdir $(wildcard Headers/*.h))
EtoileUI_OBJC_FILES += $(wildcard Source/*.m)
EtoileUI_OBJC_FILES += $(wildcard Additions/*.m)
EtoileUI_OBJC_FILES += $(wildcard Base/*.m)
EtoileUI_OBJC_FILES += $(wildcard ActionHandlers/*.m)
EtoileUI_OBJC_FILES += $(wildcard ItemFactoryAdditions/*.m)
EtoileUI_OBJC_FILES += $(wildcard Layouts/*.m)
EtoileUI_OBJC_FILES += $(wildcard Tools/*.m)
EtoileUI_OBJC_FILES += $(wildcard Styles/*.m)
EtoileUI_OBJC_FILES += $(wildcard AspectRepository/*.m)
EtoileUI_OBJC_FILES += $(wildcard ModelBuilder/*.m)
EtoileUI_OBJC_FILES += $(wildcard UIBuilder/*.m)
EtoileUI_OBJC_FILES += $(wildcard WidgetBackends/*.m)
EtoileUI_OBJC_FILES += $(wildcard WidgetBackends/AppKit/*.m)
ifeq ($(coreobject), yes)
EtoileUI_OBJC_FILES += $(wildcard CoreObjectUI/*.m)
EtoileUI_OBJC_FILES += $(wildcard ModelDescription/*.m)
EtoileUI_OBJC_FILES += $(wildcard Persistency/*.m)
EtoileUI_OBJC_FILES += $(wildcard Persistency/ValueTransformers/*.m)
endif
ifeq ($(test), yes)
EtoileUI_OBJC_FILES += \
Tests/TestAutoresizing.m \
Tests/TestCommon.m \
Tests/TestLayoutItem.m \
Tests/TestLayoutItemBuilder.m \
Tests/TestPickboard.m \
Tests/TestController.m \
Tests/TestSupervisorView.m \
Tests/TestLayout.m \
Tests/TestTool.m \
Tests/TestCell.m \
Tests/TestCompositeLayout.m \
Tests/TestFormLayout.m \
Tests/TestItemCopy.m \
Tests/TestItemGeometry.m \
Tests/TestItemProvider.m \
Tests/TestItemValue.m \
Tests/TestResponder.m \
Tests/TestStyle.m \
Tests/TestWidgetLayout.m \
Tests/TestWindowLayout.m
ifeq ($(coreobject), yes)
EtoileUI_OBJC_FILES += \
Tests/TestPersistency.m
endif
endif
EtoileUI_RESOURCE_FILES = \
English.lproj/Inspector.gorm \
English.lproj/BrowserPrototype.gorm \
English.lproj/OutlinePrototype.gorm \
English.lproj/TablePrototype.gorm \
English.lproj/ViewModelPrototype.gorm
EtoileUI_RESOURCE_FILES += $(wildcard Images/FugueIcons/*.png)
include $(GNUSTEP_MAKEFILES)/aggregate.make
-include ../../etoile.make
-include etoile.make
-include ../../documentation.make
ifeq ($(test), yes)
include $(GNUSTEP_MAKEFILES)/bundle.make
else
include $(GNUSTEP_MAKEFILES)/framework.make
endif