summaryrefslogblamecommitdiff
path: root/src/Makefile.am
blob: 7b4e27ee1b80bcb73499349f163cc3f4df4ee81e (plain) (tree)
1
2
3
4
5
6

      

                                 
                                           
 

























































                                            























                                   













                                           



                                     

                                      



                                    


                                 














                                   







                                
 
              


                                 
     
 
                   


                              
     
 
               


                                  
     
 
                 




                           
     
 
             

                                                            

                         
     
# $Id$

AUTOMAKE_OPTIONS = subdir-objects

bin_PROGRAMS = tmwserv-account tmwserv-game

tmwserv_account_SOURCES = \
	account-server/main-account.cpp \
	being.h \
	configuration.h \
	configuration.cpp \
	debug.h \
	debug.cpp \
	defines.h \
	inventory.h \
	item.h \
	object.h \
	player.h \
	player.cpp \
	point.h \
	properties.h \
	resourcemanager.h \
	resourcemanager.cpp \
	skill.h \
	skill.cpp \
	account-server/account.hpp \
	account-server/account.cpp \
	account-server/accountclient.hpp \
	account-server/accountclient.cpp \
	account-server/accounthandler.hpp \
	account-server/accounthandler.cpp \
	account-server/dalstorage.hpp \
	account-server/dalstorage.cpp \
	account-server/dalstoragesql.hpp \
	account-server/serverhandler.hpp \
	account-server/serverhandler.cpp \
	account-server/storage.hpp \
	account-server/storage.cpp \
	chat-server/chathandler.hpp \
	chat-server/chathandler.cpp \
	chat-server/chatchannel.hpp \
	chat-server/chatchannel.cpp \
	chat-server/chatchannelmanager.hpp \
	chat-server/chatchannelmanager.cpp \
	dal/dalexcept.h \
	dal/dataprovider.h \
	dal/dataprovider.cpp \
	dal/dataproviderfactory.h \
	dal/dataproviderfactory.cpp \
	dal/recordset.h \
	dal/recordset.cpp \
	net/connectionhandler.hpp \
	net/connectionhandler.cpp \
	net/messagein.hpp \
	net/messagein.cpp \
	net/messageout.hpp \
	net/messageout.cpp \
	net/netcomputer.hpp \
	net/netcomputer.cpp \
	utils/base64.h \
	utils/base64.cpp \
	utils/countedptr.h \
	utils/functors.h \
	utils/singleton.h \
	utils/logger.h \
	utils/logger.cpp \
	utils/stringfilter.h \
	utils/stringfilter.cpp \
	utils/timer.h \
	utils/timer.cpp

tmwserv_game_SOURCES = \
	game-server/main-game.cpp \
	being.h \
	being.cpp \
	configuration.h \
	configuration.cpp \
	controller.h \
	controller.cpp \
	debug.h \
	debug.cpp \
	defines.h \
	inventory.h \
	inventory.cpp \
	item.h \
	item.cpp \
	map.h \
	map.cpp \
	mapreader.h \
	mapreader.cpp \
	object.h \
	object.cpp \
	player.h \
	player.cpp \
	point.h \
	properties.h \
	resourcemanager.h \
	resourcemanager.cpp \
	skill.h \
	skill.cpp \
	game-server/accountconnection.hpp \
	game-server/accountconnection.cpp \
	game-server/gamehandler.hpp \
	game-server/gamehandler.cpp \
	game-server/itemmanager.hpp \
	game-server/itemmanager.cpp \
	game-server/mapcomposite.hpp \
	game-server/mapcomposite.cpp \
	game-server/mapmanager.hpp \
	game-server/mapmanager.cpp \
	game-server/state.hpp \
	game-server/state.cpp \
	game-server/testing.cpp \
	game-server/trigger.hpp \
	game-server/trigger.cpp \
	net/connection.hpp \
	net/connection.cpp \
	net/connectionhandler.hpp \
	net/connectionhandler.cpp \
	net/messagein.hpp \
	net/messagein.cpp \
	net/messageout.hpp \
	net/messageout.cpp \
	net/netcomputer.hpp \
	net/netcomputer.cpp \
	utils/base64.h \
	utils/base64.cpp \
	utils/countedptr.h \
	utils/functors.h \
	utils/singleton.h \
	utils/logger.h \
	utils/logger.cpp \
	utils/stringfilter.h \
	utils/stringfilter.cpp \
	utils/timer.h \
	utils/timer.cpp \
	utils/xml.h \
	utils/xml.cpp

if BUILD_MYSQL
tmwserv_account_SOURCES += \
	dal/mysqldataprovider.h \
	dal/mysqldataprovider.cpp
endif

if BUILD_POSTGRESQL
tmwserv_account_SOURCES += \
	dal/pqdataprovider.h \
	dal/pqdataprovider.cpp
endif

if BUILD_SQLITE
tmwserv_account_SOURCES += \
	dal/sqlitedataprovider.h \
	dal/sqlitedataprovider.cpp
endif

if BUILD_SQUIRREL
tmwserv_game_SOURCES += \
	script.h \
	script.cpp \
	script-squirrel.h \
	script-squirrel.cpp
endif

if BUILD_RUBY
bindings_wrap.cpp: bindings.i
	$(SWIG) $(SWIGFLAGS) -o bindings_wrap.cpp bindings.i
tmwserv_game_SOURCES += \
	bindings_wrap.cpp
endif