summaryrefslogtreecommitdiffstats
path: root/mkspecs/symbian/linux-armcc/features
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-08-14 09:43:25 (GMT)
committeraxis <qt-info@nokia.com>2009-10-23 15:32:21 (GMT)
commit8782f3387bcd1dff3d44ae17ab0547ce08478fb1 (patch)
treefeac9921c83e3a0e9cbc888585ef0cdd4cc9252d /mkspecs/symbian/linux-armcc/features
parentb731981cc19195b54f8d5c4ebdf6a9f75b13f790 (diff)
downloadQt-8782f3387bcd1dff3d44ae17ab0547ce08478fb1.zip
Qt-8782f3387bcd1dff3d44ae17ab0547ce08478fb1.tar.gz
Qt-8782f3387bcd1dff3d44ae17ab0547ce08478fb1.tar.bz2
Created tools for generating ordinal maps on Symbian.
- winewrapper - This is a simple tool for launching a wine process by looking at files in the path, since wine itself does not look in the path. Needed for the Windows-only Symbian tools. - makeordinalmap - This one takes a list of files containing symbols to be exported, and creates a stub file library out of them. This is required by the Symbian post linker. This is a very slow linking step, and is likely to be rewritten using threads and less process spawning later on. - default_post.prf - In here we define the extra compiler rules that generate the symbol files, as well as the makeordinalmap command that uses those files.
Diffstat (limited to 'mkspecs/symbian/linux-armcc/features')
-rw-r--r--mkspecs/symbian/linux-armcc/features/default_post.prf14
1 files changed, 14 insertions, 0 deletions
diff --git a/mkspecs/symbian/linux-armcc/features/default_post.prf b/mkspecs/symbian/linux-armcc/features/default_post.prf
new file mode 100644
index 0000000..1d8f565
--- /dev/null
+++ b/mkspecs/symbian/linux-armcc/features/default_post.prf
@@ -0,0 +1,14 @@
+exports.commands = winewrapper getexports.exe ${QMAKE_FILE_NAME} > ${OBJECTS_DIR}${QMAKE_FILE_BASE}.exports
+exports.output = $$OBJECTS_DIR/${QMAKE_FILE_BASE}.exports
+exports.input = OBJECTS
+exports.variable_out = ORDINALMAP
+exports.CONFIG = no_link
+
+ordinalmap.input = ORDINALMAP
+ordinalmap.output = $$OBJECTS_DIR/$${TARGET}.lib
+ordinalmap.commands = makeordinalmap $$OBJECTS_DIR $$OBJECTS_DIR/$${TARGET}.lib $${TARGET}.dll ${QMAKE_FILE_NAME}
+ordinalmap.variable_out = PRE_TARGETDEPS
+ordinalmap.CONFIG = combine
+
+QMAKE_EXTRA_COMPILERS += ordinalmap
+QMAKE_EXTRA_COMPILERS += exports