TEMPLATE = lib
include( ../config.pro )

INCLUDEPATH += ..
unix:LIBS += -L..
unix:LIBS += -lAttalCommon

contains( DEFINES, WITH_SOUND ) {
	unix:LIBS += -lSDL
	unix:LIBS += -lSDL_mixer
}

VERSION = 4.0.0

win32:LIBS += ..\AttalCommon.lib

SOURCES += askChest.cpp
SOURCES += askDialog.cpp
SOURCES += askWidget.cpp
SOURCES += attalSound.cpp
SOURCES += attalStyle.cpp
SOURCES += bonus.cpp
SOURCES += building.cpp
SOURCES += cell.cpp
SOURCES += chatWidget.cpp
SOURCES += chest.cpp
SOURCES += displayArtefacts.cpp
SOURCES += displayBase.cpp
SOURCES += displayCreature.cpp
SOURCES += displayLord.cpp
SOURCES += displayTechnics.cpp
SOURCES += event.cpp
SOURCES += flag.cpp
SOURCES += gainLevel.cpp
SOURCES += game.cpp
SOURCES += gameControl.cpp
SOURCES += gameDescription.cpp
SOURCES += gameInfo.cpp
SOURCES += graphicalArtefact.cpp
SOURCES += graphicalBuilding.cpp
SOURCES += graphicalCell.cpp
SOURCES += graphicalLord.cpp
SOURCES += graphicalMap.cpp
SOURCES += graphicalPath.cpp
SOURCES += gui.cpp
SOURCES += imageTheme.cpp
SOURCES += insideAction.cpp
SOURCES += insideBase.cpp
SOURCES += insideBuilding.cpp
SOURCES += lord.cpp
SOURCES += lordExchange.cpp
SOURCES += map.cpp
SOURCES += mapCreature.cpp
SOURCES += mapView.cpp
SOURCES += market.cpp
SOURCES += miniMap.cpp
SOURCES += optionsDialog.cpp
SOURCES += pixmapSpinBox.cpp
SOURCES += player.cpp
SOURCES += ressourceBar.cpp
SOURCES += ressourceWin.cpp
SOURCES += unitExchange.cpp
SOURCES += widget.cpp

HEADERS += askChest.h
HEADERS += askDialog.h
HEADERS += askWidget.h
HEADERS += attalSound.h
HEADERS += attalStyle.h
HEADERS += bonus.h
HEADERS += building.h
HEADERS += cell.h
HEADERS += chatWidget.h
HEADERS += chest.h
HEADERS += displayArtefacts.h
HEADERS += displayBase.h
HEADERS += displayCreature.h
HEADERS += displayLord.h
HEADERS += displayTechnics.h
HEADERS += event.h
HEADERS += flag.h
HEADERS += gainLevel.h
HEADERS += game.h
HEADERS += gameControl.h
HEADERS += gameDescription.h
HEADERS += gameInfo.h
HEADERS += graphicalArtefact.h
HEADERS += graphicalBuilding.h
HEADERS += graphicalCell.h
HEADERS += graphicalLord.h
HEADERS += graphicalMap.h
HEADERS += graphicalPath.h
HEADERS += gui.h
HEADERS += imageTheme.h
HEADERS += insideAction.h
HEADERS += insideBase.h
HEADERS += insideBuilding.h
HEADERS += lord.h
HEADERS += lordExchange.h
HEADERS += map.h
HEADERS += mapCreature.h
HEADERS += mapView.h
HEADERS += market.h
HEADERS += miniMap.h
HEADERS += optionsDialog.h
HEADERS += pixmapSpinBox.h
HEADERS += player.h
HEADERS += ressourceBar.h
HEADERS += ressourceWin.h
HEADERS += unitExchange.h
HEADERS += widget.h

DESTDIR = ..
TARGET = AttalClient
