/
Makefile.am
363 lines (356 loc) · 18.1 KB
/
Makefile.am
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
AM_CPPFLAGS = -DPKGLIBDIR='"$(pkglibdir)"' \
-DPKGDATADIR='"$(pkgdatadir)"' \
-DLOCALEDIR='"$(localedir)"' \
-DHTMLDIR='"$(htmldir)"' \
-I$(top_srcdir)/include \
-I$(top_srcdir)/libs \
$(LIBSIGC_CFLAGS) \
$(XML_CFLAGS) \
$(FTGL_CFLAGS)
# Clusters of source files common to executable and tests
#VFS_SOURCES = vfs/DeflatedInputStream.cpp \
# vfs/DirectoryArchive.cpp \
# vfs/Doom3FileSystem.cpp \
# vfs/ZipArchive.cpp
#SHADERS_SOURCES = shaders/Doom3ShaderLayer.cpp \
# shaders/TableDefinition.cpp \
# shaders/textures/GLTextureManager.cpp
# DarkRadiant executable
bin_PROGRAMS = darkradiant
darkradiant_CPPFLAGS = $(AM_CPPFLAGS)
darkradiant_LDFLAGS = $(XML_LIBS) \
$(GLEW_LIBS) \
$(GL_LIBS) \
$(GLU_LIBS) \
$(JPEG_LIBS) \
$(PNG_LIBS) \
$(FTGL_LIBS) \
$(LIBSIGC_LIBS) \
$(FILESYSTEM_LIBS) \
$(DL_LIBS) \
$(INTL_LIBS) \
$(WX_LIBS) \
$(Z_LIBS)
darkradiant_LDADD = $(top_builddir)/libs/scene/libscenegraph.la \
$(top_builddir)/libs/wxutil/libwxutil.la \
$(top_builddir)/libs/xmlutil/libxmlutil.la \
$(top_builddir)/libs/math/libmath.la \
$(top_builddir)/libs/module/libmodule.la
darkradiant_SOURCES = main.cpp \
RadiantApp.cpp \
RadiantModule.cpp \
brush/Winding.cpp \
brush/export/CollisionModel.cpp \
brush/BrushModule.cpp \
brush/FixedWinding.cpp \
brush/BrushNode.cpp \
brush/FaceInstance.cpp \
brush/Brush.cpp \
brush/TextureProjection.cpp \
brush/Face.cpp \
brush/TexDef.cpp \
brush/TextureMatrix.cpp \
brush/csg/BrushByPlaneClipper.cpp \
brush/csg/CSG.cpp \
brush/FacePlane.cpp \
camera/Camera.cpp \
camera/GlobalCamera.cpp \
camera/CameraSettings.cpp \
camera/CamRenderer.cpp \
camera/CamWnd.cpp \
camera/FloatingCamWnd.cpp \
eventmanager/Accelerator.cpp \
eventmanager/EventManager.cpp \
eventmanager/GlobalKeyEventFilter.cpp \
eventmanager/MouseToolGroup.cpp \
eventmanager/MouseToolManager.cpp \
eventmanager/Statement.cpp \
eventmanager/Toggle.cpp \
eventmanager/WidgetToggle.cpp \
map/MapModules.cpp \
map/format/Quake3MapFormat.cpp \
map/format/Quake4MapFormat.cpp \
map/format/Doom3MapFormat.cpp \
map/format/Doom3MapReader.cpp \
map/format/Doom3PrefabFormat.cpp \
map/format/portable/PortableMapFormat.cpp \
map/format/portable/PortableMapWriter.cpp \
map/format/portable/PortableMapReader.cpp \
map/format/Quake3MapReader.cpp \
map/format/Doom3MapWriter.cpp \
map/format/primitiveparsers/PatchDef2.cpp \
map/format/primitiveparsers/Patch.cpp \
map/format/primitiveparsers/PatchDef3.cpp \
map/format/primitiveparsers/BrushDef3.cpp \
map/format/primitiveparsers/BrushDef.cpp \
map/format/Quake4MapReader.cpp \
map/aas/Doom3AasFileLoader.cpp \
map/aas/Doom3AasFileSettings.cpp \
map/aas/Doom3AasFile.cpp \
md5model/MD5Skeleton.cpp \
md5model/plugin.cpp \
md5model/MD5Model.cpp \
md5model/MD5ModelLoader.cpp \
md5model/MD5AnimationCache.cpp \
md5model/MD5Surface.cpp \
md5model/MD5Anim.cpp \
md5model/MD5ModelNode.cpp \
modelfile/AseExporter.cpp \
modelfile/Lwo2Chunk.cpp \
modelfile/Lwo2Exporter.cpp \
modelfile/PicoModelLoader.cpp \
modelfile/PicoModelModule.cpp \
modelfile/PicoModelNode.cpp \
modelfile/RenderablePicoModel.cpp \
modelfile/RenderablePicoSurface.cpp \
modelfile/WavefrontExporter.cpp \
modelfile/picomodel/pm_md3.c \
modelfile/picomodel/pm_md2.c \
modelfile/picomodel/pm_obj.c \
modelfile/picomodel/picointernal.c \
modelfile/picomodel/picomodules.c \
modelfile/picomodel/pm_lwo.c \
modelfile/picomodel/pm_mdc.c \
modelfile/picomodel/pm_fm.c \
modelfile/picomodel/pm_ase.c \
modelfile/picomodel/picomodel.c \
modelfile/picomodel/lwo/envelope.c \
modelfile/picomodel/lwo/surface.c \
modelfile/picomodel/lwo/clip.c \
modelfile/picomodel/lwo/lwob.c \
modelfile/picomodel/lwo/lwio.c \
modelfile/picomodel/lwo/lwo2.c \
modelfile/picomodel/lwo/list.c \
modelfile/picomodel/lwo/pntspols.c \
modelfile/picomodel/lwo/vmap.c \
modelfile/picomodel/lwo/vecmath.c \
modelfile/picomodel/pm_terrain.c \
modelfile/picomodel/pm_ms3d.c \
modelfile/picomodel/pm_3ds.c \
particles/editor/ParticleEditor.cpp \
render/OpenGLModule.cpp \
render/View.cpp \
ui/UserInterfaceModule.cpp \
ui/Documentation.cpp \
ui/entitychooser/EntityClassChooser.cpp \
ui/entitychooser/EntityClassTreePopulator.cpp \
ui/eclasstree/EClassTree.cpp \
ui/eclasstree/EClassTreeBuilder.cpp \
ui/entitylist/EntityList.cpp \
ui/entitylist/GraphTreeModel.cpp \
ui/prefabselector/PrefabPopulator.cpp \
ui/prefabselector/PrefabSelector.cpp \
ui/texturebrowser/TextureBrowser.cpp \
ui/texturebrowser/TextureBrowserManager.cpp \
ui/findshader/FindShader.cpp \
ui/mapinfo/MapInfoDialog.cpp \
ui/mapinfo/EntityInfoTab.cpp \
ui/mapinfo/ShaderInfoTab.cpp \
ui/mapinfo/ModelInfoTab.cpp \
ui/mapinfo/LayerInfoTab.cpp \
ui/mediabrowser/MediaBrowser.cpp \
ui/particles/ParticlesChooser.cpp \
ui/brush/QuerySidesDialog.cpp \
ui/overlay/OverlayDialog.cpp \
ui/overlay/Overlay.cpp \
ui/splash/Splash.cpp \
ui/grid/GridUserInterface.cpp \
ui/mru/MRUMenuItem.cpp \
ui/mru/MRU.cpp \
ui/layers/LayerControl.cpp \
ui/layers/LayerContextMenu.cpp \
ui/layers/LayerControlDialog.cpp \
ui/layers/LayerOrthoContextMenuItem.cpp \
ui/ortho/OrthoContextMenu.cpp \
ui/about/AboutDialog.cpp \
ui/einspector/AnglePropertyEditor.cpp \
ui/einspector/TexturePropertyEditor.cpp \
ui/einspector/EntityInspector.cpp \
ui/einspector/SkinChooser.cpp \
ui/einspector/ColourPropertyEditor.cpp \
ui/einspector/EntityPropertyEditor.cpp \
ui/einspector/SkinPropertyEditor.cpp \
ui/einspector/Vector3PropertyEditor.cpp \
ui/einspector/AddPropertyDialog.cpp \
ui/einspector/FloatPropertyEditor.cpp \
ui/einspector/BooleanPropertyEditor.cpp \
ui/einspector/LightTextureChooser.cpp \
ui/einspector/SoundPropertyEditor.cpp \
ui/einspector/PropertyEditor.cpp \
ui/einspector/PropertyEditorFactory.cpp \
ui/einspector/ClassnamePropertyEditor.cpp \
ui/einspector/ModelPropertyEditor.cpp \
ui/common/TexturePreviewCombo.cpp \
ui/common/ShaderSelector.cpp \
ui/common/ShaderChooser.cpp \
ui/common/ShaderDefinitionView.cpp \
ui/common/RenderableAABB.cpp \
ui/common/CommandEntry.cpp \
ui/common/EntityChooser.cpp \
ui/common/MapPreview.cpp \
ui/filters/FilterContextMenu.cpp \
ui/filters/FilterOrthoContextMenuItem.cpp \
ui/filters/FilterUserInterface.cpp \
ui/filters/FiltersMainMenu.cpp \
ui/filters/editor/FilterDialog.cpp \
ui/filters/editor/FilterEditor.cpp \
ui/prefdialog/GameSetupDialog.cpp \
ui/prefdialog/GameSetupPage.cpp \
ui/prefdialog/GameSetupPageIdTech.cpp \
ui/prefdialog/GameSetupPageTdm.cpp \
ui/prefdialog/PrefPage.cpp \
ui/prefdialog/PrefDialog.cpp \
ui/prefdialog/PreferenceItem.cpp \
ui/transform/TransformDialog.cpp \
ui/modelselector/MaterialsList.cpp \
ui/modelselector/ModelSelector.cpp \
ui/surfaceinspector/SurfaceInspector.cpp \
ui/patch/CapDialog.cpp \
ui/patch/PatchThickenDialog.cpp \
ui/patch/PatchInspector.cpp \
ui/patch/PatchCreateDialog.cpp \
ui/patch/BulgePatchDialog.cpp \
ui/lightinspector/LightInspector.cpp \
ui/commandlist/CommandList.cpp \
ui/commandlist/ShortcutChooser.cpp \
ui/mainframe/MainFrame.cpp \
ui/mainframe/MainFrameLayoutManager.cpp \
ui/mainframe/FloatingLayout.cpp \
ui/mainframe/EmbeddedLayout.cpp \
ui/mainframe/SplitPaneLayout.cpp \
ui/mainframe/RegularLayout.cpp \
ui/mainframe/ScreenUpdateBlocker.cpp \
ui/mainframe/TopLevelFrame.cpp \
ui/modelexport/ExportAsModelDialog.cpp \
ui/mousetool/BindToolDialog.cpp \
ui/mousetool/ToolMappingDialog.cpp \
ui/aas/AasControl.cpp \
ui/aas/AasControlDialog.cpp \
uimanager/SoundChooser.cpp \
uimanager/StatusBarManager.cpp \
uimanager/animationpreview/MD5AnimationChooser.cpp \
uimanager/animationpreview/AnimationPreview.cpp \
uimanager/animationpreview/MD5AnimationViewer.cpp \
uimanager/colourscheme/ColourSchemeEditor.cpp \
uimanager/colourscheme/ColourSchemeManager.cpp \
uimanager/colourscheme/ColourScheme.cpp \
uimanager/ToolbarManager.cpp \
uimanager/DialogManager.cpp \
ui/filters/FilterMenu.cpp \
uimanager/GroupDialog.cpp \
uimanager/menu/MenuManager.cpp \
uimanager/menu/MenuFolder.cpp \
uimanager/menu/MenuSeparator.cpp \
uimanager/menu/MenuItem.cpp \
uimanager/menu/MenuBar.cpp \
uimanager/menu/MenuElement.cpp \
uimanager/UIManager.cpp \
uimanager/SoundShaderPreview.cpp \
xyview/tools/BrushCreatorTool.cpp \
xyview/tools/ClipperTool.cpp \
xyview/tools/MeasurementTool.cpp \
xyview/XYWnd.cpp \
xyview/FloatingOrthoView.cpp \
xyview/GlobalXYWnd.cpp \
textool/TexToolItem.cpp \
textool/item/BrushItem.cpp \
textool/item/FaceItem.cpp \
textool/item/FaceVertexItem.cpp \
textool/item/PatchItem.cpp \
textool/item/PatchVertexItem.cpp \
textool/TexTool.cpp \
layers/LayerInfoFileModule.cpp \
layers/LayerModule.cpp \
layers/LayerManager.cpp \
layers/LayerUsageBreakdown.cpp \
modulesystem/ApplicationContextImpl.cpp \
selection/SelectedNodeList.cpp \
selection/clipboard/Clipboard.cpp \
selection/shaderclipboard/ShaderClipboard.cpp \
selection/shaderclipboard/Texturable.cpp \
selection/shaderclipboard/ClosestTexturableFinder.cpp \
selection/selectionset/SelectionSetManager.cpp \
selection/selectionset/SelectionSetToolmenu.cpp \
selection/selectionset/SelectionSetInfoFileModule.cpp \
selection/selectionset/SelectionSet.cpp \
selection/selectionset/SelectionSetModule.cpp \
selection/ManipulateMouseTool.cpp \
selection/SelectionMouseTools.cpp \
selection/SelectionTest.cpp \
selection/manipulators/ManipulatorBase.cpp \
selection/TransformationVisitors.cpp \
selection/algorithm/Transformation.cpp \
selection/algorithm/GroupCycle.cpp \
selection/algorithm/Curves.cpp \
selection/algorithm/Entity.cpp \
selection/algorithm/Shader.cpp \
selection/algorithm/Patch.cpp \
selection/algorithm/Primitives.cpp \
selection/algorithm/Group.cpp \
selection/algorithm/ModelFinder.cpp \
selection/algorithm/General.cpp \
selection/algorithm/Planes.cpp \
selection/BestPoint.cpp \
selection/ManipulationPivot.cpp \
selection/manipulators/DragManipulator.cpp \
selection/RadiantSelectionSystem.cpp \
selection/manipulators/RotateManipulator.cpp \
selection/manipulators/ManipulatorComponents.cpp \
selection/manipulators/ScaleManipulator.cpp \
selection/group/SelectionGroupModule.cpp \
selection/group/SelectionGroupManager.cpp \
selection/group/SelectionGroupInfoFileModule.cpp \
selection/manipulators/TranslateManipulator.cpp \
selection/manipulators/ModelScaleManipulator.cpp \
settings/Win32Registry.cpp \
patch/algorithm/General.cpp \
patch/algorithm/Prefab.cpp \
patch/Patch.cpp \
patch/PatchCreators.cpp \
patch/PatchNode.cpp \
patch/PatchModule.cpp \
patch/PatchRenderables.cpp \
patch/PatchTesselation.cpp \
map/RootNode.cpp \
map/MapPosition.cpp \
map/EditingStopwatch.cpp \
map/EditingStopwatchInfoFileModule.cpp \
map/MapPropertyInfoFileModule.cpp \
map/FindMapElements.cpp \
map/infofile/InfoFileManager.cpp \
map/infofile/InfoFile.cpp \
map/infofile/InfoFileExporter.cpp \
map/MapFileManager.cpp \
map/algorithm/ChildPrimitives.cpp \
map/algorithm/Skins.cpp \
map/algorithm/Traverse.cpp \
map/algorithm/MapExporter.cpp \
map/algorithm/MapImporter.cpp \
map/algorithm/Import.cpp \
map/algorithm/Export.cpp \
map/CounterManager.cpp \
map/RegionManager.cpp \
map/PointFile.cpp \
map/MapPositionManager.cpp \
map/MapResource.cpp \
map/Map.cpp \
map/AutoSaver.cpp \
map/StartupMapLoader.cpp \
map/MapResourceManager.cpp \
map/AasFileManager.cpp \
map/RenderableAasFile.cpp \
clipper/ClipPoint.cpp \
clipper/Clipper.cpp \
log/Console.cpp \
model/ModelScalePreserver.cpp \
model/ModelExporter.cpp \
model/ScaledModelExporter.cpp
check_PROGRAMS = facePlaneTest vfsTest shadersTest
TESTS = $(check_PROGRAMS)
facePlaneTest_SOURCES = test/facePlaneTest.cpp \
brush/FacePlane.cpp
facePlaneTest_LDADD = $(top_builddir)/libs/math/libmath.la
#vfsTest_SOURCES = test/vfsTest.cpp $(VFS_SOURCES)
#vfsTest_LDFLAGS = $(FILESYSTEM_LIBS) $(Z_LIBS)
#shadersTest_SOURCES = test/shadersTest.cpp $(SHADERS_SOURCES) #$(VFS_SOURCES)
#shadersTest_LDFLAGS = $(FILESYSTEM_LIBS) $(Z_LIBS)