Chris@172: Chris@245: CONFIG += release Chris@215: Chris@172: TEMPLATE = app Chris@211: TARGET = EasyMercurial Chris@211: Chris@335: # We use the 10.4 SDK and Carbon for all 32-bit OS/X, Chris@335: # and 10.6 with Cocoa for all 64-bit Chris@315: macx-g++40 { Chris@315: # Note, to use the 10.4 SDK on 10.6+ you need qmake -spec macx-g++40 Chris@315: QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk Chris@315: QMAKE_CFLAGS += -mmacosx-version-min=10.4 Chris@315: QMAKE_CXXFLAGS += -mmacosx-version-min=10.4 Chris@315: CONFIG += x86 ppc Chris@315: } Chris@315: macx-g++ { Chris@315: QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk Chris@335: CONFIG += x86_64 Chris@315: } Chris@315: Chris@172: unix { Chris@172: DESTDIR = . Chris@172: } Chris@172: Chris@172: TRANSLATIONS = easyhg_en.ts Chris@172: Chris@172: OBJECTS_DIR = o Chris@172: MOC_DIR = o Chris@172: Chris@370: HEADERS = \ Chris@370: src/mainwindow.h \ Chris@370: src/hgtabwidget.h \ Chris@370: src/common.h \ Chris@370: src/grapher.h \ Chris@370: src/hgrunner.h \ Chris@370: src/changeset.h \ Chris@370: src/changesetitem.h \ Chris@370: src/changesetdetailitem.h \ Chris@370: src/logparser.h \ Chris@370: src/panner.h \ Chris@370: src/panned.h \ Chris@370: src/connectionitem.h \ Chris@370: src/textabbrev.h \ Chris@370: src/dateitem.h \ Chris@370: src/colourset.h \ Chris@370: src/debug.h \ Chris@370: src/recentfiles.h \ Chris@370: src/startupdialog.h \ Chris@370: src/repositorydialog.h \ Chris@370: src/multichoicedialog.h \ Chris@370: src/selectablelabel.h \ Chris@370: src/filestates.h \ Chris@370: src/filestatuswidget.h \ Chris@370: src/confirmcommentdialog.h \ Chris@370: src/hgaction.h \ Chris@370: src/historywidget.h \ Chris@370: src/changesetscene.h \ Chris@370: src/incomingdialog.h \ Chris@370: src/uncommitteditem.h \ Chris@370: src/settingsdialog.h \ Chris@370: src/clickablelabel.h \ Chris@370: src/workstatuswidget.h \ Chris@370: src/moreinformationdialog.h \ Chris@370: src/annotatedialog.h Chris@370: SOURCES = \ Chris@370: src/main.cpp \ Chris@370: src/mainwindow.cpp \ Chris@370: src/hgtabwidget.cpp \ Chris@370: src/hgrunner.cpp \ Chris@370: src/grapher.cpp \ Chris@370: src/common.cpp \ Chris@370: src/changeset.cpp \ Chris@370: src/changesetdetailitem.cpp \ Chris@370: src/changesetitem.cpp \ Chris@370: src/logparser.cpp \ Chris@370: src/panner.cpp \ Chris@370: src/panned.cpp \ Chris@370: src/connectionitem.cpp \ Chris@370: src/textabbrev.cpp \ Chris@370: src/dateitem.cpp \ Chris@370: src/colourset.cpp \ Chris@370: src/debug.cpp \ Chris@370: src/recentfiles.cpp \ Chris@370: src/startupdialog.cpp \ Chris@370: src/repositorydialog.cpp \ Chris@370: src/multichoicedialog.cpp \ Chris@370: src/selectablelabel.cpp \ Chris@370: src/filestates.cpp \ Chris@370: src/filestatuswidget.cpp \ Chris@370: src/confirmcommentdialog.cpp \ Chris@370: src/historywidget.cpp \ Chris@370: src/changesetscene.cpp \ Chris@370: src/incomingdialog.cpp \ Chris@370: src/uncommitteditem.cpp \ Chris@370: src/settingsdialog.cpp \ Chris@370: src/workstatuswidget.cpp \ Chris@370: src/moreinformationdialog.cpp \ Chris@370: src/annotatedialog.cpp Chris@172: Chris@172: macx-* { Chris@370: SOURCES += src/common_osx.mm Chris@172: LIBS += -framework Foundation Chris@215: ICON = easyhg.icns Chris@172: } Chris@172: Chris@172: linux* { Chris@172: LIBS += -lutil Chris@172: } Chris@172: Chris@172: win* { Chris@172: LIBS += -lSecur32 Chris@172: } Chris@172: Chris@172: RESOURCES = easyhg.qrc Chris@197: win32 { Chris@197: RC_FILE = easyhg.rc Chris@197: } Chris@172: Chris@172: QT += network