qmake/Makefile.win32-g++
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    23 		-I$(SOURCE_PATH)/mkspecs/win32-g++  \
    23 		-I$(SOURCE_PATH)/mkspecs/win32-g++  \
    24 		-I$(SOURCE_PATH)/tools/shared \
    24 		-I$(SOURCE_PATH)/tools/shared \
    25 		-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE \
    25 		-DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE \
    26 		-DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP \
    26 		-DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP \
    27 		-DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM \
    27 		-DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM \
    28 		-DQT_BOOTSTRAPPED
    28 		-DQT_BOOTSTRAPPED -DQT_QCHAR_CONSTRUCTOR
    29 CXXFLAGS    =   $(CFLAGS)
    29 CXXFLAGS    =   $(CFLAGS)
    30 LFLAGS	    =
    30 LFLAGS	    = -static-libgcc -static-libstdc++ -s
    31 LIBS	    = -lole32 -luuid
    31 LIBS	    = -lole32 -luuid
    32 LINKQMAKE   =	g++ $(LFLAGS) -o qmake.exe $(OBJS) $(QTOBJS) $(LIBS)
    32 LINKQMAKE   =	g++ $(LFLAGS) -o qmake.exe $(OBJS) $(QTOBJS) $(LIBS)
    33 ADDCLEAN    =
    33 ADDCLEAN    =
    34 
    34 
    35 
    35 
    36 #qmake code
    36 #qmake code
    37 OBJS        = project.o main.o makefile.o unixmake.o unixmake2.o mingw_make.o \
    37 OBJS        = project.o main.o makefile.o unixmake.o unixmake2.o mingw_make.o \
    38               option.o winmakefile.o projectgenerator.o property.o meta.o \
    38               option.o winmakefile.o projectgenerator.o property.o meta.o \
    39               makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o \
    39               makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o \
    40               borland_bmake.o msvc_nmake.o msvc_dsp.o msvc_vcproj.o \
    40               borland_bmake.o msvc_nmake.o msvc_vcproj.o msvc_vcxproj.o \
    41               msvc_objectmodel.o symmake.o initprojectdeploy_symbian.o \
    41               msvc_objectmodel.o msbuild_objectmodel.o symmake.o initprojectdeploy_symbian.o \
    42               registry.o \
    42               symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.o epocroot.o
    43               epocroot.o \
       
    44               symmake_abld.o symmake_sbsv2.o
       
    45 
    43 
    46 ifdef QMAKE_OPENSOURCE_EDITION
    44 ifdef QMAKE_OPENSOURCE_EDITION
    47 CFLAGS      += -DQMAKE_OPENSOURCE_EDITION
    45 CFLAGS      += -DQMAKE_OPENSOURCE_EDITION
    48 endif
    46 endif
    49 
    47 
   258 	$(CXX) $(CXXFLAGS) generators/win32/mingw_make.cpp
   256 	$(CXX) $(CXXFLAGS) generators/win32/mingw_make.cpp
   259 
   257 
   260 msvc_nmake.o: $(SOURCE_PATH)/qmake/generators/win32/msvc_nmake.cpp
   258 msvc_nmake.o: $(SOURCE_PATH)/qmake/generators/win32/msvc_nmake.cpp
   261 	$(CXX) $(CXXFLAGS) generators/win32/msvc_nmake.cpp
   259 	$(CXX) $(CXXFLAGS) generators/win32/msvc_nmake.cpp
   262 
   260 
   263 msvc_dsp.o: $(SOURCE_PATH)/qmake/generators/win32/msvc_dsp.cpp
       
   264 	$(CXX) $(CXXFLAGS) generators/win32/msvc_dsp.cpp
       
   265 
       
   266 msvc_vcproj.o: $(SOURCE_PATH)/qmake/generators/win32/msvc_vcproj.cpp
   261 msvc_vcproj.o: $(SOURCE_PATH)/qmake/generators/win32/msvc_vcproj.cpp
   267 	$(CXX) $(CXXFLAGS) generators/win32/msvc_vcproj.cpp
   262 	$(CXX) $(CXXFLAGS) generators/win32/msvc_vcproj.cpp
   268 
   263 
   269 msvc_objectmodel.o: $(SOURCE_PATH)/qmake/generators/win32/msvc_objectmodel.cpp
   264 msvc_objectmodel.o: $(SOURCE_PATH)/qmake/generators/win32/msvc_objectmodel.cpp
   270 	$(CXX) $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp
   265 	$(CXX) $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp
   271 
   266 
       
   267 msvc_vcxproj.o: $(SOURCE_PATH)/qmake/generators/win32/msvc_vcxproj.cpp
       
   268 	$(CXX) $(CXXFLAGS) generators/win32/msvc_vcxproj.cpp
       
   269 
       
   270 msbuild_objectmodel.o: $(SOURCE_PATH)/qmake/generators/win32/msbuild_objectmodel.cpp
       
   271 	$(CXX) $(CXXFLAGS) generators/win32/msbuild_objectmodel.cpp
       
   272 
   272 symmake.o: $(SOURCE_PATH)/qmake/generators/symbian/symmake.cpp
   273 symmake.o: $(SOURCE_PATH)/qmake/generators/symbian/symmake.cpp
   273 	$(CXX) $(CXXFLAGS) generators/symbian/symmake.cpp
   274 	$(CXX) $(CXXFLAGS) generators/symbian/symmake.cpp
   274 
   275 
   275 symmake_abld.o: $(SOURCE_PATH)/qmake/generators/symbian/symmake_abld.cpp
   276 symmake_abld.o: $(SOURCE_PATH)/qmake/generators/symbian/symmake_abld.cpp
   276 	$(CXX) $(CXXFLAGS) generators/symbian/symmake_abld.cpp
   277 	$(CXX) $(CXXFLAGS) generators/symbian/symmake_abld.cpp
   277 
   278 
   278 symmake_sbsv2.o: $(SOURCE_PATH)/qmake/generators/symbian/symmake_sbsv2.cpp
   279 symmake_sbsv2.o: $(SOURCE_PATH)/qmake/generators/symbian/symmake_sbsv2.cpp
   279 	$(CXX) $(CXXFLAGS) generators/symbian/symmake_sbsv2.cpp
   280 	$(CXX) $(CXXFLAGS) generators/symbian/symmake_sbsv2.cpp
   280 
   281 
       
   282 symbiancommon.o: $(SOURCE_PATH)/qmake/generators/symbian/symbiancommon.cpp
       
   283 	$(CXX) $(CXXFLAGS) generators/symbian/symbiancommon.cpp
       
   284 
   281 initprojectdeploy_symbian.o: $(SOURCE_PATH)/qmake/generators/symbian/initprojectdeploy_symbian.cpp
   285 initprojectdeploy_symbian.o: $(SOURCE_PATH)/qmake/generators/symbian/initprojectdeploy_symbian.cpp
   282 	$(CXX) $(CXXFLAGS) generators/symbian/initprojectdeploy_symbian.cpp
   286 	$(CXX) $(CXXFLAGS) generators/symbian/initprojectdeploy_symbian.cpp
   283 
   287 
   284 registry.o: $(SOURCE_PATH)/tools/shared/windows/registry.cpp
   288 registry.o: $(SOURCE_PATH)/tools/shared/windows/registry.cpp
   285 	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)/tools/shared/windows/registry.cpp
   289 	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)/tools/shared/windows/registry.cpp
   309 	$(CXX) $(CXXFLAGS) generators/mac/pbuilder_pbx.cpp
   313 	$(CXX) $(CXXFLAGS) generators/mac/pbuilder_pbx.cpp
   310 
   314 
   311 makefiledeps.o: $(SOURCE_PATH)/qmake/generators/makefiledeps.cpp
   315 makefiledeps.o: $(SOURCE_PATH)/qmake/generators/makefiledeps.cpp
   312 	$(CXX) $(CXXFLAGS) generators/makefiledeps.cpp
   316 	$(CXX) $(CXXFLAGS) generators/makefiledeps.cpp
   313 
   317 
   314 metamakefile.o: $(SOURCE_PATH)/qmake/generators/metamakefile.cpp
   318 metamakefile.o: $(SOURCE_PATH)/qmake/generators/metamakefile.cpp $(SOURCE_PATH)/qmake/generators/symbian/symbian_makefile.h
   315 	$(CXX) $(CXXFLAGS) generators/metamakefile.cpp
   319 	$(CXX) $(CXXFLAGS) generators/metamakefile.cpp
   316 
   320 
   317 xmloutput.o: $(SOURCE_PATH)/qmake/generators/xmloutput.cpp
   321 xmloutput.o: $(SOURCE_PATH)/qmake/generators/xmloutput.cpp
   318 	$(CXX) $(CXXFLAGS) generators/xmloutput.cpp
   322 	$(CXX) $(CXXFLAGS) generators/xmloutput.cpp
   319 
   323 
   320 qxmlstream.o: $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp
   324 qxmlstream.o: $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp
   321 	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp
   325 	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp
   322 
   326 
   323 qxmlutils.o: $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp
   327 qxmlutils.o: $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp
   324 	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp
   328 	$(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp
       
   329