build fixes
[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                       -developer-build \
20                       -opensource
21
22 release:PACKAGE_CFG_OPTIONS *= -release
23 debug:PACKAGE_CFG_OPTIONS *= -debug
24
25 win32:PACKAGE_CFG_OPTIONS *=    \
26                                 -no-direct3d \
27                                 -rtti \
28                                 -no-sql-odbc \
29
30 unix:PACKAGE_CFG_OPTIONS *=     \
31                                 -svg \
32                                 -no-openssl \
33                                 -no-iconv \
34                                 -no-cups \
35                                 -no-nis \
36                                 -no-rpath \
37                                 -no-sm \
38                                 -no-xinerama \
39                                 -no-pch \
40                                 -no-glib \
41                                 -no-xfixes \
42                                 -no-exceptions \
43                                 -separate-debug-info
44
45 PACKAGE_CFG_ENV     = QMAKESPEC=$(QMAKESPEC) QTPREFIX=$(QTPREFIX)
46                                 
47 QT_ASSISTANT_CUSTOM_IMAGES = qt/icons/assistant
48 unix:PACKAGE_MAKE_ENV = LD_LIBRARY_PATH=$(QTDIR)/lib
49 darwin:PACKAGE_MAKE_ENV = DYLD_LIBRARY_PATH=$(QTDIR)/lib
50
51 PACKAGE_TARGET  = \
52                 sub-moc-make_default-ordered \
53                 sub-rcc-make_default-ordered \
54                 sub-uic-make_default-ordered \
55                 sub-corelib-make_default-ordered \
56                 sub-xml-make_default-ordered \
57                 sub-gui-make_default-ordered \
58                 sub-sql-make_default-ordered \
59                 sub-network-make_default-ordered \
60                 sub-svg-make_default-ordered \
61                 sub-qt3support-make_default-ordered \
62                 sub-uic3-make_default-ordered \
63                 sub-plugins-make_default-ordered \
64                 sub-tools-make_default-ordered  \
65                 qm-qt
66
67 win32:PACKAGE_TARGET  = \
68                 sub-winmain-make_default-ordered \
69                 sub-moc-make_default-ordered \
70                 sub-rcc-make_default-ordered \
71                 sub-uic-make_default-ordered \
72                 sub-corelib-make_default-ordered \
73                 sub-xml-make_default-ordered \
74                 sub-gui-make_default-ordered \
75                 sub-sql-make_default-ordered \
76                 sub-network-make_default-ordered \
77                 sub-svg-make_default-ordered \
78                 sub-qt3support-make_default-ordered \
79                 sub-uic3-make_default-ordered \
80                 sub-plugins-make_default-ordered \
81                 sub-tools-make_default-ordered \
82                 qm-qt
83                  
84 unix:PACKAGE_MAKEOPTS = -j3
85 INSTALL_ENV_VARS += QMAKESPEC
86
87 BASENAME            = qt-all-opensource-src-$$VERSION
88 ARCHIVE             = $$ARCHIVE_DIR/$$BASENAME.tar.bz2
89 PACKAGE_DIR         = $$BASENAME
90
91 CLEANFILES += $(top_srcdir)/MANIFEST $(top_srcdir)/q3porting.xml 
92 unix:CLEANFILES += $(top_srcdir)/translations
93 win32:CLEANDIRS = $(top_srcdir)/translations
94
95 CLEANDIRS += $(top_srcdir)/icons $(top_srcdir)/include $(top_srcdir)/plugins