1 #####################################################################
3 #####################################################################
7 cross_compile: CONFIG += nostrip
9 confclean.depends += clean
12 confclean.commands += (cd config.tests/unix/stl && $(MAKE) distclean); \
13 (cd config.tests/unix/ptrsize && $(MAKE) distclean); \
14 (cd config.tests/x11/notype && $(MAKE) distclean); \
15 (cd config.tests/unix/getaddrinfo && $(MAKE) distclean); \
16 (cd config.tests/unix/cups && $(MAKE) distclean); \
17 (cd config.tests/unix/psql && $(MAKE) distclean); \
18 (cd config.tests/unix/mysql && $(MAKE) distclean); \
19 (cd config.tests/unix/mysql_r && $(MAKE) distclean); \
20 (cd config.tests/unix/nis && $(MAKE) distclean); \
21 (cd config.tests/unix/iodbc && $(MAKE) distclean); \
22 (cd config.tests/unix/odbc && $(MAKE) distclean); \
23 (cd config.tests/unix/oci && $(MAKE) distclean); \
24 (cd config.tests/unix/tds && $(MAKE) distclean); \
25 (cd config.tests/unix/db2 && $(MAKE) distclean); \
26 (cd config.tests/unix/ibase && $(MAKE) distclean); \
27 (cd config.tests/unix/ipv6ifname && $(MAKE) distclean); \
28 (cd config.tests/unix/zlib && $(MAKE) distclean); \
29 (cd config.tests/unix/sqlite2 && $(MAKE) distclean); \
30 (cd config.tests/unix/libjpeg && $(MAKE) distclean); \
31 (cd config.tests/unix/libpng && $(MAKE) distclean); \
32 (cd config.tests/unix/slog2 && $(MAKE) distclean); \
33 (cd config.tests/x11/xcursor && $(MAKE) distclean); \
34 (cd config.tests/x11/xrender && $(MAKE) distclean); \
35 (cd config.tests/x11/xrandr && $(MAKE) distclean); \
36 (cd config.tests/x11/xkb && $(MAKE) distclean); \
37 (cd config.tests/x11/xinput && $(MAKE) distclean); \
38 (cd config.tests/x11/fontconfig && $(MAKE) distclean); \
39 (cd config.tests/x11/xinerama && $(MAKE) distclean); \
40 (cd config.tests/x11/xshape && $(MAKE) distclean); \
41 (cd config.tests/x11/opengl && $(MAKE) distclean); \
42 $(DEL_FILE) config.tests/.qmake.cache; \
43 $(DEL_FILE) src/corelib/global/qconfig.h; \
44 $(DEL_FILE) src/corelib/global/qconfig.cpp; \
45 $(DEL_FILE) mkspecs/qconfig.pri; \
46 $(DEL_FILE) mkspecs/qdevice.pri; \
47 $(DEL_FILE) mkspecs/qmodule.pri; \
48 $(DEL_FILE) .qmake.cache; \
49 (cd qmake && $(MAKE) distclean);
52 confclean.commands += -$(DEL_FILE) src\\corelib\\global\\qconfig.h $$escape_expand(\\n\\t) \
53 -$(DEL_FILE) src\\corelib\\global\\qconfig.cpp $$escape_expand(\\n\\t) \
54 -$(DEL_FILE) mkspecs\\qconfig.pri $$escape_expand(\\n\\t) \
55 -$(DEL_FILE) mkspecs\\qdevice.pri $$escape_expand(\\n\\t) \
56 -$(DEL_FILE) mkspecs\\qmodule.pri $$escape_expand(\\n\\t) \
57 -$(DEL_FILE) .qmake.cache $$escape_expand(\\n\\t) \
58 (cd qmake && $(MAKE) distclean)
60 QMAKE_EXTRA_TARGETS += confclean
61 qmakeclean.commands += (cd qmake && $(MAKE) clean)
62 QMAKE_EXTRA_TARGETS += qmakeclean
63 CLEAN_DEPS += qmakeclean
67 ### installations ####
70 qmake.path = $$[QT_HOST_BINS]
71 equals(QMAKE_HOST.os, Windows) {
72 qmake.files = $$OUT_PWD/bin/qmake.exe
74 qmake.files = $$OUT_PWD/bin/qmake
79 syncqt.path = $$[QT_HOST_BINS]
80 syncqt.files = $$PWD/bin/syncqt
81 equals(QMAKE_HOST.os, Windows):syncqt.files += $$PWD/bin/syncqt.bat
85 mkspecs.path = $$[QT_HOST_DATA]/mkspecs
87 $$OUT_PWD/mkspecs/qconfig.pri $$OUT_PWD/mkspecs/qmodule.pri $$OUT_PWD/mkspecs/qdevice.pri \
88 $$files($$PWD/mkspecs/*) # $$OUT_PWD contains only symlinks under Unix
89 mkspecs.files -= $$PWD/mkspecs/modules
92 global_docs.files = $$PWD/doc/global
93 global_docs.path = $$[QT_INSTALL_DOCS]
94 INSTALLS += global_docs