diff options
author | Koenig, Joerg <Joerg.Koenig@techsat.com> | 2020-04-26 13:26:05 (GMT) |
---|---|---|
committer | Koenig, Joerg <Joerg.Koenig@techsat.com> | 2020-04-26 13:26:05 (GMT) |
commit | c6b16b7e4d20734f2ac2fa465badd1121b6a6738 (patch) | |
tree | 3a338a67c56a8d6e835811bc1c4481eac7956f0e /Makefile.qtwintools | |
parent | 386a4c8a8170b57ec347fc516262ff496e113f5d (diff) | |
download | Qt-c6b16b7e4d20734f2ac2fa465badd1121b6a6738.zip Qt-c6b16b7e4d20734f2ac2fa465badd1121b6a6738.tar.gz Qt-c6b16b7e4d20734f2ac2fa465badd1121b6a6738.tar.bz2 |
Last stand from QT_5_14refs/changes/82/11082/1
Change-Id: If8cf86e542691fed458098021c042193c4679d14
Diffstat (limited to 'Makefile.qtwintools')
-rw-r--r-- | Makefile.qtwintools | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/Makefile.qtwintools b/Makefile.qtwintools new file mode 100644 index 0000000..405b1a4 --- /dev/null +++ b/Makefile.qtwintools @@ -0,0 +1,56 @@ +TOP = $(shell readlink -f .) + +VERSION_SHORT = 5.14 +VERSION_RELEASE = 2 +VERSION = $(VERSION_SHORT).$(VERSION_RELEASE) + +7ZIP = $(TOP)/wintools/7za.exe +LOCAL_BUILD_PATH = c:/tmp/qtbuild +SRCDIR = $(LOCAL_BUILD_PATH)/qt-everywhere-src-5.14.2 + +TOOLS = moc rcc uic qlalr qvkgen tracegen + +all: download unpack configure tools pack clean + +download: + $(MAKE) -C ./SOURCE zip + +unpack: + mkdir -p $(LOCAL_BUILD_PATH) + cd $(LOCAL_BUILD_PATH); \ + rm -Rf qt-everywhere-src-$(VERSION) ; \ + $(7ZIP) x $(TOP)/SOURCE/qt-everywhere-src-$(VERSION).zip + +configure: + cd $(SRCDIR) && \ + ./configure.bat -opensource -confirm-license + +tools: + cd $(SRCDIR)/qtbase/src/tools/bootstrap && \ + $(SRCDIR)/qtbase/bin/qmake -o Makefile && \ + make -f Makefile + cd $(SRCDIR)/qtbase/src/tools/moc && \ + $(SRCDIR)/qtbase/bin/qmake -o Makefile && \ + make -f Makefile + cd $(SRCDIR)/qtbase/src/tools/rcc && \ + $(SRCDIR)/qtbase/bin/qmake -o Makefile && \ + make -f Makefile + cd $(SRCDIR)/qtbase/src/3rdparty/pcre2 && \ + $(SRCDIR)/qtbase/bin/qmake -o Makefile && \ + make -f Makefile + cd $(SRCDIR)/qtbase/src/corelib && \ + $(SRCDIR)/qtbase/bin/qmake -o Makefile && \ + make -f Makefile + for t in $(TOOLS) ; do \ + cd $(SRCDIR)/qtbase/src/tools/$$t ;\ + $(SRCDIR)/qtbase/bin/qmake -o Makefile ;\ + make -f Makefile ;\ + done + +pack: + cd $(SRCDIR)/qtbase/bin && \ + tar -zcf $(TOP)/qtwintools.tgz ./*.exe + +clean: + rm -Rf $(LOCAL_BUILD_PATH) + |