Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
blob: 37e1b2eadd25bb146d38ff9871f775458495625c (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
# set the include path found by configure
AM_CPPFLAGS = $(DEBUG_CFLAGS) $(WARN_CFLAGS) $(all_includes)
SUFFIXES = .rc
.rc.o:
	windres $< -o $@

SUBDIRS = sys math auxiliary filesystem model core server audio render client \
	game
noinst_HEADERS = config.h
bin_PROGRAMS = osiriond osirion

# dedicated server
osiriond_SOURCES = osiriond.cc
EXTRA_osiriond_SOURCES = osiriond-res.rc
osiriond_DEPENDENCIES = $(ICON_SERVER) $(top_builddir)/src/core/libcore.la \
	$(top_builddir)/src/filesystem/libfilesystem.la $(top_builddir)/src/game/libgame.la $(top_builddir)/src/math/libmath.la \
	$(top_builddir)/src/model/libmodel.la $(top_builddir)/src/server/libserver.la \
	$(top_builddir)/src/sys/libsys.la $(top_builddir)/src/auxiliary/libauxiliary.la
osiriond_LDADD = $(top_builddir)/src/auxiliary/libauxiliary.la \
	$(top_builddir)/src/core/libcore.la $(top_builddir)/src/filesystem/libfilesystem.la \
	$(top_builddir)/src/game/libgame.la \
	$(top_builddir)/src/model/libmodel.la $(top_builddir)/src/server/libserver.la \
	$(top_builddir)/src/math/libmath.la $(top_builddir)/src/sys/libsys.la $(HOST_LIBS) $(ICON_SERVER)

# client
osirion_SOURCES = osirion.cc
EXTRA_osirion_SOURCES = osirion-res.rc
osirion_DEPENDENCIES = $(ICON_CLIENT) \
	$(top_builddir)/src/auxiliary/libauxiliary.la $(top_builddir)/src/client/libclient.la \
	$(top_builddir)/src/core/libcore.la $(top_builddir)/src/filesystem/libfilesystem.la \
	$(top_builddir)/src/game/libgame.la $(top_builddir)/src/math/libmath.la \
	$(top_builddir)/src/model/libmodel.la $(top_builddir)/src/audio/libaudio.la \
	$(top_builddir)/src/render/librender.la $(top_builddir)/src/sys/libsys.la
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/audio/libaudio.la \
	$(top_builddir)/src/render/librender.la $(top_builddir)/src/core/libcore.la \
	$(top_builddir)/src/filesystem/libfilesystem.la $(top_builddir)/src/model/libmodel.la \
	$(top_builddir)/src/math/libmath.la $(top_builddir)/src/auxiliary/libauxiliary.la \
	$(top_builddir)/src/filesystem/libfilesystem.la $(top_builddir)/src/sys/libsys.la \
	$(top_builddir)/src/auxiliary/libauxiliary.la $(AL_LIBS) $(GL_LIBS) $(HOST_LIBS) $(ICON_CLIENT)
osirion_LDFLAGS = $(LIBSDL_LIBS)