summaryrefslogtreecommitdiff
path: root/qt
Side-by-side diff
Diffstat (limited to 'qt') (more/less context) (ignore whitespace changes)
-rw-r--r--qt/control/qpf-cyberbit-120-50-t10.control9
-rw-r--r--qt/qconfig-qpe-single.h41
-rw-r--r--qt/qconfig-qpe.h99
-rw-r--r--qt/qt-embedded-rotation.control10
-rw-r--r--qt/qt-embedded.control9
-rw-r--r--qt/qte231-for-qpe131.patch.gzbin0 -> 2884 bytes
-rw-r--r--qt/qte231-for-qpe140.patch.gzbin0 -> 66728 bytes
-rw-r--r--qt/tmake/propagate.t368
8 files changed, 536 insertions, 0 deletions
diff --git a/qt/control/qpf-cyberbit-120-50-t10.control b/qt/control/qpf-cyberbit-120-50-t10.control
new file mode 100644
index 0000000..8bbc5f7
--- a/dev/null
+++ b/qt/control/qpf-cyberbit-120-50-t10.control
@@ -0,0 +1,9 @@
+Files: $QTDIR/lib/fonts/cyberbit_120_50_t10.qpf
+Priority: required
+Section: qpe/system
+Maintainer: Warwick Allison <warwick@trolltech.com>
+Architecture: arm
+Arch: iPAQ
+Version: 2.3.0-5
+Description: Unicode font
+ A pre-rendered Unicode font.
diff --git a/qt/qconfig-qpe-single.h b/qt/qconfig-qpe-single.h
new file mode 100644
index 0000000..3b5f692
--- a/dev/null
+++ b/qt/qconfig-qpe-single.h
@@ -0,0 +1,41 @@
+/**********************************************************************
+** Copyright (C) 2000 Trolltech AS. All rights reserved.
+**
+** This file is part of Qtopia Environment.
+**
+** This file may be distributed and/or modified under the terms of the
+** GNU General Public License version 2 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file.
+**
+** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+**
+** See http://www.trolltech.com/gpl/ for GPL licensing information.
+**
+** Contact info@trolltech.com if any conditions of this licensing are
+** not clear to you.
+**
+**********************************************************************/
+#include "qconfig-qpe.h"
+#define QT_NO_NETWORK
+#define NO_CHECK
+
+//#define QT_DEMO_SINGLE_FLOPPY
+
+
+#ifdef QT_DEMO_SINGLE_FLOPPY
+// VGA16 is all we need
+#define QT_NO_QWS_TRANSFORMED
+#define QT_NO_QWS_MACH64
+#define QT_NO_QWS_VOODOO3
+#define QT_NO_QWS_MATROX
+#define QT_NO_QWS_DEPTH_16
+#define QT_NO_QWS_DEPTH_32
+#define QT_NO_SOUND
+#endif
+
+#ifdef QT_NO_QWS_DEPTH_16
+// Needed for mpegplayer on 16bpp
+#define QT_NO_IMAGE_16_BIT
+#endif
diff --git a/qt/qconfig-qpe.h b/qt/qconfig-qpe.h
new file mode 100644
index 0000000..f02c743
--- a/dev/null
+++ b/qt/qconfig-qpe.h
@@ -0,0 +1,99 @@
+/**********************************************************************
+** Copyright (C) 2000 Trolltech AS. All rights reserved.
+**
+** This file is part of Qtopia Environment.
+**
+** This file may be distributed and/or modified under the terms of the
+** GNU General Public License version 2 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file.
+**
+** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+**
+** See http://www.trolltech.com/gpl/ for GPL licensing information.
+**
+** Contact info@trolltech.com if any conditions of this licensing are
+** not clear to you.
+**
+**********************************************************************/
+#ifndef QT_H
+#endif // QT_H
+
+// Empty leaves all features enabled. See doc/html/features.html for choices.
+
+// Note that disabling some features will produce a libqt that is not
+// compatible with other libqt builds. Such modifications are only
+// supported on Qt/Embedded where reducing the library size is important
+// and where the application-suite is often a fixed set.
+
+#ifndef QT_DLL
+#define QT_DLL // Internal
+#endif
+
+#if defined(QT_QWS_IPAQ) || defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_EBX)
+# define QT_NO_QWS_CURSOR
+# define QT_NO_QWS_MOUSE_AUTO
+#endif
+#ifndef QT_NO_CODECS
+#define QT_NO_CODECS
+#endif
+#define QT_NO_UNICODETABLES
+//#define QT_NO_IMAGEIO_BMP
+#define QT_NO_IMAGEIO_PPM
+//#define QT_NO_ASYNC_IO
+//#define QT_NO_ASYNC_IMAGE_IO
+#define QT_NO_FREETYPE
+#define QT_NO_BDF
+//#define QT_NO_FONTDATABASE
+#define QT_NO_DRAGANDDROP
+//#define QT_NO_CLIPBOARD
+#define QT_NO_PROPERTIES
+#define QT_NO_NETWORKPROTOCOL
+
+#define QT_NO_IMAGE_TEXT
+
+//#define QT_NO_TOOLTIP
+#define QT_NO_COLORNAMES
+#define QT_NO_TRANSFORMATIONS
+#define QT_NO_TRANSLATION_BUILDER
+#define QT_NO_COMPLEXTEXT
+#define QT_NO_PRINTER
+#define QT_NO_PICTURE
+//#define QT_NO_ICONVIEW
+#define QT_NO_DIAL
+#define QT_NO_SIZEGRIP
+#define QT_NO_WORKSPACE
+//#define QT_NO_TABLE
+//#define QT_NO_ACTION
+//#define QT_NO_SETTINGS
+#define QT_NO_STYLE_POCKETPC
+#ifndef QT_NO_STYLE_AQUA
+# define QT_NO_STYLE_AQUA
+#endif
+#define QT_NO_STYLE_MOTIF
+#define QT_NO_STYLE_PLATINUM
+#define QT_NO_FILEDIALOG
+#define QT_NO_FONTDIALOG
+#define QT_NO_PRINTDIALOG
+#define QT_NO_COLORDIALOG
+#define QT_NO_INPUTDIALOG
+//#define QT_NO_MESSAGEBOX
+#define QT_NO_PROGRESSDIALOG
+//#define QT_NO_TABDIALOG
+#define QT_NO_WIZARD
+#define QT_NO_EFFECTS
+//#define QT_NO_COMPONENT
+#define QT_NO_DOM
+#define QT_NO_SEMIMODAL
+//#define QT_NO_PROGRESSBAR
+#define QT_NO_SPLITTER
+
+#define QT_NO_QWS_SAVEFONTS
+//#define QT_NO_QWS_PROPERTIES
+
+#define QT_NO_QWS_BEOS_WM_STYLE
+#define QT_NO_QWS_KDE2_WM_STYLE
+#define QT_NO_QWS_KDE_WM_STYLE
+#define QT_NO_QWS_WINDOWS_WM_STYLE
+
diff --git a/qt/qt-embedded-rotation.control b/qt/qt-embedded-rotation.control
new file mode 100644
index 0000000..947e1b1
--- a/dev/null
+++ b/qt/qt-embedded-rotation.control
@@ -0,0 +1,10 @@
+Files: $QTDIR/lib/fonts/helvetica_*_{50,50i,75,75i}.* $QTDIR/lib/fonts/helvetica_*_t*5* $QTDIR/lib/fonts/fixed_*_50.* $QTDIR/lib/fonts/fixed_*_t*5* $QTDIR/lib/fonts/micro_*{50,50_t15,50_t5}.* $QTDIR/lib/fonts/smallsmooth_*{50,50_t15,50_t5}.* $QTDIR/lib/fonts/smoothtimes_{170,100}_{50,50_t15,50_t5}.*
+Priority: optional
+Section: qpe/system
+Maintainer: Warwick Allison <warwick@trolltech.com>
+Architecture: arm
+Arch: iPAQ
+Version: 2.3.2-3
+Description: Qt/Embedded 0,90,180 rotation fonts
+ The iPAQ's "normal" orientation is 270-degree rotated.
+ These fonts are the fonts for other angles.
diff --git a/qt/qt-embedded.control b/qt/qt-embedded.control
new file mode 100644
index 0000000..1c89dd3
--- a/dev/null
+++ b/qt/qt-embedded.control
@@ -0,0 +1,9 @@
+Files: $QTDIR/lib/libqte.so.$QTE_VERSION $QTDIR/lib/libqte.so.2.3 $QTDIR/lib/libqte.so.2 $QTDIR/lib/fonts/fontdir $QTDIR/lib/fonts/helvetica_*t10* $QTDIR/lib/fonts/fixed_*t10* $QTDIR/lib/fonts/micro_*t10* $QTDIR/lib/fonts/smallsmooth_*t10* $QTDIR/lib/fonts/smoothtimes_{170,100}_50*t10*
+Priority: required
+Section: qpe/system
+Maintainer: Warwick Allison <warwick@trolltech.com>
+Architecture: arm
+Version: $QTE_VERSION-16
+Description: Qt/Embedded environment
+ A complete windowing system and GUI toolkit for handhelds.
+ See "QPE" for applications.
diff --git a/qt/qte231-for-qpe131.patch.gz b/qt/qte231-for-qpe131.patch.gz
new file mode 100644
index 0000000..52fd5f0
--- a/dev/null
+++ b/qt/qte231-for-qpe131.patch.gz
Binary files differ
diff --git a/qt/qte231-for-qpe140.patch.gz b/qt/qte231-for-qpe140.patch.gz
new file mode 100644
index 0000000..fe73648
--- a/dev/null
+++ b/qt/qte231-for-qpe140.patch.gz
Binary files differ
diff --git a/qt/tmake/propagate.t b/qt/tmake/propagate.t
new file mode 100644
index 0000000..1efadaa
--- a/dev/null
+++ b/qt/tmake/propagate.t
@@ -0,0 +1,368 @@
+#############################################################################
+#!
+#! This is a tmake template for building UNIX libraries.
+#!
+#! Actually, it will be trivial to make app vs. lib a config option.
+#!
+#${
+ Project('CONFIG *= propagate');
+ $project{"TMAKE_CXXFLAGS"} = "";
+ $project{"TMAKE_CFLAGS"} = "";
+ $project{"TMAKE_LFLAGS"} = "";
+ $project{"TMAKE_LIBS"} = "";
+
+ Project('TMAKE_LIBS += $$LIBS'); # Misc. project-specific extras
+
+ if ( !Project("INTERFACE_DECL_PATH") ) {
+ Project('INTERFACE_DECL_PATH = .' );
+ }
+ if ( Config("qgl") ) {
+ #! qgl apps need X11 includes and libraries
+ Project('CONFIG *= x11lib');
+ Project('CONFIG *= x11inc');
+ }
+
+ if ( Config("x11") ) {
+ Project('CONFIG *= x11lib');
+ Project('CONFIG *= x11inc');
+ }
+ if ( Config("opengl") ) {
+ Project('TMAKE_CXXFLAGS *= $(SYSCONF_CXXFLAGS_OPENGL)');
+ Project('TMAKE_LFLAGS *= $(SYSCONF_LFLAGS_OPENGL)');
+ Project('TMAKE_LIBS *= $(SYSCONF_LIBS_OPENGL)');
+ }
+ if ( Config("qt") ) {
+ $moc_aware = 1;
+ Project('TMAKE_CXXFLAGS *= $(SYSCONF_CXXFLAGS_QT)');
+ if ( Project("TARGET") ne "qt"
+ && Project("TARGET") ne "qte" ) {
+ Project('TMAKE_LFLAGS *= $(SYSCONF_LFLAGS_QT)');
+ Project('TMAKE_LFLAGS *= $(SYSCONF_RPATH_QT)');
+ Project('TMAKE_LIBS *= $(SYSCONF_LIBS_QT)');
+ }
+ } elsif ( Config("qtinc") ) {
+ Project('TMAKE_CXXFLAGS *= $(SYSCONF_CXXFLAGS_QT)');
+ }
+ if ( Config("x11inc") ) {
+ Project('TMAKE_CXXFLAGS *= $(SYSCONF_CXXFLAGS_X11)');
+ }
+ if ( Config("x11lib") ) {
+ Project('TMAKE_LFLAGS *= $(SYSCONF_LFLAGS_X11)');
+ Project('TMAKE_LFLAGS *= $(SYSCONF_RPATH_X11)');
+ Project('TMAKE_LIBS *= $(SYSCONF_LIBS_X11)');
+ }
+
+ ##### These may still need replacing
+ if ( !Project("TMAKE_RUN_CC") ) {
+ Project('TMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $src');
+ }
+ if ( !Project("TMAKE_RUN_CC_IMP") ) {
+ Project('TMAKE_RUN_CC_IMP = $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<');
+ }
+ if ( !Project("TMAKE_RUN_CXX") ) {
+ Project('TMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src');
+ }
+ if ( !Project("TMAKE_RUN_CXX_IMP") ) {
+ Project('TMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<');
+ }
+
+ Project('TMAKE_FILETAGS = HEADERS SOURCES TARGET DESTDIR $$FILETAGS');
+ Project('DESTDIR = ./') unless Project('DESTDIR');
+
+ if ( Config("embedded") && Project("PRECOMPH") ) {
+ Project('SOURCES += allmoc.cpp');
+ $project{'HEADERS_ORIG'} = Project('HEADERS');
+ $project{'HEADERS'} = "";
+ }
+
+ StdInit();
+
+ if ( Config("qt") ) {
+ if ( Project("TARGET") eq "qt"
+ || Project("TARGET") eq "qte" ) {
+ $project{"PNG_OBJECTS"} = &Objects($project{"PNG_SOURCES"});
+ $project{"ZLIB_OBJECTS"} = &Objects($project{"ZLIB_SOURCES"});
+ $project{"FT_OBJECTS"} = &Objects($project{"FT_SOURCES"});
+ }
+ }
+
+ my ($module,$label);
+ for $module ( split / /, $project{"MODULES"} ) {
+ for $label ( "HEADERS", "OBJECTS", "OBJMOC", "SOURCES", "SRCMOC" ) {
+ my $o = "";
+ my $p = $project{$label};
+ while ( $p =~ s/\s*\b($module\/\S*)// ) {
+ $o .= " " if $o;
+ $o .= "$1";
+ }
+ $p =~ s/^ *//;
+ $p =~ s/ *$//;
+ $project{$label} = $p;
+ $project{"${label}_${module}"} = $o;
+ }
+ }
+
+ $project{"DESTDIR"} = FixPath($project{"DESTDIR"});
+ $project{"VERSION"} || ($project{"VERSION"} = "1.0.0");
+ ($project{"VER_MAJ"},
+ $project{"VER_MIN"},
+ $project{"VER_PATCH"}) = $project{"VERSION"} =~ /(\d+)\.(\d+)(?:\.(\d+))?/;
+ $project{"VER_PATCH"} = 0 if !$project{"VER_PATCH"};
+ if ( Config("dll") ) {
+ Project('TMAKE_CXXFLAGS *= $(SYSCONF_CXXFLAGS_SHOBJ)' );
+ Project('TMAKE_CFLAGS *= $(SYSCONF_CFLAGS_SHOBJ)' );
+ Project('TMAKE_LFLAGS *= $(SYSCONF_LFLAGS_SHOBJ)');
+ }
+ if ( Config("yacc") ) {
+ Project('TMAKE_CXXFLAGS *= $(SYSCONF_CXXFLAGS_YACC)' );
+ Project('TMAKE_LIBS *= $(SYSCONF_LIBS_YACC)' );
+ }
+ Project('TMAKE_CXXFLAGS *= $(SYSCONF_CXXFLAGS)' );
+ Project('TMAKE_CFLAGS *= $(SYSCONF_CFLAGS)' );
+ Project('TMAKE_LFLAGS *= $(SYSCONF_LFLAGS)' );
+ if ( Project('TEMPLATE') eq "lib" || Project('TEMPLATE') eq "qt.t" ) {
+ Project('TMAKE_CXXFLAGS *= $(SYSCONF_CXXFLAGS_LIB)' );
+ Project('TMAKE_CFLAGS *= $(SYSCONF_CFLAGS_LIB)' );
+ } else {
+ Project('TMAKE_LIBS *= $(SYSCONF_LIBS)' );
+ }
+#$}
+
+####### Compiler, tools and options
+
+CXX = $(SYSCONF_CXX) $(QT_CXX_MT)
+CXXFLAGS= #$ Expand("TMAKE_CXXFLAGS"); ExpandGlue("DEFINES","-D"," -D",""); (Project("TARGET") eq "qt" || Project("TARGET") eq "qte") && ($text = $text . ' $(QT_CXXFLAGS_OPT)');
+CC = $(SYSCONF_CC) $(QT_C_MT)
+CFLAGS = #$ Expand("TMAKE_CFLAGS"); ExpandGlue("DEFINES","-D"," -D",""); (Project("TARGET") eq "qt" || Project("TARGET") eq "qte") && ($text = $text . ' $(QT_CFLAGS_OPT)');
+INCPATH = #$ ExpandGlue("INCPATH","-I"," -I","");
+LFLAGS = #$ Expand("TMAKE_LFLAGS"); $text .= ' $(QT_LFLAGS_MT)'
+LIBS = $(SUBLIBS) #${
+ Expand("TMAKE_LIBS");
+ if (Project("TARGET") eq "qt" || Project("TARGET") eq "qte") {
+ $text .= ' $(SYSCONF_LIBS_QTLIB)';
+ } else {
+ $text .= ' $(SYSCONF_LIBS_QTAPP)';
+ }
+#$}
+MOC = $(SYSCONF_MOC)
+UIC = $(SYSCONF_UIC)
+
+####### Target
+
+DESTDIR = #$ Expand("DESTDIR");
+VER_MAJ = #$ Expand("VER_MAJ");
+VER_MIN = #$ Expand("VER_MIN");
+VER_PATCH = #$ Expand("VER_PATCH");
+TARGET = #$ Expand("TARGET"); $text .= '$(QT_THREAD_SUFFIX)' if Project("TARGET") eq "qt" || Project("TARGET") eq "qte";
+TARGET1 = lib$(TARGET).so.$(VER_MAJ)
+
+####### Files
+
+HEADERS = #$ ExpandList("HEADERS");
+SOURCES = #$ ExpandList("SOURCES");
+OBJECTS = #$ ExpandList("OBJECTS"); (Project("TARGET") eq "qt" || Project("TARGET") eq "qte") && ($text = $text . ' $(QT_MODULE_OBJ)');
+INTERFACES = #$ ExpandList("INTERFACES");
+UICDECLS = #$ ExpandList("UICDECLS");
+UICIMPLS = #$ ExpandList("UICIMPLS");
+SRCMOC = #$ ExpandList("SRCMOC");
+OBJMOC = #$ ExpandList("OBJMOC");
+#$ if (Project("TARGET") ne "qt" && Project("TARGET") ne "qte") { DisableOutput(); }
+PNG_OBJECTS = #$ ExpandList("PNG_OBJECTS");
+ZLIB_OBJECTS = #$ ExpandList("ZLIB_OBJECTS");
+FT_OBJECTS = #$ ExpandList("FT_OBJECTS");
+#$ if (Project("TARGET") ne "qt" && Project("TARGET") ne "qte") { EnableOutput(); }
+
+#${
+ my $module;
+ $t = "";
+ for $module ( split / /, $project{"MODULES"} ) {
+ $t .= "\nOBJECTS_$module = ";
+ $text = "";
+ ExpandList("OBJECTS_$module");
+ $t .= $text;
+ if ( Project("OBJMOC_$module") ) {
+ $text = "";
+ ExpandList("OBJMOC_$module");
+ $t .= " \\\n\t\t$text";
+ }
+ }
+ $text = "$t\n";
+#$}
+
+####### Implicit rules
+
+.SUFFIXES: .cpp .cxx .cc .C .c
+
+.cpp.o:
+ #$ Expand("TMAKE_RUN_CXX_IMP");
+
+.cxx.o:
+ #$ Expand("TMAKE_RUN_CXX_IMP");
+
+.cc.o:
+ #$ Expand("TMAKE_RUN_CXX_IMP");
+
+.C.o:
+ #$ Expand("TMAKE_RUN_CXX_IMP");
+
+.c.o:
+ #$ Expand("TMAKE_RUN_CC_IMP");
+
+####### Build rules
+
+#${
+ if ( Project("SUBLIBS") ) {
+ $text = "SUBLIBS=";
+ for $m ( split / /, Project("SUBLIBS") ) {
+ $text .= "tmp/lib$m.a ";
+ }
+ $text .= "\n";
+ }
+#$}
+
+#${
+ if ( Project('TEMPLATE') eq "lib" || Project('TEMPLATE') eq "qt.t" ) {
+ $targ='$(SYSCONF_LINK_TARGET)';
+ } else {
+ if ( Config('dll') ) {
+ if ($is_unix) {
+ $targ = '$(TARGET)' . ".so";
+ } else {
+ $targ = '$(TARGET)' . ".dll";
+ $targ = "np" . $targ if Config('np');
+ }
+ } else {
+ $targ = '$(TARGET)';
+ }
+ }
+ $targ = '$(DESTDIR)'.$targ;
+ $text .= 'all: ';
+ ExpandGlue("ALL_DEPS",""," "," ");
+ $text .= $targ . "\n\n";
+ $text .= $targ . ': $(UICDECLS) $(OBJECTS) $(OBJMOC) $(SUBLIBS)';
+ Expand("TARGETDEPS");
+ $text .= "\n\t";
+ if ( Project('TEMPLATE') eq "lib" || Project('TEMPLATE') eq "qt.t" ) {
+ $text .= '$(SYSCONF_LINK_LIB)';
+ } else {
+ $text .= '$(SYSCONF_LINK) $(LFLAGS) ';
+ $text .= '-o '.$targ.' $(OBJECTS) $(OBJMOC) $(LIBS)';
+ }
+#$}
+
+moc: $(SRCMOC)
+
+#$ TmakeSelf();
+
+clean:
+ -rm -f $(OBJECTS) $(OBJMOC) $(SRCMOC) $(UICIMPLS) $(UICDECLS)
+ #$ ExpandGlue("TMAKE_CLEAN","-rm -f "," ","");
+ -rm -f *~ core
+ #$ ExpandGlue("CLEAN_FILES","-rm -f "," ","");
+ -rm -f allmoc.cpp
+
+####### Extension Modules
+
+listpromodules:
+ @echo #$ ExpandList("MODULES_BASE"); ExpandList("MODULES_PRO");
+
+listallmodules:
+ @echo #$ ExpandList("MODULES");
+
+listaddonpromodules:
+ @echo #$ ExpandList("MODULES_PRO");
+
+listaddonentmodules:
+ @echo #$ ExpandList("MODULES_PRO"); ExpandList("MODULES_ENT");
+
+
+REQUIRES=#$ $text .= Project("REQUIRES");
+
+####### Sub-libraries
+
+#${
+ if ( Project("SUBLIBS") ) {
+ for $m ( split / /, Project("SUBLIBS") ) {
+ $text .= "tmp/lib$m.a:\n\t";
+ if ( $m eq "freetype" ) {
+ $text .= '$(MAKE) -C 3rdparty/freetype2 \
+ CONFIG_MK=config$(DASHCROSS).mk OBJ_DIR=../../tmp \
+ ../../tmp/libfreetype.a'."\n";
+ } else {
+ if ( Config('embedded') ) {
+ if ( $m eq "z" ) {
+ $text .= '$(MAKE) -C 3rdparty/zlib -f Makefile$(DASHCROSS); \
+ cp 3rdparty/zlib/libz.a tmp'."\n";
+ }
+ if ( $m eq "png" ) {
+ $text .= '$(MAKE) -C 3rdparty/libpng \
+ -f scripts/makefile.linux$(DASHCROSS); \
+ cp 3rdparty/libpng/libpng.a tmp'."\n";
+ }
+ if ( $m eq "mng" ) {
+ $text .= '$(MAKE) -C 3rdparty/libmng \
+ -f makefiles/makefile.linux$(DASHCROSS); \
+ cp 3rdparty/libmng/libmng.a tmp'."\n";
+ }
+ if ( $m eq "jpeg" ) {
+ $text .= '$(MAKE) -C 3rdparty/jpeglib -f makefile.unix$(DASHCROSS); \
+ cp 3rdparty/jpeglib/libjpeg.a tmp'."\n";
+ }
+ } else {
+ $text .= $project{"MAKELIB$m"}."\n";
+ }
+ }
+
+ }
+ }
+#$}
+
+###### Combined headers
+
+#${
+ if ( Config("embedded") && Project("PRECOMPH") ) {
+ $t = "allmoc.cpp: ".Project("PRECOMPH")." ".$original_HEADERS;
+ ExpandList("HEADERS_ORIG");
+ $t.= $text;
+ $t.= "\n\techo '#include \"".Project("PRECOMPH")."\"' >allmoc.cpp";
+ $t.= "\n\t\$(CXX) -E -DQT_MOC_CPP \$(CXXFLAGS) \$(INCPATH) >allmoc.h allmoc.cpp";
+ $t.= "\n\t\$(MOC) -o allmoc.cpp allmoc.h";
+ $t.= "\n\tperl -pi -e 's{\"allmoc.h\"}{\"".Project("PRECOMPH")."\"}' allmoc.cpp";
+ $t.= "\n\trm allmoc.h";
+ $t.= "\n";
+ $text = $t;
+ }
+#$}
+
+
+####### Compile
+
+#$ BuildObj(Project("OBJECTS"),Project("SOURCES"));
+#$ BuildUicSrc(Project("INTERFACES"));
+#$ BuildObj(Project("UICOBJECTS"),Project("UICIMPLS"));
+#$ BuildMocObj(Project("OBJMOC"),Project("SRCMOC"));
+#$ BuildMocSrc(Project("HEADERS"));
+#$ BuildMocSrc(Project("SOURCES"));
+#$ BuildMocSrc(Project("UICDECLS"));
+#$ if (Project("TARGET") ne "qt" && Project("TARGET") ne "qte") { DisableOutput(); }
+#$ Project("PNG_SOURCES") && BuildObj(Project("PNG_OBJECTS"),Project("PNG_SOURCES"));
+#$ Project("ZLIB_SOURCES") && BuildObj(Project("ZLIB_OBJECTS"),Project("ZLIB_SOURCES"));
+#$ Project("FT_SOURCES") && BuildObj(Project("FT_OBJECTS"),Project("FT_SOURCES"));
+#$ if (Project("TARGET") ne "qt" && Project("TARGET") ne "qte") { EnableOutput(); }
+
+#${
+ my $module;
+ $t = "";
+ for $module ( split / /, $project{"MODULES"} ) {
+ $t .= "\n# Module $module...\n";
+ $text = ""; BuildMocObj(Project("OBJMOC_$module"),Project("SRCMOC_$module"));
+ $t .= $text;
+ $text = ""; BuildMocSrc(Project("HEADERS_$module"));
+ $t .= $text;
+ $text = ""; BuildMocSrc(Project("SOURCES_$module"));
+ $t .= $text;
+ $text = ""; BuildObj(Project("OBJECTS_$module"),Project("SOURCES_$module"));
+ $t .= $text;
+ $text = $t;
+ }
+#$}