1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the qmake application of the Qt Toolkit. |
7 ** This file is part of the qmake application of the Qt Toolkit. |
8 ** |
8 ** |
423 t << "clean: $(ABLD)" << endl; |
423 t << "clean: $(ABLD)" << endl; |
424 t << "\t-$(ABLD)" << testClause << " reallyclean" << endl; |
424 t << "\t-$(ABLD)" << testClause << " reallyclean" << endl; |
425 t << "\t-bldmake clean" << endl; |
425 t << "\t-bldmake clean" << endl; |
426 t << endl; |
426 t << endl; |
427 |
427 |
428 // Create execution target |
428 t << "clean-debug: $(ABLD)" << endl; |
429 if (debugPlatforms.contains("winscw") && targetType == TypeExe) { |
429 foreach(QString item, debugPlatforms) { |
430 t << "run:" << endl; |
430 t << "\t$(ABLD)" << testClause << " reallyclean " << item << " udeb" << endl; |
431 t << "\t-call " << epocRoot() << "epoc32\\release\\winscw\\udeb\\" << fixedTarget << ".exe" << endl << endl; |
431 } |
432 } |
432 t << endl; |
|
433 t << "clean-release: $(ABLD)" << endl; |
|
434 foreach(QString item, releasePlatforms) { |
|
435 t << "\t$(ABLD)" << testClause << " reallyclean " << item << " urel" << endl; |
|
436 } |
|
437 t << endl; |
|
438 |
|
439 // For more specific builds, targets are in this form: clean-build-platform, e.g. clean-release-armv5 |
|
440 foreach(QString item, debugPlatforms) { |
|
441 t << "clean-debug-" << item << ": $(ABLD)" << endl; |
|
442 t << "\t$(ABLD)" << testClause << " reallyclean " << item << " udeb" << endl; |
|
443 } |
|
444 foreach(QString item, releasePlatforms) { |
|
445 t << "clean-release-" << item << ": $(ABLD)" << endl; |
|
446 t << "\t$(ABLD)" << testClause << " reallyclean " << item << " urel" << endl; |
|
447 } |
|
448 t << endl; |
|
449 |
|
450 generateExecutionTargets(t, debugPlatforms); |
433 } |
451 } |
434 |
452 |
435 void SymbianAbldMakefileGenerator::writeBldInfExtensionRulesPart(QTextStream& t, const QString &iconTargetFile) |
453 void SymbianAbldMakefileGenerator::writeBldInfExtensionRulesPart(QTextStream& t, const QString &iconTargetFile) |
436 { |
454 { |
437 // We don't use extensions for anything in abld |
455 // We don't use extensions for anything in abld |