927c07313041842df480900f23753de7a7a9961b
[serna.git] / 3rd / qt / qt-defaults.pro
1 # TMake settings for qt as a Serna Editor 3rd component
2
3 PACKAGE_CFG_OPTIONS *= \
4                       -qt-gif \
5                       -no-libmng \
6                       -qt-libpng \
7                       -qt-libtiff \
8                       -qt-libjpeg \
9                       -qt-zlib \
10                       -no-xmlpatterns \
11                       -no-phonon \
12                       -no-webkit \
13                       -no-3dnow \
14                       -no-dbus \
15                       -no-opengl \
16                       -no-scripttools \
17                       -qt-sql-sqlite \
18                       -confirm-license \
19                       -opensource
20
21 release:PACKAGE_CFG_OPTIONS *= -release
22 debug:PACKAGE_CFG_OPTIONS *= -debug
23
24 win32:PACKAGE_CFG_OPTIONS *=    \
25                                 -no-direct3d \
26                                 -rtti \
27                                 -no-sql-odbc \
28
29 unix:PACKAGE_CFG_OPTIONS *=     \
30                                 -svg \
31                                 -no-openssl \
32                                 -no-iconv \
33                                 -no-cups \
34                                 -no-nis \
35                                 -no-rpath \
36                                 -no-sm \
37                                 -no-xinerama \
38                                 -no-pch \
39                                 -no-glib \
40                                 -no-xfixes \
41                                 -no-exceptions \
42                                 -separate-debug-info
43
44 PACKAGE_CFG_ENV     = QMAKESPEC=$(QMAKESPEC) QTPREFIX=$(QTPREFIX)
45                                 
46 QT_ASSISTANT_CUSTOM_IMAGES = qt/icons/assistant
47
48 PACKAGE_TARGET  = \
49                 sub-moc-make_default-ordered \
50                 sub-rcc-make_default-ordered \
51                 sub-uic-make_default-ordered \
52                 sub-corelib-make_default-ordered \
53                 sub-xml-make_default-ordered \
54                 sub-gui-make_default-ordered \
55                 sub-sql-make_default-ordered \
56                 sub-network-make_default-ordered \
57                 sub-svg-make_default-ordered \
58                 sub-qt3support-make_default-ordered \
59                 sub-uic3-make_default-ordered \
60                 sub-plugins-make_default-ordered \
61                 sub-tools-make_default-ordered
62
63 win32:PACKAGE_TARGET  = \
64                 sub-winmain-make_default-ordered \
65                 sub-moc-make_default-ordered \
66                 sub-rcc-make_default-ordered \
67                 sub-uic-make_default-ordered \
68                 sub-corelib-make_default-ordered \
69                 sub-xml-make_default-ordered \
70                 sub-gui-make_default-ordered \
71                 sub-sql-make_default-ordered \
72                 sub-network-make_default-ordered \
73                 sub-svg-make_default-ordered \
74                 sub-qt3support-make_default-ordered \
75                 sub-uic3-make_default-ordered \
76                 sub-plugins-make_default-ordered \
77                 sub-tools-make_default-ordered
78                  
79 unix:PACKAGE_MAKEOPTS = -j3
80 INSTALL_ENV_VARS += QMAKESPEC
81
82 BASENAME            = qt-all-opensource-src-$$VERSION
83 ARCHIVE             = $$ARCHIVE_DIR/$$BASENAME.tar.bz2
84 PACKAGE_DIR         = $$BASENAME
85
86 CLEANFILES += $(top_srcdir)/MANIFEST $(top_srcdir)/q3porting.xml 
87 unix:CLEANFILES += $(top_srcdir)/translations
88 win32:CLEANDIRS = $(top_srcdir)/translations
89
90 CLEANDIRS += $(top_srcdir)/icons $(top_srcdir)/include $(top_srcdir)/plugins