qmake/Makefile.win32
changeset 30 5dc02b23752f
parent 18 2f34d5167611
child 37 758a864f9613
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
     1 !IF "$(QMAKESPEC)" == "win32-msvc" || "$(QMAKESPEC)" == "win32-msvc.net" || "$(QMAKESPEC)" == "win32-msvc2002" || "$(QMAKESPEC)" == "win32-msvc2003" || "$(QMAKESPEC)" == "win32-msvc2005" || "$(QMAKESPEC)" == "win32-msvc2008" || "$(QMAKESPEC)" == "win32-icc"
     1 !IF "$(QMAKESPEC)" == "win32-msvc" || "$(QMAKESPEC)" == "win32-msvc.net" || "$(QMAKESPEC)" == "win32-msvc2002" || "$(QMAKESPEC)" == "win32-msvc2003" || "$(QMAKESPEC)" == "win32-msvc2005" || "$(QMAKESPEC)" == "win32-msvc2008" || "$(QMAKESPEC)" == "win32-msvc2010" || "$(QMAKESPEC)" == "win32-icc"
     2 
     2 
     3 !if "$(SOURCE_PATH)" == ""
     3 !if "$(SOURCE_PATH)" == ""
     4 SOURCE_PATH = ..
     4 SOURCE_PATH = ..
     5 !endif
     5 !endif
     6 !if "$(BUILD_PATH)" == ""
     6 !if "$(BUILD_PATH)" == ""
    73 
    73 
    74 #qmake code
    74 #qmake code
    75 OBJS        = project.obj main.obj makefile.obj unixmake.obj unixmake2.obj mingw_make.obj \
    75 OBJS        = project.obj main.obj makefile.obj unixmake.obj unixmake2.obj mingw_make.obj \
    76               option.obj winmakefile.obj projectgenerator.obj property.obj meta.obj \
    76               option.obj winmakefile.obj projectgenerator.obj property.obj meta.obj \
    77               makefiledeps.obj metamakefile.obj xmloutput.obj pbuilder_pbx.obj \
    77               makefiledeps.obj metamakefile.obj xmloutput.obj pbuilder_pbx.obj \
    78               borland_bmake.obj msvc_nmake.obj msvc_dsp.obj msvc_vcproj.obj \
    78               borland_bmake.obj msvc_nmake.obj msvc_vcproj.obj msvc_vcxproj.obj \
    79               msvc_objectmodel.obj symmake.obj initprojectdeploy_symbian.obj \
    79               msvc_objectmodel.obj msbuild_objectmodel.obj symmake.obj initprojectdeploy_symbian.obj \
    80               registry.obj \
    80               symmake_abld.obj symmake_sbsv2.obj symbiancommon.obj registry.obj epocroot.obj
    81               epocroot.obj \
       
    82               symmake_abld.obj symmake_sbsv2.obj
       
    83 
    81 
    84 !IFDEF QMAKE_OPENSOURCE_EDITION
    82 !IFDEF QMAKE_OPENSOURCE_EDITION
    85 CFLAGS      = $(CFLAGS) -DQMAKE_OPENSOURCE_EDITION
    83 CFLAGS      = $(CFLAGS) -DQMAKE_OPENSOURCE_EDITION
    86 !ENDIF
    84 !ENDIF
    87 
    85 
   193 	-del makefiledeps.obj
   191 	-del makefiledeps.obj
   194 	-del metamakefile.obj
   192 	-del metamakefile.obj
   195 	-del xmloutput.obj
   193 	-del xmloutput.obj
   196 	-del borland_bmake.obj
   194 	-del borland_bmake.obj
   197 	-del msvc_nmake.obj
   195 	-del msvc_nmake.obj
   198 	-del msvc_dsp.obj
       
   199 	-del msvc_vcproj.obj
   196 	-del msvc_vcproj.obj
       
   197 	-del msvc_vcxproj.obj
   200 	-del msvc_objectmodel.obj
   198 	-del msvc_objectmodel.obj
       
   199 	-del msbuild_objectmodel.obj
   201 	-del symmake.obj
   200 	-del symmake.obj
   202 	-del symmake_abld.obj
   201 	-del symmake_abld.obj
   203 	-del symmake_sbsv2.obj
   202 	-del symmake_sbsv2.obj
       
   203 	-del symbiancommon.obj
   204 	-del initprojectdeploy_symbian.obj
   204 	-del initprojectdeploy_symbian.obj
   205 	-del registry.obj
   205 	-del registry.obj
   206 	-del epocroot.obj
   206 	-del epocroot.obj
   207 	-del pbuilder_pbx.obj
   207 	-del pbuilder_pbx.obj
   208 	-del qxmlstream.obj
   208 	-del qxmlstream.obj
   380 	$(CXX) $(CXXFLAGS) generators/win32/mingw_make.cpp
   380 	$(CXX) $(CXXFLAGS) generators/win32/mingw_make.cpp
   381 
   381 
   382 msvc_nmake.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_nmake.cpp
   382 msvc_nmake.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_nmake.cpp
   383 	$(CXX) $(CXXFLAGS) generators/win32/msvc_nmake.cpp
   383 	$(CXX) $(CXXFLAGS) generators/win32/msvc_nmake.cpp
   384 
   384 
   385 msvc_dsp.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_dsp.cpp
       
   386 	$(CXX) $(CXXFLAGS) generators/win32/msvc_dsp.cpp
       
   387 
       
   388 msvc_vcproj.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_vcproj.cpp
   385 msvc_vcproj.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_vcproj.cpp
   389 	$(CXX) $(CXXFLAGS) generators/win32/msvc_vcproj.cpp
   386 	$(CXX) $(CXXFLAGS) generators/win32/msvc_vcproj.cpp
   390 
   387 
       
   388 msvc_vcxproj.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_vcxproj.cpp
       
   389 	$(CXX) $(CXXFLAGS) generators/win32/msvc_vcxproj.cpp
       
   390 
   391 msvc_objectmodel.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_objectmodel.cpp
   391 msvc_objectmodel.obj: $(SOURCE_PATH)/qmake/generators/win32/msvc_objectmodel.cpp
   392 	$(CXX) $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp
   392 	$(CXX) $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp
   393 
   393 
       
   394 msbuild_objectmodel.obj: $(SOURCE_PATH)/qmake/generators/win32/msbuild_objectmodel.cpp
       
   395 	$(CXX) $(CXXFLAGS) generators/win32/msbuild_objectmodel.cpp
       
   396 
   394 symmake.obj: $(SOURCE_PATH)/qmake/generators/symbian/symmake.cpp
   397 symmake.obj: $(SOURCE_PATH)/qmake/generators/symbian/symmake.cpp
   395 	$(CXX) $(CXXFLAGS) generators/symbian/symmake.cpp
   398 	$(CXX) $(CXXFLAGS) generators/symbian/symmake.cpp
   396 
   399 
   397 symmake_abld.obj: $(SOURCE_PATH)/qmake/generators/symbian/symmake_abld.cpp
   400 symmake_abld.obj: $(SOURCE_PATH)/qmake/generators/symbian/symmake_abld.cpp
   398 	$(CXX) $(CXXFLAGS) generators/symbian/symmake_abld.cpp
   401 	$(CXX) $(CXXFLAGS) generators/symbian/symmake_abld.cpp
   399 
   402 
   400 symmake_sbsv2.obj: $(SOURCE_PATH)/qmake/generators/symbian/symmake_sbsv2.cpp
   403 symmake_sbsv2.obj: $(SOURCE_PATH)/qmake/generators/symbian/symmake_sbsv2.cpp
   401 	$(CXX) $(CXXFLAGS) generators/symbian/symmake_sbsv2.cpp
   404 	$(CXX) $(CXXFLAGS) generators/symbian/symmake_sbsv2.cpp
   402 
   405 
       
   406 symbiancommon.obj: $(SOURCE_PATH)/qmake/generators/symbian/symbiancommon.cpp
       
   407 	$(CXX) $(CXXFLAGS) generators/symbian/symbiancommon.cpp
       
   408 
   403 initprojectdeploy_symbian.obj: $(SOURCE_PATH)/qmake/generators/symbian/initprojectdeploy_symbian.cpp
   409 initprojectdeploy_symbian.obj: $(SOURCE_PATH)/qmake/generators/symbian/initprojectdeploy_symbian.cpp
   404 	$(CXX) $(CXXFLAGS) generators/symbian/initprojectdeploy_symbian.cpp
   410 	$(CXX) $(CXXFLAGS) generators/symbian/initprojectdeploy_symbian.cpp
   405 
   411 
   406 registry.obj: $(SOURCE_PATH)/tools/shared/windows/registry.cpp
   412 registry.obj: $(SOURCE_PATH)/tools/shared/windows/registry.cpp
   407 	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)/tools/shared/windows/registry.cpp
   413 	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)/tools/shared/windows/registry.cpp