blob: 5064fba130fded6b947b44aea8ab76490e74f3fb (
plain)
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
|
# set the include path found by configure
AM_CPPFLAGS = $(DEBUG_CFLAGS) $(WARN_CFLAGS) $(all_includes)
SUFFIXES = .rc
.rc.o:
windres $< -o $@
SUBDIRS = \
auxiliary \
math \
sys \
filesystem \
model \
core \
dedicated \
audio \
render \
ui \
client \
game
noinst_HEADERS = config.h
if BUILD_DEDICATED
bin_PROGRAMS = osiriond
else
bin_PROGRAMS = osiriond osirion
endif
# dedicated dedicated
osiriond_SOURCES = osiriond.cc
EXTRA_osiriond_SOURCES = osiriond-res.rc
osiriond_DEPENDENCIES = \
$(top_builddir)/src/auxiliary/libauxiliary.la \
$(top_builddir)/src/math/libmath.la \
$(top_builddir)/src/sys/libsys.la \
$(top_builddir)/src/filesystem/libfilesystem.la \
$(top_builddir)/src/model/libmodel.la \
$(top_builddir)/src/core/libcore.la \
$(top_builddir)/src/dedicated/libdedicated.la \
$(top_builddir)/src/game/libgame.la \
$(ICON_SERVER)
osiriond_LDADD = \
$(top_builddir)/src/game/libgame.la \
$(top_builddir)/src/dedicated/libdedicated.la \
$(top_builddir)/src/core/libcore.la \
$(top_builddir)/src/model/libmodel.la \
$(top_builddir)/src/filesystem/libfilesystem.la \
$(top_builddir)/src/sys/libsys.la \
$(top_builddir)/src/math/libmath.la \
$(top_builddir)/src/auxiliary/libauxiliary.la \
$(ICON_SERVER) \
$(BULLET_LIBS) $(CURSES_LIBS) $(LIBZ_LIBS) $(HOST_LIBS)
# client
osirion_SOURCES = osirion.cc
EXTRA_osirion_SOURCES = osirion-res.rc SDLMain.m
osirion_DEPENDENCIES = \
$(top_builddir)/src/auxiliary/libauxiliary.la \
$(top_builddir)/src/math/libmath.la \
$(top_builddir)/src/sys/libsys.la \
$(top_builddir)/src/filesystem/libfilesystem.la \
$(top_builddir)/src/model/libmodel.la \
$(top_builddir)/src/core/libcore.la \
$(top_builddir)/src/audio/libaudio.la \
$(top_builddir)/src/render/librender.la \
$(top_builddir)/src/ui/libui.la \
$(top_builddir)/src/client/libclient.la \
$(top_builddir)/src/game/libgame.la \
$(SDLMAIN) $(ICON_CLIENT)
osirion_CFLAGS = $(LIBSDL_CFLAGS) $(GL_CFLAGS) $(GLUT_CFLAGS)
osirion_LDADD = \
$(top_builddir)/src/game/libgame.la \
$(top_builddir)/src/client/libclient.la \
$(top_builddir)/src/ui/libui.la \
$(top_builddir)/src/render/librender.la \
$(top_builddir)/src/audio/libaudio.la \
$(top_builddir)/src/core/libcore.la \
$(top_builddir)/src/model/libmodel.la \
$(top_builddir)/src/filesystem/libfilesystem.la \
$(top_builddir)/src/sys/libsys.la \
$(top_builddir)/src/math/libmath.la \
$(top_builddir)/src/auxiliary/libauxiliary.la \
$(SDLMAIN) $(ICON_CLIENT) \
$(BULLET_LIBS) $(LIBSDL_LIBS) $(AL_LIBS) $(GL_LIBS) \
$(LIBJPG_LIBS) $(LIBPNG_LIBS) $(LIBZ_LIBS) $(HOST_LIBS)
|