Chris@172: Chris@547: CONFIG += release Chris@215: Chris@172: TEMPLATE = app Chris@211: TARGET = EasyMercurial Chris@211: Chris@584: # We use the 10.5 SDK and Carbon for all 32-bit OS/X, Chris@587: # and 10.6 with Cocoa for all 64-bit. (Since EasyHg 1.2, Chris@587: # we can sadly no longer build for 10.4 because we need Chris@587: # the FSEvents API) 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@584: QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.5.sdk Chris@584: QMAKE_CFLAGS += -mmacosx-version-min=10.5 Chris@584: QMAKE_CXXFLAGS += -mmacosx-version-min=10.5 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/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@397: src/changesetview.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@414: src/annotatedialog.h \ Chris@491: src/hgignoredialog.h \ Chris@523: src/versiontester.h \ Chris@538: src/squeezedlabel.h \ Chris@554: src/fswatcher.h \ Chris@554: src/findwidget.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/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@397: src/changesetview.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@414: src/annotatedialog.cpp \ Chris@491: src/hgignoredialog.cpp \ Chris@523: src/versiontester.cpp \ Chris@538: src/squeezedlabel.cpp \ Chris@554: src/fswatcher.cpp \ Chris@554: src/findwidget.cpp Chris@172: Chris@172: macx-* { Chris@370: SOURCES += src/common_osx.mm Chris@585: LIBS += -framework CoreServices -framework Foundation Chris@529: ICON = easyhg-icon.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