Changeset 295 for trunk/mkspecs
- Timestamp:
- Nov 6, 2009, 1:59:22 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mkspecs/features/os2/default_post.prf
r293 r295 3 3 4 4 wlink:build_pass { 5 # Neither WLINK nor EMXOMFLD does allow us to specify the application type6 # ofthe .EXE on the command line. For this reason, we need an implicit .DEF5 # Neither WLINK nor EMXOMFLD allows us to specify the application type of 6 # the .EXE on the command line. For this reason, we need an implicit .DEF 7 7 # file which we create unless an explicit .DEF file is provided in .pro. 8 8 contains(TEMPLATE, ".*app") { 9 9 isEmpty(DEF_FILE) { 10 isEmpty(OBJECTS_DIR) { 11 DEF_FILE = $${TARGET}.apptype.def 12 } else { 13 DEF_FILE = $${OBJECTS_DIR}/$${TARGET}.apptype.def 14 } 10 DEF_FILE = $(OBJECTS_DIR)/$(TARGET).def 15 11 16 12 make_apptype_def.target = $(DEF_FILE) 17 13 make_apptype_def.depends = $(call q,$(MAKEFILE)) 18 14 windows { 19 make_apptype_def.commands = @echo NAME $ $TARGETWINDOWAPI > $(DEF_FILE)15 make_apptype_def.commands = @echo NAME $(QMAKE_TARGET) WINDOWAPI > $(DEF_FILE) 20 16 } else { 21 make_apptype_def.commands = @echo NAME $ $TARGETWINDOWCOMPAT > $(DEF_FILE)17 make_apptype_def.commands = @echo NAME $(QMAKE_TARGET) WINDOWCOMPAT > $(DEF_FILE) 22 18 } 23 19 QMAKE_EXTRA_TARGETS += make_apptype_def
Note:
See TracChangeset
for help on using the changeset viewer.