Changeset 656 for trunk/qmake/generators/os2
- Timestamp:
- Mar 8, 2010, 4:00:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/qmake/generators/os2/gnumake.cpp
r629 r656 581 581 } 582 582 583 if (mode == DLL && !project->isEmpty("QMAKE_RUN_IMPLIB")) { 583 if (mode == DLL) { 584 /* we neeed $(TARGET_IMPLIB) to be in sync with getLibTarget() */ 584 585 t << "TARGET_IMPLIB = $(basename $(DESTDIR_TARGET)).lib" << endl; 585 project->values("QMAKE_CLEAN").append("$(TARGET_IMPLIB)");586 project->values("POST_TARGETDEPS") += escapeFileVars("$(TARGET_IMPLIB)");587 586 } 588 587 } … … 602 601 t << valGlue(var("QMAKE_RUN_GENDEF").split(";;"), "\n\t", "\n\t", "") << endl; 603 602 } 604 if (!project->isEmpty("QMAKE_RUN_IMPLIB")) {605 /* generate the import library */606 t << escapeFileVars("$(TARGET_IMPLIB): ") << escapeFileVars("$(DEF_FILE)");607 t << "\n\t" << var("QMAKE_RUN_IMPLIB") << endl;608 }609 603 } 610 604 } … … 648 642 QString GNUMakefileGenerator::getLibTarget() 649 643 { 650 if (mode == DLL && !project->isEmpty("QMAKE_RUN_IMPLIB"))644 if (mode == DLL) 651 645 return QString("$(notdir $(TARGET_IMPLIB))"); 652 646 return Win32MakefileGenerator::getLibTarget();
Note:
See TracChangeset
for help on using the changeset viewer.