2012-02-08 10:38:07 +00:00
|
|
|
CORESRC = $(QTSRC)src\corelib
|
|
|
|
TOOLSRC = $(QTSRC)tools
|
|
|
|
CONFSRC = $(TOOLSRC)\configure
|
|
|
|
|
2015-09-18 01:17:40 +00:00
|
|
|
DEFINES = -DUNICODE -DQT_NO_CODECS -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -D_CRT_SECURE_NO_DEPRECATE -DQT_BOOTSTRAPPED -DQT_BUILD_CONFIGURE -DQT_VERSION_STR=\"$(QTVERSION)\" -DQT_VERSION_MAJOR=$(QT_VERSION_MAJOR) -DQT_VERSION_MINOR=$(QT_VERSION_MINOR) -DQT_VERSION_PATCH=$(QT_VERSION_PATCH)
|
2015-07-09 23:45:29 +00:00
|
|
|
INCPATH = -I"..\..\include" -I"..\..\include\QtCore" -I"..\..\include\QtCore\$(QTVERSION)" -I"..\..\include\QtCore\$(QTVERSION)\QtCore" -I"$(TOOLSRC)\shared" -I"$(QTSRC)mkspecs\win32-msvc2012"
|
2015-10-16 12:33:25 +00:00
|
|
|
CXXFLAGS_BARE = -nologo -Zc:wchar_t -W3 -GR -EHsc -w34100 -w34189 -wd4577 $(CFLAGS_CRT) $(EXTRA_CXXFLAGS) $(DEFINES) $(INCPATH)
|
2016-02-10 12:05:26 +00:00
|
|
|
!IF ("$(CXX)" != "clang-cl")
|
|
|
|
PCH = configure_pch.pch
|
|
|
|
PCH_OBJECT = configure_pch.obj
|
2012-02-08 10:38:07 +00:00
|
|
|
CXXFLAGS = -FIconfigure_pch.h -Yuconfigure_pch.h -Fp$(PCH) -MP $(CXXFLAGS_BARE)
|
2016-02-10 12:05:26 +00:00
|
|
|
!ELSE
|
|
|
|
PCH =
|
|
|
|
CXXFLAGS = -Wmicrosoft $(CXXFLAGS_BARE)
|
|
|
|
!ENDIF
|
2012-02-08 10:38:07 +00:00
|
|
|
LINK = link
|
|
|
|
LFLAGS = /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST /MANIFESTFILE:"configure.intermediate.manifest"
|
2013-12-12 14:11:36 +00:00
|
|
|
LIBS = ole32.lib advapi32.lib shell32.lib
|
2012-02-08 10:38:07 +00:00
|
|
|
|
|
|
|
TARGET = ..\..\configure.exe
|
|
|
|
|
|
|
|
OBJECTS = \
|
|
|
|
main.obj \
|
|
|
|
configureapp.obj \
|
|
|
|
environment.obj \
|
|
|
|
tools.obj \
|
2012-03-27 09:21:27 +00:00
|
|
|
qarraydata.obj \
|
2012-02-08 10:38:07 +00:00
|
|
|
qbytearray.obj \
|
|
|
|
qbytearraymatcher.obj \
|
|
|
|
qhash.obj \
|
|
|
|
qlist.obj \
|
|
|
|
qlocale.obj \
|
|
|
|
qlocale_win.obj \
|
|
|
|
qlocale_tools.obj \
|
|
|
|
qvector.obj \
|
|
|
|
qutfcodec.obj \
|
|
|
|
qtextcodec.obj \
|
|
|
|
qglobal.obj \
|
|
|
|
qnumeric.obj \
|
|
|
|
qbuffer.obj \
|
|
|
|
qdatastream.obj \
|
|
|
|
qdir.obj \
|
|
|
|
qdiriterator.obj \
|
2012-02-26 09:05:39 +00:00
|
|
|
qfiledevice.obj \
|
2012-02-08 10:38:07 +00:00
|
|
|
qfile.obj \
|
|
|
|
qfileinfo.obj \
|
|
|
|
qabstractfileengine.obj \
|
|
|
|
qfilesystementry.obj \
|
|
|
|
qfilesystemengine.obj \
|
|
|
|
qfilesystemengine_win.obj \
|
|
|
|
qfilesystemiterator_win.obj \
|
|
|
|
qfsfileengine.obj \
|
|
|
|
qfsfileengine_win.obj \
|
|
|
|
qfsfileengine_iterator.obj \
|
|
|
|
qiodevice.obj \
|
2015-05-01 11:02:16 +00:00
|
|
|
qringbuffer.obj \
|
2014-04-29 10:39:31 +00:00
|
|
|
qdebug.obj \
|
2012-02-08 10:38:07 +00:00
|
|
|
qtextstream.obj \
|
|
|
|
qlogging.obj \
|
|
|
|
qtemporaryfile.obj \
|
2012-11-01 13:31:16 +00:00
|
|
|
qstandardpaths.obj \
|
|
|
|
qstandardpaths_win.obj \
|
2012-02-08 10:38:07 +00:00
|
|
|
qsystemlibrary.obj \
|
|
|
|
qbitarray.obj \
|
|
|
|
qdatetime.obj \
|
|
|
|
qmap.obj \
|
|
|
|
qregexp.obj \
|
|
|
|
qstring.obj \
|
2013-10-09 19:14:01 +00:00
|
|
|
qstring_compat.obj \
|
2012-02-08 10:38:07 +00:00
|
|
|
qstringlist.obj \
|
|
|
|
qvsnprintf.obj \
|
|
|
|
qvariant.obj \
|
|
|
|
qsystemerror.obj \
|
|
|
|
qmetatype.obj \
|
|
|
|
qmalloc.obj \
|
|
|
|
qxmlstream.obj \
|
|
|
|
qxmlutils.obj \
|
|
|
|
quuid.obj \
|
2012-03-02 10:02:03 +00:00
|
|
|
registry.obj \
|
2016-02-10 12:05:26 +00:00
|
|
|
$(PCH_OBJECT)
|
2012-02-08 10:38:07 +00:00
|
|
|
|
|
|
|
$(TARGET): $(OBJECTS)
|
|
|
|
$(LINK) $(LFLAGS) /OUT:$(TARGET) @<<
|
|
|
|
$(OBJECTS) $(LIBS)
|
|
|
|
<<
|
|
|
|
mt.exe -nologo -manifest "configure.intermediate.manifest" -outputresource:$(TARGET);1
|
|
|
|
|
|
|
|
clean:
|
|
|
|
-del *.obj
|
|
|
|
-del *.pch
|
|
|
|
-del configure.intermediate.manifest
|
|
|
|
|
|
|
|
$(PCH): $(CONFSRC)\configure_pch.h
|
|
|
|
$(CXX) -c -Yc $(CXXFLAGS_BARE) -Fp$@ -Foconfigure_pch.obj -TP $**
|
|
|
|
|
2013-12-14 00:34:26 +00:00
|
|
|
$(OBJECTS): $(PCH)
|
|
|
|
|
2012-02-08 10:38:07 +00:00
|
|
|
main.obj: $(CONFSRC)\main.cpp $(CONFSRC)\configureapp.h $(PCH)
|
|
|
|
configureapp.obj: $(CONFSRC)\configureapp.cpp $(CONFSRC)\configureapp.h $(CONFSRC)\environment.h $(CONFSRC)\tools.h $(PCH)
|
|
|
|
environment.obj: $(CONFSRC)\environment.cpp $(CONFSRC)\environment.h $(PCH)
|
|
|
|
tools.obj: $(CONFSRC)\tools.cpp $(CONFSRC)\tools.h $(PCH)
|
|
|
|
registry.obj: $(TOOLSRC)\shared\windows\registry.cpp $(PCH)
|
2012-03-27 09:21:27 +00:00
|
|
|
qarraydata.obj: $(CORESRC)\tools\qarraydata.cpp $(PCH)
|
2012-02-08 10:38:07 +00:00
|
|
|
qbytearray.obj: $(CORESRC)\tools\qbytearray.cpp $(PCH)
|
|
|
|
qbytearraymatcher.obj: $(CORESRC)\tools\qbytearraymatcher.cpp $(PCH)
|
|
|
|
qhash.obj: $(CORESRC)\tools\qhash.cpp $(PCH)
|
|
|
|
qlist.obj: $(CORESRC)\tools\qlist.cpp $(PCH)
|
|
|
|
qlocale.obj: $(CORESRC)\tools\qlocale.cpp $(PCH)
|
|
|
|
qlocale_win.obj: $(CORESRC)\tools\qlocale_win.cpp $(PCH)
|
|
|
|
qlocale_tools.obj: $(CORESRC)\tools\qlocale_tools.cpp $(PCH)
|
|
|
|
qvector.obj: $(CORESRC)\tools\qvector.cpp $(PCH)
|
|
|
|
qutfcodec.obj: $(CORESRC)\codecs\qutfcodec.cpp $(PCH)
|
|
|
|
qtextcodec.obj: $(CORESRC)\codecs\qtextcodec.cpp $(PCH)
|
|
|
|
qglobal.obj: $(CORESRC)\global\qglobal.cpp $(PCH)
|
|
|
|
qnumeric.obj: $(CORESRC)\global\qnumeric.cpp $(PCH)
|
|
|
|
qbuffer.obj: $(CORESRC)\io\qbuffer.cpp $(PCH)
|
|
|
|
qdatastream.obj: $(CORESRC)\io\qdatastream.cpp $(PCH)
|
|
|
|
qdir.obj: $(CORESRC)\io\qdir.cpp $(PCH)
|
|
|
|
qdiriterator.obj: $(CORESRC)\io\qdiriterator.cpp $(PCH)
|
2012-02-26 09:05:39 +00:00
|
|
|
qfiledevice.obj: $(CORESRC)\io\qfiledevice.cpp $(PCH)
|
2012-02-08 10:38:07 +00:00
|
|
|
qfile.obj: $(CORESRC)\io\qfile.cpp $(PCH)
|
|
|
|
qfileinfo.obj: $(CORESRC)\io\qfileinfo.cpp $(PCH)
|
|
|
|
qabstractfileengine.obj: $(CORESRC)\io\qabstractfileengine.cpp $(PCH)
|
|
|
|
qfilesystementry.obj: $(CORESRC)\io\qfilesystementry.cpp $(PCH)
|
|
|
|
qfilesystemengine.obj: $(CORESRC)\io\qfilesystemengine.cpp $(PCH)
|
|
|
|
qfilesystemengine_win.obj: $(CORESRC)\io\qfilesystemengine_win.cpp $(PCH)
|
|
|
|
qfilesystemiterator_win.obj: $(CORESRC)\io\qfilesystemiterator_win.cpp $(PCH)
|
|
|
|
qfsfileengine.obj: $(CORESRC)\io\qfsfileengine.cpp $(PCH)
|
|
|
|
qfsfileengine_win.obj: $(CORESRC)\io\qfsfileengine_win.cpp $(PCH)
|
|
|
|
qfsfileengine_iterator.obj: $(CORESRC)\io\qfsfileengine_iterator.cpp $(PCH)
|
|
|
|
qiodevice.obj: $(CORESRC)\io\qiodevice.cpp $(PCH)
|
2015-05-01 11:02:16 +00:00
|
|
|
qringbuffer.obj: $(CORESRC)\tools\qringbuffer.cpp $(PCH)
|
2014-04-29 10:39:31 +00:00
|
|
|
qdebug.obj: $(CORESRC)\io\qdebug.cpp $(PCH)
|
2012-02-08 10:38:07 +00:00
|
|
|
qtextstream.obj: $(CORESRC)\io\qtextstream.cpp $(PCH)
|
|
|
|
qtemporaryfile.obj: $(CORESRC)\io\qtemporaryfile.cpp $(PCH)
|
2012-11-01 13:31:16 +00:00
|
|
|
qstandardpaths.obj: $(CORESRC)\io\qstandardpaths.cpp $(PCH)
|
|
|
|
qstandardpaths_win.obj: $(CORESRC)\io\qstandardpaths_win.cpp $(PCH)
|
2012-02-08 10:38:07 +00:00
|
|
|
qsystemlibrary.obj: $(CORESRC)\plugin\qsystemlibrary.cpp $(PCH)
|
|
|
|
qbitarray.obj: $(CORESRC)\tools\qbitarray.cpp $(PCH)
|
|
|
|
qdatetime.obj: $(CORESRC)\tools\qdatetime.cpp $(PCH)
|
|
|
|
qmap.obj: $(CORESRC)\tools\qmap.cpp $(PCH)
|
|
|
|
qregexp.obj: $(CORESRC)\tools\qregexp.cpp $(PCH)
|
|
|
|
qstring.obj: $(CORESRC)\tools\qstring.cpp $(PCH)
|
|
|
|
qstringlist.obj: $(CORESRC)\tools\qstringlist.cpp $(PCH)
|
|
|
|
qvsnprintf.obj: $(CORESRC)\tools\qvsnprintf.cpp $(PCH)
|
|
|
|
qvariant.obj: $(CORESRC)\kernel\qvariant.cpp $(PCH)
|
|
|
|
qsystemerror.obj: $(CORESRC)\kernel\qsystemerror.cpp $(PCH)
|
|
|
|
qline.obj: $(CORESRC)\tools\qline.cpp $(PCH)
|
|
|
|
qsize.obj: $(CORESRC)\tools\qsize.cpp $(PCH)
|
|
|
|
qpoint.obj: $(CORESRC)\tools\qpoint.cpp $(PCH)
|
|
|
|
qrect.obj: $(CORESRC)\tools\qrect.cpp $(PCH)
|
|
|
|
qmetatype.obj: $(CORESRC)\kernel\qmetatype.cpp $(PCH)
|
|
|
|
qmalloc.obj: $(CORESRC)\global\qmalloc.cpp $(PCH)
|
|
|
|
qxmlstream.obj: $(CORESRC)\xml\qxmlstream.cpp $(PCH)
|
|
|
|
qxmlutils.obj: $(CORESRC)\xml\qxmlutils.cpp $(PCH)
|
|
|
|
quuid.obj: $(CORESRC)\plugin\quuid.cpp $(PCH)
|
|
|
|
|
|
|
|
{$(CONFSRC)}.cpp{}.obj::
|
|
|
|
$(CXX) -c $(CXXFLAGS) $<
|
|
|
|
{$(TOOLSRC)\shared\windows}.cpp{}.obj::
|
|
|
|
$(CXX) -c $(CXXFLAGS) $<
|
|
|
|
{$(CORESRC)\tools}.cpp{}.obj::
|
|
|
|
$(CXX) -c $(CXXFLAGS) $<
|
|
|
|
{$(CORESRC)\codecs}.cpp{}.obj::
|
|
|
|
$(CXX) -c $(CXXFLAGS) $<
|
|
|
|
{$(CORESRC)\global}.cpp{}.obj::
|
|
|
|
$(CXX) -c $(CXXFLAGS) $<
|
|
|
|
{$(CORESRC)\io}.cpp{}.obj::
|
|
|
|
$(CXX) -c $(CXXFLAGS) $<
|
|
|
|
{$(CORESRC)\kernel}.cpp{}.obj::
|
|
|
|
$(CXX) -c $(CXXFLAGS) $<
|
|
|
|
{$(CORESRC)\plugin}.cpp{}.obj::
|
|
|
|
$(CXX) -c $(CXXFLAGS) $<
|
|
|
|
{$(CORESRC)\xml}.cpp{}.obj::
|
|
|
|
$(CXX) -c $(CXXFLAGS) $<
|
2013-12-14 00:43:43 +00:00
|
|
|
|
|
|
|
# Make sure qstring_compat.obj isn't compiled with PCH enabled
|
|
|
|
qstring_compat.obj: $(CORESRC)\tools\qstring_compat.cpp
|
|
|
|
$(CXX) -c $(CXXFLAGS_BARE) $(CORESRC)\tools\qstring_compat.cpp
|