server/src/eressea/Jamfile

47 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-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
;
LinkLibraries $(SERVER) :
kernel gamecode items modules attributes spells races triggers util ;
LinkLibraries $(LUASERVER) :
kernel gamecode items modules attributes spells races triggers util ;
LINKLIBS on $(SERVER) += -lm ;
LINKLIBS on $(LUASERVER) += -L$(LUABIND_ROOT)/lib -llua50 -llualib50 ;
LINKLIBS on $(LUASERVER) += -lm -lluabind -ldl -lstdc++ ;
# -Wl,-R,$(HOME)/software/$(HOST)/lib ;
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) ;