Files
pokerth/pokerth_lib.pro
T

234 lines
7.1 KiB
Prolog
Raw Normal View History

# QMake pro-file for PokerTH common library
TEMPLATE = lib
CODECFORSRC = UTF-8
2009-08-17 23:23:01 +00:00
CONFIG += staticlib thread exceptions rtti stl warn_on
2007-10-02 17:01:23 +00:00
UI_DIR = uics
TARGET = lib/pokerth_lib
MOC_DIR = mocs
OBJECTS_DIR = obj
2007-10-08 11:07:32 +00:00
DEFINES += ENABLE_IPV6
2007-10-02 17:01:23 +00:00
QT -= core gui
#PRECOMPILED_HEADER = src/pch_lib.h
2007-10-02 17:01:23 +00:00
INCLUDEPATH += . \
src \
src/engine \
src/gui \
src/gui/qt \
src/gui/qt/qttools \
src/net \
src/engine/local_engine \
src/engine/network_engine \
src/config \
src/third_party/tinyxml \
src/third_party/libircclient/include \
src/third_party/asn1 \
src/core
DEPENDPATH += . \
src \
src/config \
src/core \
src/engine \
src/gui \
src/gui/qt \
src/gui/generic \
src/net \
src/core/common \
src/third_party/tinyxml \
src/third_party/libircclient \
src/third_party/libircclient/src \
src/third_party/libircclient/include \
src/engine/local_engine \
src/engine/network_engine \
src/net/common \
# Input
HEADERS += \
src/game.h \
src/session.h \
src/playerdata.h \
src/gamedata.h \
src/config/configfile.h \
src/core/thread.h \
src/core/crypthelper.h \
src/core/avatarmanager.h \
2007-09-29 00:08:19 +00:00
src/core/pokerthexception.h \
src/engine/boardinterface.h \
src/engine/enginefactory.h \
src/engine/handinterface.h \
src/engine/playerinterface.h \
src/engine/berointerface.h \
src/gui/guiinterface.h \
2009-08-14 18:56:45 +00:00
src/net/chatcleanermanager.h \
2009-08-17 09:45:06 +00:00
src/net/chatcleanercallback.h \
src/net/clientcallback.h \
src/net/clientcontext.h \
src/net/clientexception.h \
2009-05-10 22:34:07 +00:00
src/net/netcontext.h \
src/net/clientstate.h \
src/net/clientthread.h \
src/net/genericsocket.h \
src/net/netpacket.h \
2009-05-10 22:21:20 +00:00
src/net/senderhelper.h \
2009-05-10 22:34:07 +00:00
src/net/sendercallback.h \
src/net/serverexception.h \
2009-05-10 22:21:20 +00:00
src/net/serveraccepthelper.h \
2009-05-31 19:45:20 +00:00
src/net/servergame.h \
2007-08-20 20:37:54 +00:00
src/net/servergamestate.h \
src/net/serverlobbythread.h \
src/net/serverbanmanager.h \
2009-05-10 22:34:07 +00:00
src/net/servercallback.h \
src/net/serverircbot.h \
2009-05-10 22:34:07 +00:00
src/net/sessiondata.h \
src/net/sessiondatacallback.h \
2009-05-10 22:34:07 +00:00
src/net/sessionmanager.h \
src/net/socket_helper.h \
src/net/socket_msg.h \
src/net/socket_startup.h \
src/net/irccallback.h \
src/net/ircthread.h \
2007-09-29 00:08:19 +00:00
src/net/netexception.h \
2009-05-10 22:34:07 +00:00
src/net/receiverhelper.h \
src/net/servermanager.h \
src/net/transferdata.h \
src/net/transferhelper.h \
src/net/uploaderthread.h \
src/net/uploadhelper.h \
2009-03-21 01:39:00 +00:00
src/net/downloaderthread.h \
src/net/downloadhelper.h \
2009-08-14 18:56:45 +00:00
src/net/encodedpacket.h \
src/net/internalchatcleanerpacket.h \
src/third_party/tinyxml/tinystr.h \
src/third_party/tinyxml/tinyxml.h \
src/third_party/libircclient/include/libircclient.h \
src/third_party/libircclient/include/config.h \
src/engine/local_engine/cardsvalue.h \
src/engine/local_engine/localboard.h \
src/engine/local_engine/localenginefactory.h \
src/engine/local_engine/localhand.h \
src/engine/local_engine/localplayer.h \
src/engine/local_engine/localberopreflop.h \
src/engine/local_engine/localberoflop.h \
src/engine/local_engine/localberoturn.h \
src/engine/local_engine/localberoriver.h \
src/engine/local_engine/localberopostriver.h \
src/engine/local_engine/tools.h \
src/engine/local_engine/localbero.h \
2007-09-29 00:08:19 +00:00
src/engine/local_engine/localexception.h \
2008-10-17 09:49:36 +00:00
src/engine/local_engine/arraydata.h \
src/engine/network_engine/clientboard.h \
src/engine/network_engine/clientenginefactory.h \
src/engine/network_engine/clienthand.h \
src/engine/network_engine/clientplayer.h \
src/engine/network_engine/clientbero.h \
src/gui/qttoolsinterface.h \
src/gui/generic/serverguiwrapper.h
SOURCES += \
src/game.cpp \
src/session.cpp \
src/playerdata.cpp \
src/config/configfile.cpp \
src/engine/boardinterface.cpp \
src/engine/enginefactory.cpp \
src/engine/handinterface.cpp \
src/engine/playerinterface.cpp \
src/engine/berointerface.cpp \
src/gui/guiinterface.cpp \
src/core/common/thread.cpp \
src/core/common/crypthelper.cpp \
2007-09-08 18:01:38 +00:00
src/core/common/avatarmanager.cpp \
2007-09-29 00:08:19 +00:00
src/core/common/pokerthexception.cpp \
src/third_party/tinyxml/tinystr.cpp \
src/third_party/tinyxml/tinyxml.cpp \
src/third_party/tinyxml/tinyxmlerror.cpp \
src/third_party/tinyxml/tinyxmlparser.cpp \
src/third_party/libircclient/src/libircclient.c \
src/engine/local_engine/cardsvalue.cpp \
src/engine/local_engine/localboard.cpp \
src/engine/local_engine/localenginefactory.cpp \
src/engine/local_engine/localhand.cpp \
src/engine/local_engine/localplayer.cpp \
src/engine/local_engine/localberopreflop.cpp \
src/engine/local_engine/localberoflop.cpp \
src/engine/local_engine/localberoturn.cpp \
src/engine/local_engine/localberoriver.cpp \
src/engine/local_engine/localberopostriver.cpp \
src/engine/local_engine/tools.cpp \
src/engine/local_engine/localbero.cpp \
2007-09-29 00:08:19 +00:00
src/engine/local_engine/localexception.cpp \
2008-10-17 09:49:36 +00:00
src/engine/local_engine/arraydata.cpp \
src/engine/network_engine/clientboard.cpp \
src/engine/network_engine/clientenginefactory.cpp \
src/engine/network_engine/clienthand.cpp \
src/engine/network_engine/clientplayer.cpp \
src/engine/network_engine/clientbero.cpp \
2009-08-14 18:56:45 +00:00
src/net/common/chatcleanermanager.cpp \
2009-08-17 09:45:06 +00:00
src/net/common/chatcleanercallback.cpp \
src/net/common/clientcallback.cpp \
src/net/common/clientcontext.cpp \
src/net/common/clientstate.cpp \
src/net/common/clientthread.cpp \
src/net/common/downloadhelper.cpp \
2009-03-21 01:39:00 +00:00
src/net/common/downloaderthread.cpp \
src/net/common/netpacket.cpp \
2009-05-10 22:21:20 +00:00
src/net/common/senderhelper.cpp \
src/net/common/sendercallback.cpp \
src/net/common/serverexception.cpp \
2009-05-10 22:21:20 +00:00
src/net/common/serveraccepthelper.cpp \
2009-05-31 19:45:20 +00:00
src/net/common/servergame.cpp \
2007-08-20 20:37:54 +00:00
src/net/common/servergamestate.cpp \
src/net/common/serverlobbythread.cpp \
src/net/common/serverbanmanager.cpp \
src/net/common/servercallback.cpp \
src/net/common/serverircbot.cpp \
src/net/common/sessiondata.cpp \
src/net/common/sessiondatacallback.cpp \
src/net/common/sessionmanager.cpp \
2009-06-16 22:13:12 +00:00
src/net/common/socket_startup.cpp \
src/net/common/clientexception.cpp \
src/net/common/netcontext.cpp \
src/net/common/netexception.cpp \
src/net/common/receiverhelper.cpp \
src/net/common/irccallback.cpp \
src/net/common/ircthread.cpp \
src/net/common/servermanager.cpp \
src/net/common/transferhelper.cpp \
src/net/common/uploaderthread.cpp \
src/net/common/uploadhelper.cpp \
2009-08-14 18:56:45 +00:00
src/net/common/encodedpacket.cpp \
src/net/common/internalchatcleanerpacket.cpp \
src/gui/generic/serverguiwrapper.cpp \
src/gui/qttoolsinterface.cpp
win32{
2008-04-11 08:32:48 +00:00
DEFINES += CURL_STATICLIB
DEFINES += _WIN32_WINNT=0x0501
DEPENDPATH += src/net/win32/ src/core/win32
2008-04-24 19:51:29 +00:00
INCLUDEPATH += ../boost/ ../GnuTLS/include ../curl/include ../zlib
}
!win32{
2008-05-21 20:47:17 +00:00
##### My release static build options
#QMAKE_CXXFLAGS += -ffunction-sections -fdata-sections
DEPENDPATH += src/net/linux/ src/core/linux
}
mac{
# make it universal
CONFIG += x86
CONFIG += ppc
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.3
# for universal-compilation on PPC-Mac uncomment the following line
# on Intel-Mac you have to comment this line out or build will fail.
# QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk/
INCLUDEPATH += /Developer/SDKs/MacOSX10.4u.sdk/usr/include/
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers
INCLUDEPATH += /Library/Frameworks/SDL_mixer.framework/Headers
}