Chris@172: Chris@245: CONFIG += release Chris@215: Chris@172: TEMPLATE = app Chris@211: TARGET = EasyMercurial Chris@211: 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: QMAKE_LFLAGS_RELEASE += -bind_at_load Chris@315: CONFIG += x86 ppc Chris@315: } Chris@315: macx-g++ { Chris@315: QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.6.sdk Chris@315: CONFIG += x86 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@172: HEADERS = mainwindow.h \ Chris@172: hgtabwidget.h \ Chris@172: common.h \ Chris@172: grapher.h \ Chris@172: hgrunner.h \ Chris@172: changeset.h \ Chris@172: changesetitem.h \ Chris@172: changesetdetailitem.h \ Chris@172: logparser.h \ Chris@172: panner.h \ Chris@172: panned.h \ Chris@172: connectionitem.h \ Chris@172: textabbrev.h \ Chris@172: dateitem.h \ Chris@172: colourset.h \ Chris@172: debug.h \ Chris@172: recentfiles.h \ Chris@172: startupdialog.h \ Chris@172: repositorydialog.h \ Chris@172: multichoicedialog.h \ Chris@172: selectablelabel.h \ Chris@172: filestates.h \ Chris@172: filestatuswidget.h \ Chris@172: confirmcommentdialog.h \ Chris@172: hgaction.h \ Chris@172: historywidget.h \ Chris@172: changesetscene.h \ Chris@172: incomingdialog.h \ Chris@175: uncommitteditem.h \ Chris@186: settingsdialog.h \ Chris@275: clickablelabel.h \ Chris@296: workstatuswidget.h \ Chris@275: moreinformationdialog.h Chris@172: SOURCES = main.cpp \ Chris@172: mainwindow.cpp \ Chris@172: hgtabwidget.cpp \ Chris@172: hgrunner.cpp \ Chris@172: grapher.cpp \ Chris@172: common.cpp \ Chris@172: changeset.cpp \ Chris@172: changesetdetailitem.cpp \ Chris@172: changesetitem.cpp \ Chris@172: logparser.cpp \ Chris@172: panner.cpp \ Chris@172: panned.cpp \ Chris@172: connectionitem.cpp \ Chris@172: textabbrev.cpp \ Chris@172: dateitem.cpp \ Chris@172: colourset.cpp \ Chris@172: debug.cpp \ Chris@172: recentfiles.cpp \ Chris@172: startupdialog.cpp \ Chris@172: repositorydialog.cpp \ Chris@172: multichoicedialog.cpp \ Chris@172: selectablelabel.cpp \ Chris@172: filestates.cpp \ Chris@172: filestatuswidget.cpp \ Chris@172: confirmcommentdialog.cpp \ Chris@172: historywidget.cpp \ Chris@172: changesetscene.cpp \ Chris@172: incomingdialog.cpp \ Chris@175: uncommitteditem.cpp \ Chris@275: settingsdialog.cpp \ Chris@296: workstatuswidget.cpp \ Chris@275: moreinformationdialog.cpp Chris@172: Chris@172: macx-* { Chris@172: SOURCES += 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