server/src/eressea/Jamfile

54 lines
1.1 KiB
Text
Raw Normal View History

2003-04-27 19:03:12 +02:00
SubDir TOP eressea ;
TargetDirectory ;
SubDirHdrs $(SUBDIR)/../common/gamecode ;
SubDirHdrs $(SUBDIR)/../common/kernel ;
SubDirHdrs $(SUBDIR)/../common/util ;
SubDirHdrs $(SUBDIR)/../common ;
SubDirHdrs $(SUBDIR)/.. ;
2004-04-18 14:30:31 +02:00
SubDirHdrs $(XMLHDRS) ;
2004-01-24 01:18:49 +01:00
LUASERVER = eressea-lua ;
SERVER = eressea ;
SERVER_SOURCES = main.c korrektur.c ;
LUASERVER_SOURCES =
<lua>alliance.cpp
<lua>building.cpp
<lua>eressea.cpp
<lua>faction.cpp
<lua>region.cpp
<lua>ship.cpp
2004-03-09 00:03:46 +01:00
<lua>spell.cpp
2004-01-24 01:18:49 +01:00
<lua>unit.cpp
server.cpp
korrektur.c
console.c
2004-01-24 01:18:49 +01:00
;
LinkLibraries $(SERVER) :
gamecode kernel items modules attributes spells races triggers util ;
2004-01-24 01:18:49 +01:00
LinkLibraries $(LUASERVER) :
gamecode kernel items modules attributes spells races triggers util ;
iconv $(SERVER) ;
libxml2 $(SERVER) ;
LINKLIBS on $(SERVER) += -L$(LUABIND_ROOT)/lib -lm ;
luabind $(LUASERVER) ;
iconv $(LUASERVER) ;
libxml2 $(LUASERVER) ;
LINKLIBS on $(LUASERVER) += -lm -ldl -lstdc++ ;
2004-01-24 01:18:49 +01:00
2003-12-14 11:10:30 +01:00
if $(HAVE_LUA) {
2004-01-24 01:18:49 +01:00
SEARCH_SOURCE += [ FDirName $(SUBDIR) lua ] ;
2003-12-14 11:10:30 +01:00
SubDirC++Flags -DHAVE_LUA ;
UsingLua ;
UsingLuabind ;
2004-01-24 01:18:49 +01:00
Main $(LUASERVER) : $(LUASERVER_SOURCES) ;
2003-12-14 11:10:30 +01:00
}
2004-01-24 01:18:49 +01:00
Main $(SERVER) : $(SERVER_SOURCES) ;