summaryrefslogtreecommitdiffstats
path: root/qmake/generators
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-12-09 09:17:48 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-02-12 15:48:09 (GMT)
commitdcdab4f3a6b943b54b630dd25827a444b6331e92 (patch)
treeb8de52898d1782ceec9afb907791d9ea7bf3b351 /qmake/generators
parentde8bbaab5b8d85243d3d18c642faef3a826ca672 (diff)
downloadQt-dcdab4f3a6b943b54b630dd25827a444b6331e92.zip
Qt-dcdab4f3a6b943b54b630dd25827a444b6331e92.tar.gz
Qt-dcdab4f3a6b943b54b630dd25827a444b6331e92.tar.bz2
remove remainder of mac9 mode
Reviewed-by: mariusSO
Diffstat (limited to 'qmake/generators')
-rw-r--r--qmake/generators/makefile.cpp4
-rw-r--r--qmake/generators/unix/unixmake.cpp6
2 files changed, 3 insertions, 7 deletions
diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp
index 991e1ec..ae43e2b 100644
--- a/qmake/generators/makefile.cpp
+++ b/qmake/generators/makefile.cpp
@@ -2164,9 +2164,7 @@ QString MakefileGenerator::buildArgs(const QString &outdir)
ret += " -nodependheuristics";
if(!Option::mkfile::qmakespec_commandline.isEmpty())
ret += " -spec " + specdir(outdir);
- if(Option::target_mode == Option::TARG_MAC9_MODE)
- ret += " -mac9";
- else if(Option::target_mode == Option::TARG_MACX_MODE)
+ if(Option::target_mode == Option::TARG_MACX_MODE)
ret += " -macx";
else if(Option::target_mode == Option::TARG_UNIX_MODE)
ret += " -unix";
diff --git a/qmake/generators/unix/unixmake.cpp b/qmake/generators/unix/unixmake.cpp
index f51c046..b2f0db1 100644
--- a/qmake/generators/unix/unixmake.cpp
+++ b/qmake/generators/unix/unixmake.cpp
@@ -778,10 +778,8 @@ UnixMakefileGenerator::defaultInstall(const QString &t)
uninst.append("-$(DEL_FILE) \"" + dst_targ + "\"");
if(!links.isEmpty()) {
for(int i = 0; i < links.size(); ++i) {
- if(Option::target_mode == Option::TARG_WIN_MODE ||
- Option::target_mode == Option::TARG_MAC9_MODE) {
- } else if(Option::target_mode == Option::TARG_UNIX_MODE ||
- Option::target_mode == Option::TARG_MACX_MODE) {
+ if(Option::target_mode == Option::TARG_UNIX_MODE ||
+ Option::target_mode == Option::TARG_MACX_MODE) {
QString link = Option::fixPathToTargetOS(destdir + links[i], false);
int lslash = link.lastIndexOf(Option::dir_sep);
if(lslash != -1)