summaryrefslogtreecommitdiff
path: root/mkspecs
authorkergoth <kergoth>2002-11-01 00:24:02 (UTC)
committer kergoth <kergoth>2002-11-01 00:24:02 (UTC)
commit4c5b7d437a5bf71c17941202395c7e56cdcc900b (patch) (unidiff)
tree86e50799cc73d68c54e8f7a73d4ee4790c119584 /mkspecs
parent5042e3cf0d3514552769e441f5aad590c8eaf967 (diff)
downloadopie-4c5b7d437a5bf71c17941202395c7e56cdcc900b.zip
opie-4c5b7d437a5bf71c17941202395c7e56cdcc900b.tar.gz
opie-4c5b7d437a5bf71c17941202395c7e56cdcc900b.tar.bz2
Adding spec files for qmake :)
Diffstat (limited to 'mkspecs') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/aix-g++/qmake.conf78
-rw-r--r--mkspecs/aix-g++/qplatformdefs.h109
-rw-r--r--mkspecs/aix-xlc-64/qmake.conf85
-rw-r--r--mkspecs/aix-xlc-64/qplatformdefs.h96
-rw-r--r--mkspecs/aix-xlc/qmake.conf85
-rw-r--r--mkspecs/aix-xlc/qplatformdefs.h105
-rw-r--r--mkspecs/bsdi-g++/qmake.conf82
-rw-r--r--mkspecs/bsdi-g++/qplatformdefs.h84
-rw-r--r--mkspecs/cygwin-g++/qmake.conf80
-rw-r--r--mkspecs/cygwin-g++/qplatformdefs.h103
-rw-r--r--mkspecs/darwin-g++/qmake.conf80
-rw-r--r--mkspecs/darwin-g++/qplatformdefs.h83
-rw-r--r--mkspecs/dgux-g++/qmake.conf75
-rw-r--r--mkspecs/dgux-g++/qplatformdefs.h88
-rw-r--r--mkspecs/freebsd-g++/qmake.conf80
-rw-r--r--mkspecs/freebsd-g++/qplatformdefs.h103
-rw-r--r--mkspecs/hpux-acc-64/qmake.conf121
-rw-r--r--mkspecs/hpux-acc-64/qplatformdefs.h80
-rw-r--r--mkspecs/hpux-acc-o64/qmake.conf121
-rw-r--r--mkspecs/hpux-acc-o64/qplatformdefs.h80
-rw-r--r--mkspecs/hpux-acc/qmake.conf100
-rw-r--r--mkspecs/hpux-acc/qplatformdefs.h86
-rw-r--r--mkspecs/hpux-cc/qmake.conf97
-rw-r--r--mkspecs/hpux-cc/qplatformdefs.h85
-rw-r--r--mkspecs/hpux-g++/qmake.conf83
-rw-r--r--mkspecs/hpux-g++/qplatformdefs.h87
-rw-r--r--mkspecs/hurd-g++/qmake.conf77
-rw-r--r--mkspecs/hurd-g++/qplatformdefs.h103
-rw-r--r--mkspecs/irix-cc-64/qmake.conf113
-rw-r--r--mkspecs/irix-cc-64/qplatformdefs.h88
-rw-r--r--mkspecs/irix-cc-o32/qmake.conf87
-rw-r--r--mkspecs/irix-cc-o32/qplatformdefs.h88
-rw-r--r--mkspecs/irix-cc/qmake.conf113
-rw-r--r--mkspecs/irix-cc/qplatformdefs.h88
-rw-r--r--mkspecs/irix-g++/qmake.conf84
-rw-r--r--mkspecs/irix-g++/qplatformdefs.h93
-rw-r--r--mkspecs/linux-cxx/qmake.conf75
-rw-r--r--mkspecs/linux-cxx/qplatformdefs.h106
-rw-r--r--mkspecs/linux-g++/qmake.conf82
-rw-r--r--mkspecs/linux-g++/qplatformdefs.h106
-rw-r--r--mkspecs/linux-icc/qmake.conf82
-rw-r--r--mkspecs/linux-icc/qplatformdefs.h106
-rw-r--r--mkspecs/linux-kcc/qmake.conf89
-rw-r--r--mkspecs/linux-kcc/qplatformdefs.h109
-rw-r--r--mkspecs/linux-pgcc/qmake.conf80
-rw-r--r--mkspecs/linux-pgcc/qplatformdefs.h106
-rw-r--r--mkspecs/mac9-mwerks/mwerksapp.xml842
-rw-r--r--mkspecs/mac9-mwerks/mwerkslib.xml842
-rw-r--r--mkspecs/mac9-mwerks/qmake.conf15
-rw-r--r--mkspecs/mac9-mwerks/qplatformdefs.h62
-rw-r--r--mkspecs/macx-g++/Info.plist.app16
-rw-r--r--mkspecs/macx-g++/qmake.conf80
-rw-r--r--mkspecs/macx-g++/qplatformdefs.h84
-rw-r--r--mkspecs/macx-mwerks/mwerkstmpl.xml826
-rw-r--r--mkspecs/macx-mwerks/qmake.conf24
-rw-r--r--mkspecs/macx-mwerks/qplatformdefs.h79
-rwxr-xr-xmkspecs/macx-pbuilder/Info.plist.app16
-rwxr-xr-xmkspecs/macx-pbuilder/qmake.conf79
-rw-r--r--mkspecs/macx-pbuilder/qplatformdefs.h84
-rw-r--r--mkspecs/netbsd-g++/qmake.conf80
-rw-r--r--mkspecs/netbsd-g++/qplatformdefs.h91
-rw-r--r--mkspecs/openbsd-g++/qmake.conf81
-rw-r--r--mkspecs/openbsd-g++/qplatformdefs.h91
-rw-r--r--mkspecs/qnx-g++/qmake.conf81
-rw-r--r--mkspecs/qnx-g++/qplatformdefs.h86
-rw-r--r--mkspecs/qws/freebsd-generic-g++/qmake.conf71
-rw-r--r--mkspecs/qws/linux-arm-g++/qmake.conf76
-rw-r--r--mkspecs/qws/linux-generic-g++/qmake.conf76
-rw-r--r--mkspecs/qws/linux-ipaq-g++/qmake.conf76
-rw-r--r--mkspecs/qws/linux-mips-g++/qmake.conf76
-rw-r--r--mkspecs/qws/linux-sharp-g++/qmake.conf76
-rw-r--r--mkspecs/qws/linux-sharp-g++/qplatformdefs.h103
-rw-r--r--mkspecs/qws/linux-x86-g++/qmake.conf76
-rw-r--r--mkspecs/qws/macx-generic-g++/qmake.conf80
-rw-r--r--mkspecs/qws/macx-generic-g++/qplatformdefs.h92
-rw-r--r--mkspecs/qws/qnx4-cc/qmake.conf70
-rw-r--r--mkspecs/qws/qnx4-cc/qplatformdefs.h78
-rw-r--r--mkspecs/qws/qnx6-generic-cc/qmake.conf77
-rw-r--r--mkspecs/qws/qnx6-generic-cc/qplatformdefs.h82
-rw-r--r--mkspecs/qws/qnx6-generic-g++/qmake.conf77
-rw-r--r--mkspecs/qws/qnx6-generic-g++/qplatformdefs.h82
-rw-r--r--mkspecs/qws/solaris-generic-g++/qmake.conf76
-rw-r--r--mkspecs/qws/solaris-generic-g++/qplatformdefs.h110
-rw-r--r--mkspecs/reliant-cds-64/qmake.conf81
-rw-r--r--mkspecs/reliant-cds-64/qplatformdefs.h86
-rw-r--r--mkspecs/reliant-cds/qmake.conf81
-rw-r--r--mkspecs/reliant-cds/qplatformdefs.h90
-rw-r--r--mkspecs/sco-cc/qmake.conf81
-rw-r--r--mkspecs/sco-cc/qplatformdefs.h89
-rw-r--r--mkspecs/sco-g++/qmake.conf76
-rw-r--r--mkspecs/sco-g++/qplatformdefs.h91
-rw-r--r--mkspecs/solaris-cc-64/qmake.conf100
-rw-r--r--mkspecs/solaris-cc-64/qplatformdefs.h87
-rw-r--r--mkspecs/solaris-cc/qmake.conf83
-rw-r--r--mkspecs/solaris-cc/qplatformdefs.h110
-rw-r--r--mkspecs/solaris-g++-64/qmake.conf103
-rw-r--r--mkspecs/solaris-g++-64/qplatformdefs.h84
-rw-r--r--mkspecs/solaris-g++/qmake.conf86
-rw-r--r--mkspecs/solaris-g++/qplatformdefs.h110
-rw-r--r--mkspecs/solaris-kcc/qmake.conf94
-rw-r--r--mkspecs/solaris-kcc/qplatformdefs.h113
-rw-r--r--mkspecs/tru64-cxx/qmake.conf79
-rw-r--r--mkspecs/tru64-cxx/qplatformdefs.h95
-rw-r--r--mkspecs/tru64-g++/qmake.conf79
-rw-r--r--mkspecs/tru64-g++/qplatformdefs.h95
-rw-r--r--mkspecs/ultrix-g++/qmake.conf72
-rw-r--r--mkspecs/unixware-cc/qmake.conf81
-rw-r--r--mkspecs/unixware-cc/qplatformdefs.h85
-rw-r--r--mkspecs/unixware-g++/qmake.conf80
-rw-r--r--mkspecs/unixware-g++/qplatformdefs.h85
-rw-r--r--mkspecs/win32-borland/qmake.conf97
-rw-r--r--mkspecs/win32-borland/qplatformdefs.h140
-rw-r--r--mkspecs/win32-g++/qmake.conf70
-rw-r--r--mkspecs/win32-icc/qmake.conf99
-rw-r--r--mkspecs/win32-icc/qplatformdefs.h85
-rw-r--r--mkspecs/win32-icc/win32app.dsp111
-rw-r--r--mkspecs/win32-icc/win32dll.dsp113
-rw-r--r--mkspecs/win32-icc/win32lib.dsp105
-rw-r--r--mkspecs/win32-msvc.net/qmake.conf104
-rw-r--r--mkspecs/win32-msvc.net/qplatformdefs.h87
-rw-r--r--mkspecs/win32-msvc/qmake.conf99
-rw-r--r--mkspecs/win32-msvc/qplatformdefs.h87
-rw-r--r--mkspecs/win32-msvc/win32app.dsp111
-rw-r--r--mkspecs/win32-msvc/win32dll.dsp113
-rw-r--r--mkspecs/win32-msvc/win32lib.dsp105
-rw-r--r--mkspecs/win32-visage/qmake.conf67
-rw-r--r--mkspecs/win32-watcom/qmake.conf65
127 files changed, 13298 insertions, 0 deletions
diff --git a/mkspecs/aix-g++/qmake.conf b/mkspecs/aix-g++/qmake.conf
new file mode 100644
index 0000000..cbd4424
--- a/dev/null
+++ b/mkspecs/aix-g++/qmake.conf
@@ -0,0 +1,78 @@
1#
2# $Id$
3#
4# qmake configuration for aix-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS =
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB=
23 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
24 QMAKE_CFLAGS_THREAD= -D_THREAD_SAFE
25
26 QMAKE_CXX = g++
27 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
28 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11= /usr/X11R6/include
40 QMAKE_LIBDIR_X11= /usr/X11R6/lib
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
44 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
45
46 QMAKE_LINK = g++
47 QMAKE_LINK_SHLIB= g++
48 QMAKE_LFLAGS =
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHLIB= -shared
52 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
53 QMAKE_LFLAGS_SONAME=
54 QMAKE_LFLAGS_THREAD= -L/usr/lib/threads
55
56 QMAKE_LIBS =
57 QMAKE_LIBS_DYNLOAD= -ldl
58 QMAKE_LIBS_X11 = -lXext -lX11 -lm -lbind
59 QMAKE_LIBS_X11SM= -lSM -lICE
60 QMAKE_LIBS_QT = -lqt
61 QMAKE_LIBS_QT_THREAD= -lqt-mt
62 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
63 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
64 QMAKE_LIBS_THREAD= -lpthreads
65
66 QMAKE_MOC = $(QTDIR)/bin/moc
67 QMAKE_UIC = $(QTDIR)/bin/uic
68
69 QMAKE_AR = ar cqs
70 QMAKE_RANLIB =
71
72 QMAKE_TAR = tar -cf
73 QMAKE_GZIP = gzip -9f
74
75 QMAKE_COPY = cp -f
76 QMAKE_MOVE = mv -f
77 QMAKE_DEL_FILE = rm -f
78 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/aix-g++/qplatformdefs.h b/mkspecs/aix-g++/qplatformdefs.h
new file mode 100644
index 0000000..9202898
--- a/dev/null
+++ b/mkspecs/aix-g++/qplatformdefs.h
@@ -0,0 +1,109 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17// uncomment if you have problems with <sys/proc.h> because your gcc
18// hasn't been built on exactly the same OS version your are using now.
19// typedef int crid_t;
20// typedef unsigned int class_id_t;
21#include <pthread.h>
22#endif
23
24#include <dirent.h>
25#include <fcntl.h>
26#include <grp.h>
27#include <pwd.h>
28#include <signal.h>
29#include <dlfcn.h>
30#include <strings.h> // AIX X11 headers define FD_ZERO using bzero()
31
32#include <sys/types.h>
33#include <sys/ioctl.h>
34#include <sys/ipc.h>
35#include <sys/time.h>
36#include <sys/select.h>
37#include <sys/shm.h>
38#include <sys/socket.h>
39#include <sys/stat.h>
40#include <sys/wait.h>
41
42// DNS header files are not fully covered by X/Open specifications.
43// In particular nothing is said about res_* :/
44// On AIX header files <netinet/in.h> and <arpa/nameser.h> are not
45// included by <resolv.h>. Note that <arpa/nameser.h> must be included
46// before <resolv.h>.
47#include <netinet/in.h>
48#define class nsrr_class // AIX 4.3.1.0
49#include <arpa/nameser.h>
50#undef class
51#include <resolv.h>
52
53
54#if !defined(QT_NO_COMPAT)
55 #define QT_STATBUF struct stat
56 #define QT_STATBUF4TSTATstruct stat
57 #define QT_STAT ::stat
58 #define QT_FSTAT ::fstat
59 #define QT_STAT_REG S_IFREG
60 #define QT_STAT_DIR S_IFDIR
61 #define QT_STAT_MASK S_IFMT
62 #define QT_STAT_LNK S_IFLNK
63 #define QT_FILENO fileno
64 #define QT_OPEN ::open
65 #define QT_CLOSE ::close
66 #define QT_LSEEK ::lseek
67 #define QT_READ ::read
68 #define QT_WRITE ::write
69 #define QT_ACCESS ::access
70 #define QT_GETCWD ::getcwd
71 #define QT_CHDIR ::chdir
72 #define QT_MKDIR ::mkdir
73 #define QT_RMDIR ::rmdir
74 #define QT_OPEN_RDONLY O_RDONLY
75 #define QT_OPEN_WRONLY O_WRONLY
76 #define QT_OPEN_RDWR O_RDWR
77 #define QT_OPEN_CREAT O_CREAT
78 #define QT_OPEN_TRUNC O_TRUNC
79 #define QT_OPEN_APPEND O_APPEND
80#endif
81
82 #define QT_SIGNAL_RETTYPEvoid
83 #define QT_SIGNAL_ARGS int
84 #define QT_SIGNAL_IGNORESIG_IGN
85
86#ifdef _AIX43
87// AIX 4.3
88// The AIX 4.3 online documentation says 'size_t' but a user asked IBM
89// and they told him the documentation is wrong. And anyway 'socklen_t'
90// reportedly works for all AIX 4.3 users.
91 #define QT_SOCKLEN_T socklen_t
92#elif _AIX42
93// AIX 4.2
94 #define QT_SOCKLEN_T size_t
95#else
96// AIX 4.1
97 #define QT_SOCKLEN_T size_t
98// override
99 #define QT_SOCKOPTLEN_T int
100#endif
101
102#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
103// AIX 4.3 and better only
104 #define QT_SNPRINTF ::snprintf
105 #define QT_VSNPRINTF ::vsnprintf
106#endif
107
108
109#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/aix-xlc-64/qmake.conf b/mkspecs/aix-xlc-64/qmake.conf
new file mode 100644
index 0000000..78be355
--- a/dev/null
+++ b/mkspecs/aix-xlc-64/qmake.conf
@@ -0,0 +1,85 @@
1#
2# $Id$
3#
4# qmake configuration for aix-xlc
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = xlc
12 QMAKE_CC_THREAD = xlc_r
13 QMAKE_LEX = flex
14 QMAKE_LEXFLAGS =
15 QMAKE_YACC = yacc
16 QMAKE_YACCFLAGS = -d
17 QMAKE_CFLAGS = -qstrict -q64
18 QMAKE_CFLAGS_WARN_ON= -qwarn64
19 QMAKE_CFLAGS_WARN_OFF=
20 QMAKE_CFLAGS_RELEASE= -O3
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB=
23 QMAKE_CFLAGS_YACC=
24 QMAKE_CFLAGS_THREAD= -qthreaded -D_THREAD_SAFE
25
26 QMAKE_CXX = xlC
27 QMAKE_CXX_THREAD= xlC_r
28 QMAKE_CXXFLAGS = -+ $$QMAKE_CFLAGS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11=
40 QMAKE_LIBDIR_X11=
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL=
44 QMAKE_LIBDIR_OPENGL=
45
46 QMAKE_LINK = xlC
47 QMAKE_LINK_THREAD= xlC_r
48 QMAKE_LINK_SHLIB= ld
49 QMAKE_LINK_SHLIB_CMD= makeC++SharedLib -p 0 -X64 \
50 -o $(TARGETD) \
51 $(LFLAGS) $(OBJECTS) $(OBJMOC) $(LIBS); \
52 $(AR) lib$(QMAKE_TARGET).a $(TARGETD); \
53 $(RANLIB) lib$(QMAKE_TARGET).a; \
54 mv lib$(QMAKE_TARGET).a $(DESTDIR)
55 QMAKE_LFLAGS = -q64
56 QMAKE_LFLAGS_RELEASE=
57 QMAKE_LFLAGS_DEBUG=
58 QMAKE_LFLAGS_SHLIB=
59 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
60 QMAKE_LFLAGS_SONAME=
61 QMAKE_LFLAGS_THREAD= -L/usr/lib/threads
62
63 QMAKE_LIBS =
64 QMAKE_LIBS_DYNLOAD= -ldl
65 QMAKE_LIBS_X11 = -lXext -lX11 -lm -lbind
66 QMAKE_LIBS_X11SM= -lSM -lICE
67 QMAKE_LIBS_QT = -lqt
68 QMAKE_LIBS_QT_THREAD= -lqt-mt
69 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
70 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
71 QMAKE_LIBS_THREAD= -lpthreads
72
73 QMAKE_MOC = $(QTDIR)/bin/moc
74 QMAKE_UIC = $(QTDIR)/bin/uic
75
76 QMAKE_AR = ar -X64 cq
77 QMAKE_RANLIB = ranlib -X64
78
79 QMAKE_TAR = tar -cf
80 QMAKE_GZIP = gzip -9f
81
82 QMAKE_COPY = cp -f
83 QMAKE_MOVE = mv -f
84 QMAKE_DEL_FILE = rm -f
85 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/aix-xlc-64/qplatformdefs.h b/mkspecs/aix-xlc-64/qplatformdefs.h
new file mode 100644
index 0000000..b5582c5
--- a/dev/null
+++ b/mkspecs/aix-xlc-64/qplatformdefs.h
@@ -0,0 +1,96 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26#include <strings.h> // AIX X11 headers define FD_ZERO using bzero()
27
28#include <sys/types.h>
29#include <sys/ioctl.h>
30#include <sys/ipc.h>
31#include <sys/time.h>
32#include <sys/select.h>
33#include <sys/shm.h>
34#include <sys/socket.h>
35#include <sys/stat.h>
36#include <sys/wait.h>
37
38// DNS header files are not fully covered by X/Open specifications.
39// In particular nothing is said about res_* :/
40// On AIX header files <netinet/in.h> and <arpa/nameser.h> are not
41// included by <resolv.h>. Note that <arpa/nameser.h> must be included
42// before <resolv.h>.
43#include <netinet/in.h>
44#define class nsrr_class // AIX 4.3.1.0
45#include <arpa/nameser.h>
46#undef class
47#include <resolv.h>
48
49
50#if !defined(QT_NO_COMPAT)
51 #define QT_STATBUF struct stat
52 #define QT_STATBUF4TSTATstruct stat
53 #define QT_STAT ::stat
54 #define QT_FSTAT ::fstat
55 #define QT_STAT_REG S_IFREG
56 #define QT_STAT_DIR S_IFDIR
57 #define QT_STAT_MASK S_IFMT
58 #define QT_STAT_LNK S_IFLNK
59 #define QT_FILENO fileno
60 #define QT_OPEN ::open
61 #define QT_CLOSE ::close
62 #define QT_LSEEK ::lseek
63 #define QT_READ ::read
64 #define QT_WRITE ::write
65 #define QT_ACCESS ::access
66 #define QT_GETCWD ::getcwd
67 #define QT_CHDIR ::chdir
68 #define QT_MKDIR ::mkdir
69 #define QT_RMDIR ::rmdir
70 #define QT_OPEN_RDONLY O_RDONLY
71 #define QT_OPEN_WRONLY O_WRONLY
72 #define QT_OPEN_RDWR O_RDWR
73 #define QT_OPEN_CREAT O_CREAT
74 #define QT_OPEN_TRUNC O_TRUNC
75 #define QT_OPEN_APPEND O_APPEND
76#endif
77
78 #define QT_SIGNAL_RETTYPEvoid
79 #define QT_SIGNAL_ARGS int
80 #define QT_SIGNAL_IGNORESIG_IGN
81
82// Only AIX 4.3 and better supports 64-bit.
83// The AIX 4.3 online documentation says 'size_t' but a user asked IBM
84// and they told him the documentation is wrong. Indeed 'size_t' is
85// obviously wrong for 64-bit programming. And anyway 'socklen_t'
86// reportedly works for all AIX 4.3 users.
87 #define QT_SOCKLEN_T socklen_t
88
89#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
90// Only AIX 4.3 and better supports 64-bit.
91 #define QT_SNPRINTF ::snprintf
92 #define QT_VSNPRINTF ::vsnprintf
93#endif
94
95
96#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/aix-xlc/qmake.conf b/mkspecs/aix-xlc/qmake.conf
new file mode 100644
index 0000000..364d909
--- a/dev/null
+++ b/mkspecs/aix-xlc/qmake.conf
@@ -0,0 +1,85 @@
1#
2# $Id$
3#
4# qmake configuration for aix-xlc
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = xlc
12 QMAKE_CC_THREAD = xlc_r
13 QMAKE_LEX = flex
14 QMAKE_LEXFLAGS =
15 QMAKE_YACC = yacc
16 QMAKE_YACCFLAGS = -d
17 QMAKE_CFLAGS = -qstrict
18 QMAKE_CFLAGS_WARN_ON=
19 QMAKE_CFLAGS_WARN_OFF=
20 QMAKE_CFLAGS_RELEASE= -O3
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB=
23 QMAKE_CFLAGS_YACC=
24 QMAKE_CFLAGS_THREAD= -qthreaded -D_THREAD_SAFE
25
26 QMAKE_CXX = xlC
27 QMAKE_CXX_THREAD= xlC_r
28 QMAKE_CXXFLAGS = -+ $$QMAKE_CFLAGS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11=
40 QMAKE_LIBDIR_X11=
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL=
44 QMAKE_LIBDIR_OPENGL=
45
46 QMAKE_LINK = xlC
47 QMAKE_LINK_THREAD= xlC_r
48 QMAKE_LINK_SHLIB= ld
49 QMAKE_LINK_SHLIB_CMD= makeC++SharedLib -p 0 \
50 -o $(TARGETD) \
51 $(LFLAGS) $(OBJECTS) $(OBJMOC) $(LIBS); \
52 ar q lib$(QMAKE_TARGET).a $(TARGETD); \
53 ranlib lib$(QMAKE_TARGET).a; \
54 mv lib$(QMAKE_TARGET).a $(DESTDIR)
55 QMAKE_LFLAGS =
56 QMAKE_LFLAGS_RELEASE=
57 QMAKE_LFLAGS_DEBUG=
58 QMAKE_LFLAGS_SHLIB=
59 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
60 QMAKE_LFLAGS_SONAME=
61 QMAKE_LFLAGS_THREAD= -L/usr/lib/threads
62
63 QMAKE_LIBS =
64 QMAKE_LIBS_DYNLOAD= -ldl
65 QMAKE_LIBS_X11 = -lXext -lX11 -lm -lbind
66 QMAKE_LIBS_X11SM= -lSM -lICE
67 QMAKE_LIBS_QT = -lqt
68 QMAKE_LIBS_QT_THREAD= -lqt-mt
69 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
70 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
71 QMAKE_LIBS_THREAD= -lpthreads
72
73 QMAKE_MOC = $(QTDIR)/bin/moc
74 QMAKE_UIC = $(QTDIR)/bin/uic
75
76 QMAKE_AR = ar cq
77 QMAKE_RANLIB = ranlib
78
79 QMAKE_TAR = tar -cf
80 QMAKE_GZIP = gzip -9f
81
82 QMAKE_COPY = cp -f
83 QMAKE_MOVE = mv -f
84 QMAKE_DEL_FILE = rm -f
85 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/aix-xlc/qplatformdefs.h b/mkspecs/aix-xlc/qplatformdefs.h
new file mode 100644
index 0000000..7685a7b
--- a/dev/null
+++ b/mkspecs/aix-xlc/qplatformdefs.h
@@ -0,0 +1,105 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26#include <strings.h> // AIX X11 headers define FD_ZERO using bzero()
27
28#include <sys/types.h>
29#include <sys/ioctl.h>
30#include <sys/ipc.h>
31#include <sys/time.h>
32#include <sys/select.h>
33#include <sys/shm.h>
34#include <sys/socket.h>
35#include <sys/stat.h>
36#include <sys/wait.h>
37
38// DNS header files are not fully covered by X/Open specifications.
39// In particular nothing is said about res_* :/
40// On AIX header files <netinet/in.h> and <arpa/nameser.h> are not
41// included by <resolv.h>. Note that <arpa/nameser.h> must be included
42// before <resolv.h>.
43#include <netinet/in.h>
44#define class nsrr_class // AIX 4.3.1.0
45#include <arpa/nameser.h>
46#undef class
47#include <resolv.h>
48
49
50#if !defined(QT_NO_COMPAT)
51 #define QT_STATBUF struct stat
52 #define QT_STATBUF4TSTATstruct stat
53 #define QT_STAT ::stat
54 #define QT_FSTAT ::fstat
55 #define QT_STAT_REG S_IFREG
56 #define QT_STAT_DIR S_IFDIR
57 #define QT_STAT_MASK S_IFMT
58 #define QT_STAT_LNK S_IFLNK
59 #define QT_FILENO fileno
60 #define QT_OPEN ::open
61 #define QT_CLOSE ::close
62 #define QT_LSEEK ::lseek
63 #define QT_READ ::read
64 #define QT_WRITE ::write
65 #define QT_ACCESS ::access
66 #define QT_GETCWD ::getcwd
67 #define QT_CHDIR ::chdir
68 #define QT_MKDIR ::mkdir
69 #define QT_RMDIR ::rmdir
70 #define QT_OPEN_RDONLY O_RDONLY
71 #define QT_OPEN_WRONLY O_WRONLY
72 #define QT_OPEN_RDWR O_RDWR
73 #define QT_OPEN_CREAT O_CREAT
74 #define QT_OPEN_TRUNC O_TRUNC
75 #define QT_OPEN_APPEND O_APPEND
76#endif
77
78 #define QT_SIGNAL_RETTYPEvoid
79 #define QT_SIGNAL_ARGS int
80 #define QT_SIGNAL_IGNORESIG_IGN
81
82#ifdef _AIX43
83// AIX 4.3
84// The AIX 4.3 online documentation says 'size_t' but a user asked IBM
85// and they told him the documentation is wrong. And anyway 'socklen_t'
86// reportedly works for all AIX 4.3 users.
87 #define QT_SOCKLEN_T socklen_t
88#elif _AIX42
89// AIX 4.2
90 #define QT_SOCKLEN_T size_t
91#else
92// AIX 4.1
93 #define QT_SOCKLEN_T size_t
94// override
95 #define QT_SOCKOPTLEN_T int
96#endif
97
98#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
99// AIX 4.3 and better only
100 #define QT_SNPRINTF ::snprintf
101 #define QT_VSNPRINTF ::vsnprintf
102#endif
103
104
105#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/bsdi-g++/qmake.conf b/mkspecs/bsdi-g++/qmake.conf
new file mode 100644
index 0000000..2c735af
--- a/dev/null
+++ b/mkspecs/bsdi-g++/qmake.conf
@@ -0,0 +1,82 @@
1#
2# $Id$
3#
4# qmake configuration for bsdi-g++
5#
6# Written for WindRiver BSD/OS 4.0.
7#
8
9 MAKEFILE_GENERATOR= UNIX
10 TEMPLATE = app
11 CONFIG += qt warn_on release
12
13 QMAKE_CC = gcc
14 QMAKE_LEX = flex
15 QMAKE_LEXFLAGS =
16 QMAKE_YACC = yacc
17 QMAKE_YACCFLAGS = -d
18 QMAKE_CFLAGS =
19 QMAKE_CFLAGS_DEPS= -M
20 QMAKE_CFLAGS_WARN_ON= -Wall -W
21 QMAKE_CFLAGS_WARN_OFF= -w
22 QMAKE_CFLAGS_RELEASE= -O2
23 QMAKE_CFLAGS_DEBUG= -g
24 QMAKE_CFLAGS_SHLIB= -fPIC
25 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
26 QMAKE_CFLAGS_THREAD=
27
28 QMAKE_CXX = g++
29 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
30 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
31 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
32 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
33 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
34 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
35 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
36 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
37 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
38
39
40 QMAKE_INCDIR =
41 QMAKE_LIBDIR =
42 QMAKE_INCDIR_X11= /usr/X11R6/include
43 QMAKE_LIBDIR_X11= /usr/X11R6/lib
44 QMAKE_INCDIR_QT = $(QTDIR)/include
45 QMAKE_LIBDIR_QT = $(QTDIR)/lib
46 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
47 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
48
49 QMAKE_LINK = g++
50 QMAKE_LINK_SHLIB= g++
51 QMAKE_LFLAGS =
52 QMAKE_LFLAGS_RELEASE=
53 QMAKE_LFLAGS_DEBUG=
54 QMAKE_LFLAGS_SHLIB= -shared
55 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
56 QMAKE_LFLAGS_SONAME= -Wl,-soname,
57 QMAKE_LFLAGS_THREAD=
58 QMAKE_RPATH = -Wl,-rpath,
59
60 QMAKE_LIBS =
61 QMAKE_LIBS_DYNLOAD= -ldl
62 QMAKE_LIBS_X11 = -lXext -lX11 -lm
63 QMAKE_LIBS_X11SM= -lSM -lICE
64 QMAKE_LIBS_QT = -lqt
65 QMAKE_LIBS_QT_THREAD= -lqt-mt
66 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
67 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
68 QMAKE_LIBS_THREAD=
69
70 QMAKE_MOC = $(QTDIR)/bin/moc
71 QMAKE_UIC = $(QTDIR)/bin/uic
72
73 QMAKE_AR = ar cqs
74 QMAKE_RANLIB =
75
76 QMAKE_TAR = tar -cf
77 QMAKE_GZIP = gzip -9f
78
79 QMAKE_COPY = cp -f
80 QMAKE_MOVE = mv -f
81 QMAKE_DEL_FILE = rm -f
82 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/bsdi-g++/qplatformdefs.h b/mkspecs/bsdi-g++/qplatformdefs.h
new file mode 100644
index 0000000..c76cb46
--- a/dev/null
+++ b/mkspecs/bsdi-g++/qplatformdefs.h
@@ -0,0 +1,84 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/shm.h>
32#include <sys/socket.h>
33#include <sys/stat.h>
34#include <sys/wait.h>
35
36// DNS header files are not fully covered by X/Open specifications.
37// In particular nothing is said about res_* :/
38// On BSDs header files <netinet/in.h> and <arpa/nameser.h> are not
39// included by <resolv.h>. Note that <arpa/nameser.h> must be included
40// before <resolv.h>.
41#include <netinet/in.h>
42#include <arpa/nameser.h>
43#include <resolv.h>
44
45
46#if !defined(QT_NO_COMPAT)
47 #define QT_STATBUF struct stat
48 #define QT_STATBUF4TSTATstruct stat
49 #define QT_STAT ::stat
50 #define QT_FSTAT ::fstat
51 #define QT_STAT_REG S_IFREG
52 #define QT_STAT_DIR S_IFDIR
53 #define QT_STAT_MASK S_IFMT
54 #define QT_STAT_LNK S_IFLNK
55 #define QT_FILENO fileno
56 #define QT_OPEN ::open
57 #define QT_CLOSE ::close
58 #define QT_LSEEK ::lseek
59 #define QT_READ ::read
60 #define QT_WRITE ::write
61 #define QT_ACCESS ::access
62 #define QT_GETCWD ::getcwd
63 #define QT_CHDIR ::chdir
64 #define QT_MKDIR ::mkdir
65 #define QT_RMDIR ::rmdir
66 #define QT_OPEN_RDONLY O_RDONLY
67 #define QT_OPEN_WRONLY O_WRONLY
68 #define QT_OPEN_RDWR O_RDWR
69 #define QT_OPEN_CREAT O_CREAT
70 #define QT_OPEN_TRUNC O_TRUNC
71 #define QT_OPEN_APPEND O_APPEND
72#endif
73
74 #define QT_SIGNAL_RETTYPEvoid
75 #define QT_SIGNAL_ARGS int
76 #define QT_SIGNAL_IGNORESIG_IGN
77
78 #define QT_SOCKLEN_T socklen_t
79 #define QT_SOCKOPTLEN_T size_t
80
81 #define QT_SNPRINTF ::snprintf
82 #define QT_VSNPRINTF ::vsnprintf
83
84#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/cygwin-g++/qmake.conf b/mkspecs/cygwin-g++/qmake.conf
new file mode 100644
index 0000000..3335084
--- a/dev/null
+++ b/mkspecs/cygwin-g++/qmake.conf
@@ -0,0 +1,80 @@
1#
2# $Id$
3#
4# qmake configuration for cygwin-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release incremental
10QMAKE_INCREMENTAL_STYLE = sublib
11
12 QMAKE_CC = gcc
13 QMAKE_LEX = flex
14 QMAKE_LEXFLAGS =
15 QMAKE_YACC = yacc
16 QMAKE_YACCFLAGS = -d
17 QMAKE_CFLAGS = -pipe
18 QMAKE_CFLAGS_DEPS= -M
19 QMAKE_CFLAGS_WARN_ON= -Wall -W
20 QMAKE_CFLAGS_WARN_OFF= -w
21 QMAKE_CFLAGS_RELEASE= -O2
22 QMAKE_CFLAGS_DEBUG= -g
23 QMAKE_CFLAGS_SHLIB=
24 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
25 QMAKE_CFLAGS_THREAD= -D_REENTRANT
26
27 QMAKE_CXX = g++
28 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
29 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
30 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
31 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
32 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
33 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
34 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
35 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
36 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
37
38 QMAKE_INCDIR =
39 QMAKE_LIBDIR =
40 QMAKE_INCDIR_X11= /usr/X11R6/include
41 QMAKE_LIBDIR_X11= /usr/X11R6/lib
42 QMAKE_INCDIR_QT = $(QTDIR)/include
43 QMAKE_LIBDIR_QT = $(QTDIR)/lib
44 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
45 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
46
47 QMAKE_LINK = g++
48 QMAKE_LINK_SHLIB= g++
49 QMAKE_LFLAGS =
50 QMAKE_LFLAGS_RELEASE=
51 QMAKE_LFLAGS_DEBUG=
52 QMAKE_LFLAGS_SHLIB= -shared
53 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
54 QMAKE_LFLAGS_SONAME= -Wl,-soname,
55 QMAKE_LFLAGS_THREAD=
56 QMAKE_RPATH = -Wl,-rpath,
57
58 QMAKE_LIBS =
59 QMAKE_LIBS_DYNLOAD= -ldl
60 QMAKE_LIBS_X11 = -lXext -lX11
61 QMAKE_LIBS_X11SM= -lSM -lICE
62 QMAKE_LIBS_QT = -lqt
63 QMAKE_LIBS_QT_THREAD= -lqt-mt
64 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
65 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
66 QMAKE_LIBS_THREAD= -lpthread
67
68 QMAKE_MOC = $(QTDIR)/bin/moc
69 QMAKE_UIC = $(QTDIR)/bin/uic
70
71 QMAKE_AR = ar cqs
72 QMAKE_RANLIB =
73
74 QMAKE_TAR = tar -cf
75 QMAKE_GZIP = gzip -9f
76
77 QMAKE_COPY = cp -f
78 QMAKE_MOVE = mv -f
79 QMAKE_DEL_FILE = rm -f
80 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/cygwin-g++/qplatformdefs.h b/mkspecs/cygwin-g++/qplatformdefs.h
new file mode 100644
index 0000000..b985044
--- a/dev/null
+++ b/mkspecs/cygwin-g++/qplatformdefs.h
@@ -0,0 +1,103 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10// DNS system header files are a mess!
11// <resolv.h> includes <arpa/nameser.h>. <arpa/nameser.h> is using
12// 'u_char' and includes <sys/types.h>. Now the problem is that
13// <sys/types.h> defines 'u_char' only if __USE_BSD is defined.
14// __USE_BSD is defined in <features.h> if _BSD_SOURCE is defined.
15#ifndef _BSD_SOURCE
16# define _BSD_SOURCE
17#endif
18
19// 1) need to reset default environment if _BSD_SOURCE is defined
20// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
21// 3) it seems older glibc need this to include the X/Open stuff
22#ifndef _GNU_SOURCE
23# define _GNU_SOURCE
24#endif
25
26#include <unistd.h>
27
28
29// We are hot - unistd.h should have turned on the specific APIs we requested
30
31
32#ifdef QT_THREAD_SUPPORT
33#include <pthread.h>
34#endif
35
36#include <dirent.h>
37#include <fcntl.h>
38#include <grp.h>
39#include <pwd.h>
40#include <signal.h>
41#include <dlfcn.h>
42
43#include <sys/types.h>
44#include <sys/ioctl.h>
45#include <sys/ipc.h>
46#include <sys/time.h>
47#include <sys/shm.h>
48#include <sys/socket.h>
49#include <sys/stat.h>
50#include <sys/wait.h>
51
52// Resolver functions are not implemented in Cygwin, headers
53// <arpa/nameser.h> and <resolv.h> are missing:
54 // http://cygwin.com//cgi-bin/cygwin-todo.cgi?20000426.105252
55// Maybe bindlib_w32
56 // http://www.php.net/extra/bindlib_w32.zip
57// or Don Berstein's djbdns:
58 // http://cr.yp.to/djbdns.html
59// provide this functionality, but not necessarily under the Cygwin license...
60#include <netinet/in.h>
61
62
63#if !defined(QT_NO_COMPAT)
64 #define QT_STATBUF struct stat
65 #define QT_STATBUF4TSTATstruct stat
66 #define QT_STAT ::stat
67 #define QT_FSTAT ::fstat
68 #define QT_STAT_REG S_IFREG
69 #define QT_STAT_DIR S_IFDIR
70 #define QT_STAT_MASK S_IFMT
71 #define QT_STAT_LNK S_IFLNK
72 #define QT_FILENO fileno
73 #define QT_OPEN ::open
74 #define QT_CLOSE ::close
75 #define QT_LSEEK ::lseek
76 #define QT_READ ::read
77 #define QT_WRITE ::write
78 #define QT_ACCESS ::access
79 #define QT_GETCWD ::getcwd
80 #define QT_CHDIR ::chdir
81 #define QT_MKDIR ::mkdir
82 #define QT_RMDIR ::rmdir
83 #define QT_OPEN_RDONLY O_RDONLY
84 #define QT_OPEN_WRONLY O_WRONLY
85 #define QT_OPEN_RDWR O_RDWR
86 #define QT_OPEN_CREAT O_CREAT
87 #define QT_OPEN_TRUNC O_TRUNC
88 #define QT_OPEN_APPEND O_APPEND
89#endif
90
91 #define QT_SIGNAL_RETTYPEvoid
92 #define QT_SIGNAL_ARGS int
93 #define QT_SIGNAL_IGNORESIG_IGN
94
95 #define QT_SOCKLEN_T socklen_t
96
97#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
98 #define QT_SNPRINTF ::snprintf
99 #define QT_VSNPRINTF ::vsnprintf
100#endif
101
102
103#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/darwin-g++/qmake.conf b/mkspecs/darwin-g++/qmake.conf
new file mode 100644
index 0000000..b01c06e
--- a/dev/null
+++ b/mkspecs/darwin-g++/qmake.conf
@@ -0,0 +1,80 @@
1#
2# $Id$
3#
4# qmake configuration for darwin-g++ (Darwin/X11)
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release resource_fork
10
11 QMAKE_CC = cc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O3
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -fPIC
23 QMAKE_EXTENSION_SHLIB= dylib
24 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
25 QMAKE_CFLAGS_THREAD=
26
27 QMAKE_CXX = c++
28 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
29 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
30 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
31 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
32 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
33 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
34 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
35 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
36 QMAKE_CXXFLAGS_THREAD=
37
38 QMAKE_INCDIR = /usr/local/include
39 QMAKE_LIBDIR =
40 QMAKE_INCDIR_X11= /usr/X11R6/include
41 QMAKE_LIBDIR_X11= /usr/X11R6/lib
42 QMAKE_INCDIR_QT = $(QTDIR)/include
43 QMAKE_LIBDIR_QT = $(QTDIR)/lib
44 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
45 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
46
47 QMAKE_LINK = c++
48 QMAKE_LINK_SHLIB= c++
49 QMAKE_LFLAGS =
50 QMAKE_LFLAGS_RELEASE=
51 QMAKE_LFLAGS_DEBUG=
52 QMAKE_LFLAGS_SHLIB= -dynamiclib
53 QMAKE_LFLAGS_PLUGIN= -bundle
54 QMAKE_LFLAGS_THREAD=
55 QMAKE_RPATH =
56
57 QMAKE_LIBS_DYNLOAD=
58 QMAKE_LIBS_X11 = -lXext -lX11 -lm
59 QMAKE_LIBS_X11SM= -lSM -lICE
60 QMAKE_LIBS_QT = -lqt
61 QMAKE_LIBS_QT_THREAD= -lqt-mt
62 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
63 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
64 QMAKE_LIBS_THREAD=
65
66 QMAKE_MOC = $(QTDIR)/bin/moc
67 QMAKE_UIC = $(QTDIR)/bin/uic
68
69 QMAKE_AR = ar cq
70 QMAKE_RANLIB = ranlib -s
71
72 QMAKE_TAR = tar -cf
73 QMAKE_GZIP = gzip -9f
74
75 QMAKE_COPY = cp -f
76 QMAKE_COPY_FILE = $$QMAKE_COPY
77 QMAKE_COPY_DIR = $$QMAKE_COPY -r
78 QMAKE_MOVE = mv -f
79 QMAKE_DEL_FILE = rm -f
80 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/darwin-g++/qplatformdefs.h b/mkspecs/darwin-g++/qplatformdefs.h
new file mode 100644
index 0000000..9f09f4c
--- a/dev/null
+++ b/mkspecs/darwin-g++/qplatformdefs.h
@@ -0,0 +1,83 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25
26#include <sys/types.h>
27#include <sys/ioctl.h>
28#include <sys/ipc.h>
29#include <sys/time.h>
30#include <sys/shm.h>
31#include <sys/socket.h>
32#include <sys/stat.h>
33#include <sys/wait.h>
34
35// DNS header files are not fully covered by X/Open specifications.
36// In particular nothing is said about res_* :/
37// On BSDs header files <netinet/in.h> and <arpa/nameser.h> are not
38// included by <resolv.h>. Note that <arpa/nameser.h> must be included
39// before <resolv.h>.
40#include <netinet/in.h>
41#include <arpa/nameser.h>
42#include <resolv.h>
43
44
45#if !defined(QT_NO_COMPAT)
46 #define QT_STATBUF struct stat
47 #define QT_STATBUF4TSTATstruct stat
48 #define QT_STAT ::stat
49 #define QT_FSTAT ::fstat
50 #define QT_STAT_REG S_IFREG
51 #define QT_STAT_DIR S_IFDIR
52 #define QT_STAT_MASK S_IFMT
53 #define QT_STAT_LNK S_IFLNK
54 #define QT_FILENO fileno
55 #define QT_OPEN ::open
56 #define QT_CLOSE ::close
57 #define QT_LSEEK ::lseek
58 #define QT_READ ::read
59 #define QT_WRITE ::write
60 #define QT_ACCESS ::access
61 #define QT_GETCWD ::getcwd
62 #define QT_CHDIR ::chdir
63 #define QT_MKDIR ::mkdir
64 #define QT_RMDIR ::rmdir
65 #define QT_OPEN_RDONLY O_RDONLY
66 #define QT_OPEN_WRONLY O_WRONLY
67 #define QT_OPEN_RDWR O_RDWR
68 #define QT_OPEN_CREAT O_CREAT
69 #define QT_OPEN_TRUNC O_TRUNC
70 #define QT_OPEN_APPEND O_APPEND
71#endif
72
73 #define QT_SIGNAL_RETTYPEvoid
74 #define QT_SIGNAL_ARGS int
75 #define QT_SIGNAL_IGNORESIG_IGN
76
77 #define QT_SOCKLEN_T int
78
79 #define QT_SNPRINTF ::snprintf
80 #define QT_VSNPRINTF ::vsnprintf
81
82
83#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/dgux-g++/qmake.conf b/mkspecs/dgux-g++/qmake.conf
new file mode 100644
index 0000000..f4628be
--- a/dev/null
+++ b/mkspecs/dgux-g++/qmake.conf
@@ -0,0 +1,75 @@
1#
2# $Id$
3#
4# qmake configuration for dgux-g++
5#
6# Written for DG/UX R4.20MU06.
7#
8
9 MAKEFILE_GENERATOR= UNIX
10 TEMPLATE = app
11 CONFIG += qt warn_on release
12
13 QMAKE_CC = gcc
14 QMAKE_LEX = flex
15 QMAKE_LEXFLAGS =
16 QMAKE_YACC = yacc
17 QMAKE_YACCFLAGS = -d
18 QMAKE_CFLAGS =
19 QMAKE_CFLAGS_DEPS= -M
20 QMAKE_CFLAGS_WARN_ON= -Wall -W
21 QMAKE_CFLAGS_WARN_OFF= -w
22 QMAKE_CFLAGS_RELEASE= -O2
23 QMAKE_CFLAGS_DEBUG= -g
24 QMAKE_CFLAGS_SHLIB= -fPIC
25 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
26
27 QMAKE_CXX = g++
28 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
29 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
30 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
31 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
32 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
33 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
34 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
35 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11= /usr/X11R6/include
40 QMAKE_LIBDIR_X11= /usr/X11R6/lib
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
44 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
45
46 QMAKE_LINK = g++
47 QMAKE_LINK_SHLIB= g++
48 QMAKE_LFLAGS =
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHLIB= -shared
52 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
53 QMAKE_LFLAGS_SONAME= -Wl,-h,
54
55 QMAKE_LIBS =
56 QMAKE_LIBS_DYNLOAD= -ldl
57 QMAKE_LIBS_X11 = -lXext -lX11 -lm
58 QMAKE_LIBS_QT = -lqt
59
60 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
61 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
62
63 QMAKE_MOC = $(QTDIR)/bin/moc
64 QMAKE_UIC = $(QTDIR)/bin/uic
65
66 QMAKE_AR = ar cq
67 QMAKE_RANLIB =
68
69 QMAKE_TAR = tar -cf
70 QMAKE_GZIP = gzip -9f
71
72 QMAKE_COPY = cp -f
73 QMAKE_MOVE = mv -f
74 QMAKE_DEL_FILE = rm -f
75 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/dgux-g++/qplatformdefs.h b/mkspecs/dgux-g++/qplatformdefs.h
new file mode 100644
index 0000000..60249a9
--- a/dev/null
+++ b/mkspecs/dgux-g++/qplatformdefs.h
@@ -0,0 +1,88 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10// This is to have PATH_MAX defined in <limits.h>
11#ifndef _SYSV3_LIMITS_FLAVOR
12# define _SYSV3_LIMITS_FLAVOR
13#endif
14
15#include <unistd.h>
16
17
18// We are hot - unistd.h should have turned on the specific APIs we requested
19
20
21#ifdef QT_THREAD_SUPPORT
22#include <pthread.h>
23#endif
24
25#include <dirent.h>
26#include <fcntl.h>
27#include <grp.h>
28#include <pwd.h>
29#include <signal.h>
30
31#include <sys/types.h>
32#include <sys/ioctl.h>
33#include <sys/ipc.h>
34#include <sys/time.h>
35#include <sys/shm.h>
36#include <sys/socket.h>
37#include <sys/stat.h>
38#include <sys/wait.h>
39
40// DNS header files are not fully covered by X/Open specifications.
41// In particular nothing is said about res_* :/
42// On IRIX header files <netinet/in.h> and <arpa/nameser.h> are not
43// included by <resolv.h>. Note that <arpa/nameser.h> must be included
44// before <resolv.h>.
45#include <netinet/in.h>
46#include <arpa/nameser.h>
47#include <resolv.h>
48
49
50#if !defined(QT_NO_COMPAT)
51 #define QT_STATBUF struct stat
52 #define QT_STATBUF4TSTATstruct stat
53 #define QT_STAT ::stat
54 #define QT_FSTAT ::fstat
55 #define QT_STAT_REG S_IFREG
56 #define QT_STAT_DIR S_IFDIR
57 #define QT_STAT_MASK S_IFMT
58 #define QT_STAT_LNK S_IFLNK
59 #define QT_FILENO fileno
60 #define QT_OPEN ::open
61 #define QT_CLOSE ::close
62 #define QT_LSEEK ::lseek
63 #define QT_READ ::read
64 #define QT_WRITE ::write
65 #define QT_ACCESS ::access
66 #define QT_GETCWD ::getcwd
67 #define QT_CHDIR ::chdir
68 #define QT_MKDIR ::mkdir
69 #define QT_RMDIR ::rmdir
70 #define QT_OPEN_RDONLY O_RDONLY
71 #define QT_OPEN_WRONLY O_WRONLY
72 #define QT_OPEN_RDWR O_RDWR
73 #define QT_OPEN_CREAT O_CREAT
74 #define QT_OPEN_TRUNC O_TRUNC
75 #define QT_OPEN_APPEND O_APPEND
76#endif
77
78 #define QT_SIGNAL_RETTYPEvoid
79 #define QT_SIGNAL_ARGS int
80 #define QT_SIGNAL_IGNORESIG_IGN
81
82 #define QT_SOCKLEN_T int
83
84 #define QT_SNPRINTF ::snprintf
85 #define QT_VSNPRINTF ::vsnprintf
86
87#endif // QPLATFORMDEFS_H
88
diff --git a/mkspecs/freebsd-g++/qmake.conf b/mkspecs/freebsd-g++/qmake.conf
new file mode 100644
index 0000000..722d898
--- a/dev/null
+++ b/mkspecs/freebsd-g++/qmake.conf
@@ -0,0 +1,80 @@
1#
2# $Id$
3#
4# qmake configuration for freebsd-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -fPIC
23 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
24 QMAKE_CFLAGS_THREAD= -pthread -D_THREAD_SAFE
25
26 QMAKE_CXX = g++
27 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37# Addon software goes into /usr/local on the BSDs, by default we will look there
38 QMAKE_INCDIR = /usr/local/include
39 QMAKE_LIBDIR = /usr/local/lib
40 QMAKE_INCDIR_X11= /usr/X11R6/include
41 QMAKE_LIBDIR_X11= /usr/X11R6/lib
42 QMAKE_INCDIR_QT = $(QTDIR)/include
43 QMAKE_LIBDIR_QT = $(QTDIR)/lib
44 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
45 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
46
47 QMAKE_LINK = g++
48 QMAKE_LINK_SHLIB= g++
49 QMAKE_LFLAGS =
50 QMAKE_LFLAGS_RELEASE=
51 QMAKE_LFLAGS_DEBUG=
52 QMAKE_LFLAGS_SHLIB= -shared
53 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
54 QMAKE_LFLAGS_SONAME= -Wl,-soname,
55 QMAKE_LFLAGS_THREAD= -pthread
56 QMAKE_RPATH = -Wl,-rpath,
57
58 QMAKE_LIBS =
59 QMAKE_LIBS_DYNLOAD=
60 QMAKE_LIBS_X11 = -lXext -lX11 -lm
61 QMAKE_LIBS_X11SM= -lSM -lICE
62 QMAKE_LIBS_QT = -lqt
63 QMAKE_LIBS_QT_THREAD= -lqt-mt
64 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
65 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
66 QMAKE_LIBS_THREAD=
67
68 QMAKE_MOC = $(QTDIR)/bin/moc
69 QMAKE_UIC = $(QTDIR)/bin/uic
70
71 QMAKE_AR = ar cqs
72 QMAKE_RANLIB =
73
74 QMAKE_TAR = tar -cf
75 QMAKE_GZIP = gzip -9f
76
77 QMAKE_COPY = cp -f
78 QMAKE_MOVE = mv -f
79 QMAKE_DEL_FILE = rm -f
80 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/freebsd-g++/qplatformdefs.h b/mkspecs/freebsd-g++/qplatformdefs.h
new file mode 100644
index 0000000..a164a73
--- a/dev/null
+++ b/mkspecs/freebsd-g++/qplatformdefs.h
@@ -0,0 +1,103 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/shm.h>
32#include <sys/socket.h>
33#include <sys/stat.h>
34#include <sys/wait.h>
35
36// DNS header files are not fully covered by X/Open specifications.
37// In particular nothing is said about res_* :/
38// On BSDs header files <netinet/in.h> and <arpa/nameser.h> are not
39// included by <resolv.h>. Note that <arpa/nameser.h> must be included
40// before <resolv.h>.
41#include <netinet/in.h>
42#define class c_class // FreeeBSD 3.x
43#include <arpa/nameser.h>
44#undef class
45#include <resolv.h>
46
47
48#if !defined(QT_NO_COMPAT)
49 #define QT_STATBUF struct stat
50 #define QT_STATBUF4TSTATstruct stat
51 #define QT_STAT ::stat
52 #define QT_FSTAT ::fstat
53 #define QT_STAT_REG S_IFREG
54 #define QT_STAT_DIR S_IFDIR
55 #define QT_STAT_MASK S_IFMT
56 #define QT_STAT_LNK S_IFLNK
57 #define QT_FILENO fileno
58 #define QT_OPEN ::open
59 #define QT_CLOSE ::close
60 #define QT_LSEEK ::lseek
61 #define QT_READ ::read
62 #define QT_WRITE ::write
63 #define QT_ACCESS ::access
64 #define QT_GETCWD ::getcwd
65 #define QT_CHDIR ::chdir
66 #define QT_MKDIR ::mkdir
67 #define QT_RMDIR ::rmdir
68 #define QT_OPEN_RDONLY O_RDONLY
69 #define QT_OPEN_WRONLY O_WRONLY
70 #define QT_OPEN_RDWR O_RDWR
71 #define QT_OPEN_CREAT O_CREAT
72 #define QT_OPEN_TRUNC O_TRUNC
73 #define QT_OPEN_APPEND O_APPEND
74#endif
75
76 #define QT_SIGNAL_RETTYPEvoid
77 #define QT_SIGNAL_ARGS int
78 #define QT_SIGNAL_IGNORESIG_IGN
79
80#if __FreeBSD_version < 400000
81// FreeBSD 1.0 - 3.5.1
82 # define QT_SOCKLEN_T int
83#else
84// FreeBSD 4.0 - 5.0
85 # define QT_SOCKLEN_T socklen_t
86#endif
87
88 #define QT_SNPRINTF ::snprintf
89 #define QT_VSNPRINTF ::vsnprintf
90
91// Older FreeBSD versions may still use the a.out format instead of ELF.
92// From the FreeBSD man pages:
93 // In previous implementations, it was necessary to prepend an
94 // underscore to all external symbols in order to gain symbol
95 // compatibility with object code compiled from the C language.
96 // This is still the case when using the (obsolete) -aout option to
97 // the C language compiler.
98#ifndef __ELF__
99#define QT_AOUT_UNDERSCORE
100#endif
101
102
103#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/hpux-acc-64/qmake.conf b/mkspecs/hpux-acc-64/qmake.conf
new file mode 100644
index 0000000..143e8cc
--- a/dev/null
+++ b/mkspecs/hpux-acc-64/qmake.conf
@@ -0,0 +1,121 @@
1#
2# $Id$
3#
4# qmake configuration for hpux-n64
5#
6# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
7# we also need to redefine _HPUX_SOURCE.
8# From pthread(3t):
9 # Some documentation will recommend the use of -D_REENTRANT for
10 # compilation. While this also functions properly, it is considered
11 # an obsolescent form.
12# See pthread(3t) for more details.
13#
14# From the "HP aC++ Online Programmer's Guide":
15 # When +DA2.0W is specified:
16 # * 64-bit SVR4 Executable and Linking Format (ELF) object files
17 # are generated for PA-RISC 2.0.
18 # * The preprocessor predefined macro, __LP64__ is defined.
19 # * The correct path for 64-bit system and language libraries is
20 # selected.
21 # When +DD32 is specified:
22 # * The size of an int, long, or pointer data type is 32-bits.
23 # The size of an int data type is 32-bits. The size of a long or
24 # pointer data type is 64-bits.
25 # * This is the default, currently equivalent to +DA1.1 architecture.
26 # When +DD64 is specified:
27 # * The size of an int data type is 32-bits. The size of a long or
28 # pointer data type is 64-bits.
29 # * This is currently equivalent to +DA2.OW architecture.
30 # * The preprocessor predefined macro, __LP64__ is defined.
31 # Using +DS to Specify Instruction Scheduling:
32 # * By default, the compiler performs scheduling tuned for the system
33 # on which you are compiling, or, if specified, tuned for the setting
34 # of the +DA option.
35#
36# From the online "C/HP-UX Reference Manual":
37 #-Aa
38 # Enables strict ANSI C compliance.
39 # -Ae
40 # Enables ANSI C compliance, HP value-added features (as described
41 # for +e option), and _HPUX_SOURCE name space macro. It is equivalent
42 # to -Aa +e -D_HPUX_SOURCE.
43 # +e
44 # Enables the following HP value added features while compiling in
45 # ANSI C mode: sized enum, long long, long pointers, compiler supplied
46 # defaults for missing arguments to intrinsic calls, and $ in identifier
47 # HP C extensions.
48#
49
50 MAKEFILE_GENERATOR= UNIX
51 TEMPLATE = app
52 CONFIG += qt warn_on release
53
54 QMAKE_CC = cc
55 QMAKE_LEX = flex
56 QMAKE_LEXFLAGS =
57 QMAKE_YACC = yacc
58 QMAKE_YACCFLAGS = -d
59 QMAKE_CFLAGS = -Ae +DA2.0W -w
60 QMAKE_CFLAGS_WARN_ON=
61 QMAKE_CFLAGS_WARN_OFF=
62 QMAKE_CFLAGS_RELEASE= -O +Osize
63 QMAKE_CFLAGS_DEBUG= -g
64 QMAKE_CFLAGS_SHLIB= +Z
65 QMAKE_CFLAGS_YACC=
66 QMAKE_CFLAGS_THREAD= -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
67
68 QMAKE_CXX = aCC
69 QMAKE_CXXFLAGS = -Aa +DA2.0W -w -D__STRICT_ANSI__
70 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
71 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
72 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
73 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
74 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
75 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
76 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
77
78 QMAKE_INCDIR =
79 QMAKE_LIBDIR =
80 QMAKE_INCDIR_X11= /usr/include/X11R6
81 QMAKE_LIBDIR_X11= /usr/lib/X11R6/pa20_64
82 QMAKE_INCDIR_QT = $(QTDIR)/include
83 QMAKE_LIBDIR_QT = $(QTDIR)/lib
84 QMAKE_INCDIR_OPENGL= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
85 QMAKE_LIBDIR_OPENGL= /opt/graphics/OpenGL/lib/pa20_64 /usr/contrib/X11R6/lib/pa20_64
86
87 QMAKE_LINK = aCC
88 QMAKE_LINK_SHLIB= aCC
89 QMAKE_LFLAGS = +DA2.0W -Wl,+s
90 QMAKE_LFLAGS_RELEASE= -O
91 QMAKE_LFLAGS_DEBUG= -Wl,+tools -g
92 QMAKE_LFLAGS_SHLIB= -b
93 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
94 QMAKE_LFLAGS_SONAME= -Wl,+h,
95 QMAKE_LFLAGS_THREAD=
96 QMAKE_RPATH = -Wl,+b,
97
98 QMAKE_LIBS = -lm
99 QMAKE_LIBS_DYNLOAD= -ldld
100 QMAKE_LIBS_X11 = -lXext -lX11
101 QMAKE_LIBS_X11SM= -lSM -lICE
102 QMAKE_LIBS_QT = -lqt
103 QMAKE_LIBS_QT_THREAD= -lqt-mt
104 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
105 QMAKE_LIBS_OPENGL_QT= -lGL -lXm
106 QMAKE_LIBS_THREAD= -lpthread
107 QMAKE_LIBS_YACC = -ly
108
109 QMAKE_MOC = $(QTDIR)/bin/moc
110 QMAKE_UIC = $(QTDIR)/bin/uic
111
112 QMAKE_AR = ar cqs
113 QMAKE_RANLIB =
114
115 QMAKE_TAR = tar -cf
116 QMAKE_GZIP = gzip -9f
117
118 QMAKE_COPY = cp -f
119 QMAKE_MOVE = mv -f
120 QMAKE_DEL_FILE = rm -f
121 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/hpux-acc-64/qplatformdefs.h b/mkspecs/hpux-acc-64/qplatformdefs.h
new file mode 100644
index 0000000..8a1410c
--- a/dev/null
+++ b/mkspecs/hpux-acc-64/qplatformdefs.h
@@ -0,0 +1,80 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dl.h>
26#define QT_HPUX_LD
27#define QT_NO_LIBRARY_UNLOAD
28
29#include <sys/types.h>
30#include <sys/ioctl.h>
31#include <sys/ipc.h>
32#include <sys/time.h>
33#include <sys/shm.h>
34#include <sys/socket.h>
35#include <sys/stat.h>
36#include <sys/wait.h>
37
38// DNS header files are not fully covered by X/Open specifications.
39// In particular nothing is said about res_* :/
40#include <resolv.h>
41// Undeclared - at least on HP-UX 10.20.
42extern "C" int res_init();
43
44
45#if !defined(QT_NO_COMPAT)
46 #define QT_STATBUF struct stat
47 #define QT_STATBUF4TSTATstruct stat
48 #define QT_STAT ::stat
49 #define QT_FSTAT ::fstat
50 #define QT_STAT_REG S_IFREG
51 #define QT_STAT_DIR S_IFDIR
52 #define QT_STAT_MASK S_IFMT
53 #define QT_STAT_LNK S_IFLNK
54 #define QT_FILENO fileno
55 #define QT_OPEN ::open
56 #define QT_CLOSE ::close
57 #define QT_LSEEK ::lseek
58 #define QT_READ ::read
59 #define QT_WRITE ::write
60 #define QT_ACCESS ::access
61 #define QT_GETCWD ::getcwd
62 #define QT_CHDIR ::chdir
63 #define QT_MKDIR ::mkdir
64 #define QT_RMDIR ::rmdir
65 #define QT_OPEN_RDONLY O_RDONLY
66 #define QT_OPEN_WRONLY O_WRONLY
67 #define QT_OPEN_RDWR O_RDWR
68 #define QT_OPEN_CREAT O_CREAT
69 #define QT_OPEN_TRUNC O_TRUNC
70 #define QT_OPEN_APPEND O_APPEND
71#endif
72
73 #define QT_SIGNAL_RETTYPEvoid
74 #define QT_SIGNAL_ARGS int
75 #define QT_SIGNAL_IGNORESIG_IGN
76
77 #define QT_SOCKLEN_T int
78
79
80#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/hpux-acc-o64/qmake.conf b/mkspecs/hpux-acc-o64/qmake.conf
new file mode 100644
index 0000000..ba5d122
--- a/dev/null
+++ b/mkspecs/hpux-acc-o64/qmake.conf
@@ -0,0 +1,121 @@
1#
2# $Id$
3#
4# qmake configuration for hpux-o64
5#
6# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
7# we also need to redefine _HPUX_SOURCE.
8# From pthread(3t):
9 # Some documentation will recommend the use of -D_REENTRANT for
10 # compilation. While this also functions properly, it is considered
11 # an obsolescent form.
12# See pthread(3t) for more details.
13#
14# From the "HP aC++ Online Programmer's Guide":
15 # When +DA2.0W is specified:
16 # * 64-bit SVR4 Executable and Linking Format (ELF) object files
17 # are generated for PA-RISC 2.0.
18 # * The preprocessor predefined macro, __LP64__ is defined.
19 # * The correct path for 64-bit system and language libraries is
20 # selected.
21 # When +DD32 is specified:
22 # * The size of an int, long, or pointer data type is 32-bits.
23 # The size of an int data type is 32-bits. The size of a long or
24 # pointer data type is 64-bits.
25 # * This is the default, currently equivalent to +DA1.1 architecture.
26 # When +DD64 is specified:
27 # * The size of an int data type is 32-bits. The size of a long or
28 # pointer data type is 64-bits.
29 # * This is currently equivalent to +DA2.OW architecture.
30 # * The preprocessor predefined macro, __LP64__ is defined.
31 # Using +DS to Specify Instruction Scheduling:
32 # * By default, the compiler performs scheduling tuned for the system
33 # on which you are compiling, or, if specified, tuned for the setting
34 # of the +DA option.
35#
36# From the online "C/HP-UX Reference Manual":
37 #-Aa
38 # Enables strict ANSI C compliance.
39 # -Ae
40 # Enables ANSI C compliance, HP value-added features (as described
41 # for +e option), and _HPUX_SOURCE name space macro. It is equivalent
42 # to -Aa +e -D_HPUX_SOURCE.
43 # +e
44 # Enables the following HP value added features while compiling in
45 # ANSI C mode: sized enum, long long, long pointers, compiler supplied
46 # defaults for missing arguments to intrinsic calls, and $ in identifier
47 # HP C extensions.
48#
49
50 MAKEFILE_GENERATOR= UNIX
51 TEMPLATE = app
52 CONFIG += qt warn_on release
53
54 QMAKE_CC = cc
55 QMAKE_LEX = flex
56 QMAKE_LEXFLAGS =
57 QMAKE_YACC = yacc
58 QMAKE_YACCFLAGS = -d
59 QMAKE_CFLAGS = -Ae +DA2.0 -w
60 QMAKE_CFLAGS_WARN_ON=
61 QMAKE_CFLAGS_WARN_OFF=
62 QMAKE_CFLAGS_RELEASE= -O +Oentrysched +Onolimit
63 QMAKE_CFLAGS_DEBUG= -y -g
64 QMAKE_CFLAGS_SHLIB= +Z
65 QMAKE_CFLAGS_YACC=
66 QMAKE_CFLAGS_THREAD= -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
67
68 QMAKE_CXX = aCC
69 QMAKE_CXXFLAGS = +DA2.0 -w -D__STRICT_ANSI__
70 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
71 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
72 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
73 QMAKE_CXXFLAGS_DEBUG= -g
74 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
75 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
76 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
77
78 QMAKE_INCDIR =
79 QMAKE_LIBDIR =
80 QMAKE_INCDIR_X11= /usr/include/X11R6
81 QMAKE_LIBDIR_X11= /usr/lib/X11R6
82 QMAKE_INCDIR_QT = $(QTDIR)/include
83 QMAKE_LIBDIR_QT = $(QTDIR)/lib
84 QMAKE_INCDIR_OPENGL= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
85 QMAKE_LIBDIR_OPENGL= /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib
86
87 QMAKE_LINK = aCC
88 QMAKE_LINK_SHLIB= aCC
89 QMAKE_LFLAGS = +DA2.0 -Wl,+s
90 QMAKE_LFLAGS_RELEASE= -O
91 QMAKE_LFLAGS_DEBUG=
92 QMAKE_LFLAGS_SHLIB= -b
93 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
94 QMAKE_LFLAGS_SONAME= -Wl,+h,
95 QMAKE_RPATH = -Wl,+b,
96
97 QMAKE_LIBS = -lm
98 QMAKE_LIBS_DYNLOAD= -ldld
99 QMAKE_LIBS_X11 = -lXext -lX11
100 QMAKE_LIBS_X11SM= -lSM -lICE
101 QMAKE_LIBS_QT = -lqt
102 QMAKE_LIBS_QT_THREAD= -lqt-mt
103
104 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
105 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
106 QMAKE_LIBS_THREAD= -lpthread
107 QMAKE_LIBS_YACC = -ly
108
109 QMAKE_MOC = $(QTDIR)/bin/moc
110 QMAKE_UIC = $(QTDIR)/bin/uic
111
112 QMAKE_AR = ar cqs
113 QMAKE_RANLIB =
114
115 QMAKE_TAR = tar -cf
116 QMAKE_GZIP = gzip -9f
117
118 QMAKE_COPY = cp -f
119 QMAKE_MOVE = mv -f
120 QMAKE_DEL_FILE = rm -f
121 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/hpux-acc-o64/qplatformdefs.h b/mkspecs/hpux-acc-o64/qplatformdefs.h
new file mode 100644
index 0000000..8a1410c
--- a/dev/null
+++ b/mkspecs/hpux-acc-o64/qplatformdefs.h
@@ -0,0 +1,80 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dl.h>
26#define QT_HPUX_LD
27#define QT_NO_LIBRARY_UNLOAD
28
29#include <sys/types.h>
30#include <sys/ioctl.h>
31#include <sys/ipc.h>
32#include <sys/time.h>
33#include <sys/shm.h>
34#include <sys/socket.h>
35#include <sys/stat.h>
36#include <sys/wait.h>
37
38// DNS header files are not fully covered by X/Open specifications.
39// In particular nothing is said about res_* :/
40#include <resolv.h>
41// Undeclared - at least on HP-UX 10.20.
42extern "C" int res_init();
43
44
45#if !defined(QT_NO_COMPAT)
46 #define QT_STATBUF struct stat
47 #define QT_STATBUF4TSTATstruct stat
48 #define QT_STAT ::stat
49 #define QT_FSTAT ::fstat
50 #define QT_STAT_REG S_IFREG
51 #define QT_STAT_DIR S_IFDIR
52 #define QT_STAT_MASK S_IFMT
53 #define QT_STAT_LNK S_IFLNK
54 #define QT_FILENO fileno
55 #define QT_OPEN ::open
56 #define QT_CLOSE ::close
57 #define QT_LSEEK ::lseek
58 #define QT_READ ::read
59 #define QT_WRITE ::write
60 #define QT_ACCESS ::access
61 #define QT_GETCWD ::getcwd
62 #define QT_CHDIR ::chdir
63 #define QT_MKDIR ::mkdir
64 #define QT_RMDIR ::rmdir
65 #define QT_OPEN_RDONLY O_RDONLY
66 #define QT_OPEN_WRONLY O_WRONLY
67 #define QT_OPEN_RDWR O_RDWR
68 #define QT_OPEN_CREAT O_CREAT
69 #define QT_OPEN_TRUNC O_TRUNC
70 #define QT_OPEN_APPEND O_APPEND
71#endif
72
73 #define QT_SIGNAL_RETTYPEvoid
74 #define QT_SIGNAL_ARGS int
75 #define QT_SIGNAL_IGNORESIG_IGN
76
77 #define QT_SOCKLEN_T int
78
79
80#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/hpux-acc/qmake.conf b/mkspecs/hpux-acc/qmake.conf
new file mode 100644
index 0000000..7218fee
--- a/dev/null
+++ b/mkspecs/hpux-acc/qmake.conf
@@ -0,0 +1,100 @@
1#
2# $Id$
3#
4# qmake configuration for hpux-acc
5#
6# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
7# we also need to redefine _HPUX_SOURCE. See pthread(3t) for more details.
8#
9# From the "HP aC++ Online Programmer's Guide":
10 # Using +DS to Specify Instruction Scheduling:
11 # * By default, the compiler performs scheduling tuned for the system
12 # on which you are compiling, or, if specified, tuned for the setting
13 # of the +DA option.
14#
15# From the online "C/HP-UX Reference Manual":
16 #-Aa
17 # Enables strict ANSI C compliance.
18 # -Ae
19 # Enables ANSI C compliance, HP value-added features (as described
20 # for +e option), and _HPUX_SOURCE name space macro. It is equivalent
21 # to -Aa +e -D_HPUX_SOURCE.
22 # +e
23 # Enables the following HP value added features while compiling in
24 # ANSI C mode: sized enum, long long, long pointers, compiler supplied
25 # defaults for missing arguments to intrinsic calls, and $ in identifier
26 # HP C extensions.
27#
28
29 MAKEFILE_GENERATOR= UNIX
30 TEMPLATE = app
31 CONFIG = qt warn_on release
32
33 QMAKE_CC = cc
34 QMAKE_LEX = flex
35 QMAKE_LEXFLAGS =
36 QMAKE_YACC = yacc
37 QMAKE_YACCFLAGS = -d
38 QMAKE_CFLAGS = -Ae +DAportable -w +Z
39 QMAKE_CFLAGS_WARN_ON=
40 QMAKE_CFLAGS_WARN_OFF=
41 QMAKE_CFLAGS_RELEASE= -O
42 QMAKE_CFLAGS_DEBUG= -g
43 QMAKE_CFLAGS_SHLIB=
44 QMAKE_CFLAGS_YACC=
45 QMAKE_CFLAGS_THREAD= -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
46
47 QMAKE_CXX = aCC
48 QMAKE_CXXFLAGS = +DAportable -w +Z -D__STRICT_ANSI__
49 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
50 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
51 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
52 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
53 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
54 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
55 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
56
57 QMAKE_INCDIR =
58 QMAKE_LIBDIR =
59 QMAKE_INCDIR_X11= /usr/include/X11R6
60 QMAKE_LIBDIR_X11= /usr/lib/X11R6
61 QMAKE_INCDIR_QT = $(QTDIR)/include
62 QMAKE_LIBDIR_QT = $(QTDIR)/lib
63 QMAKE_INCDIR_OPENGL= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
64 QMAKE_LIBDIR_OPENGL= /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib
65
66 QMAKE_LINK = aCC
67 QMAKE_LINK_SHLIB= aCC
68 QMAKE_LFLAGS = +DAportable -Wl,+s
69 QMAKE_LFLAGS_RELEASE= -O
70 QMAKE_LFLAGS_DEBUG=
71 QMAKE_LFLAGS_SHLIB= -b -Wl,-a,shared
72 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
73 QMAKE_LFLAGS_SONAME= -Wl,+h,
74 QMAKE_LFLAGS_THREAD=
75 QMAKE_RPATH = -Wl,+b,
76
77 QMAKE_LIBS = -lm
78 QMAKE_LIBS_DYNLOAD= -ldld
79 QMAKE_LIBS_X11 = -lXext -lX11
80 QMAKE_LIBS_X11SM= -lSM -lICE
81 QMAKE_LIBS_QT = -lqt
82 QMAKE_LIBS_QT_THREAD= -lqt-mt
83 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
84 QMAKE_LIBS_OPENGL_QT= -lGL -lXm
85 QMAKE_LIBS_THREAD= -lpthread
86 QMAKE_LIBS_YACC = -ly
87
88 QMAKE_MOC = $(QTDIR)/bin/moc
89 QMAKE_UIC = $(QTDIR)/bin/uic
90
91 QMAKE_AR = ar cqs
92 QMAKE_RANLIB =
93
94 QMAKE_TAR = tar -cf
95 QMAKE_GZIP = gzip -9f
96
97 QMAKE_COPY = cp -f
98 QMAKE_MOVE = mv -f
99 QMAKE_DEL_FILE = rm -f
100 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/hpux-acc/qplatformdefs.h b/mkspecs/hpux-acc/qplatformdefs.h
new file mode 100644
index 0000000..fb74ca7
--- a/dev/null
+++ b/mkspecs/hpux-acc/qplatformdefs.h
@@ -0,0 +1,86 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dl.h>
26#define QT_HPUX_LD
27#define QT_NO_LIBRARY_UNLOAD
28
29#include <sys/types.h>
30#include <sys/ioctl.h>
31#include <sys/ipc.h>
32#include <sys/time.h>
33#include <sys/shm.h>
34#include <sys/socket.h>
35#include <sys/stat.h>
36#include <sys/wait.h>
37
38// DNS header files are not fully covered by X/Open specifications.
39// In particular nothing is said about res_* :/
40#include <resolv.h>
41// Undeclared - at least on HP-UX 10.20.
42extern "C" int res_init();
43
44#define QT_NO_LIBRARY_UNLOAD
45
46#if !defined(QT_NO_COMPAT)
47 #define QT_STATBUF struct stat
48 #define QT_STATBUF4TSTATstruct stat
49 #define QT_STAT ::stat
50 #define QT_FSTAT ::fstat
51 #define QT_STAT_REG S_IFREG
52 #define QT_STAT_DIR S_IFDIR
53 #define QT_STAT_MASK S_IFMT
54 #define QT_STAT_LNK S_IFLNK
55 #define QT_FILENO fileno
56 #define QT_OPEN ::open
57 #define QT_CLOSE ::close
58 #define QT_LSEEK ::lseek
59 #define QT_READ ::read
60 #define QT_WRITE ::write
61 #define QT_ACCESS ::access
62 #define QT_GETCWD ::getcwd
63 #define QT_CHDIR ::chdir
64 #define QT_MKDIR ::mkdir
65 #define QT_RMDIR ::rmdir
66 #define QT_OPEN_RDONLY O_RDONLY
67 #define QT_OPEN_WRONLY O_WRONLY
68 #define QT_OPEN_RDWR O_RDWR
69 #define QT_OPEN_CREAT O_CREAT
70 #define QT_OPEN_TRUNC O_TRUNC
71 #define QT_OPEN_APPEND O_APPEND
72#endif
73
74 #define QT_SIGNAL_RETTYPEvoid
75 #define QT_SIGNAL_ARGS int
76 #define QT_SIGNAL_IGNORESIG_IGN
77
78 #define QT_SOCKLEN_T int
79
80// presence of _XOPEN_UNIX can be used to detect HP-UX 10 or higher
81#if !defined(_XOPEN_UNIX)
82// HP-UX 9's select() didn't accept fd_set, yet.
83#define select(a,b,c,d,e) select((a), (int *)(b), (int *)(c), (int *)(d), (e))
84#endif
85
86#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/hpux-cc/qmake.conf b/mkspecs/hpux-cc/qmake.conf
new file mode 100644
index 0000000..a7f2b65
--- a/dev/null
+++ b/mkspecs/hpux-cc/qmake.conf
@@ -0,0 +1,97 @@
1#
2# $Id$
3#
4# qmake configuration for hpux-cc
5#
6# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
7# we also need to redefine _HPUX_SOURCE.
8# See pthread(3t) for more details.
9#
10# From the "HP aC++ Online Programmer's Guide":
11 # Using +DS to Specify Instruction Scheduling:
12 # * By default, the compiler performs scheduling tuned for the system
13 # on which you are compiling, or, if specified, tuned for the setting
14 # of the +DA option.
15#
16# From the online "C/HP-UX Reference Manual":
17 #-Aa
18 # Enables strict ANSI C compliance.
19 # -Ae
20 # Enables ANSI C compliance, HP value-added features (as described
21 # for +e option), and _HPUX_SOURCE name space macro. It is equivalent
22 # to -Aa +e -D_HPUX_SOURCE.
23 # +e
24 # Enables the following HP value added features while compiling in
25 # ANSI C mode: sized enum, long long, long pointers, compiler supplied
26 # defaults for missing arguments to intrinsic calls, and $ in identifier
27 # HP C extensions.
28#
29
30 MAKEFILE_GENERATOR= UNIX
31 TEMPLATE = app
32 CONFIG += qt warn_on release
33
34 QMAKE_CC = cc
35 QMAKE_LEX = flex
36 QMAKE_LEXFLAGS =
37 QMAKE_YACC = yacc
38 QMAKE_YACCFLAGS = -d
39 QMAKE_CFLAGS = -Ae +DA1.1e -w
40 QMAKE_CFLAGS_WARN_ON=
41 QMAKE_CFLAGS_WARN_OFF=
42 QMAKE_CFLAGS_RELEASE= -O
43 QMAKE_CFLAGS_DEBUG= -g
44 QMAKE_CFLAGS_SHLIB= +Z
45 QMAKE_CFLAGS_YACC=
46
47 QMAKE_CXX = CC
48 QMAKE_CXXFLAGS = +DA1.1e -w +a1
49 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
50 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
51 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
52 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
53 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
54 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
55
56 QMAKE_INCDIR =
57 QMAKE_LIBDIR =
58 QMAKE_INCDIR_X11= /usr/include/X11R6
59 QMAKE_LIBDIR_X11= /usr/lib/X11R6
60 QMAKE_INCDIR_QT = $(QTDIR)/include
61 QMAKE_LIBDIR_QT = $(QTDIR)/lib
62 QMAKE_INCDIR_OPENGL= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
63 QMAKE_LIBDIR_OPENGL= /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib
64
65 QMAKE_LINK = CC
66 QMAKE_LINK_SHLIB= CC
67# CC generates template code during linking, and so needs -I's
68 QMAKE_LFLAGS = +DA1.1e -Wl,+s -L/usr/lib -I$$QMAKE_INCDIR_X11 -I$$QMAKE_INCDIR_QT
69 QMAKE_LFLAGS_RELEASE= -O -s
70 QMAKE_LFLAGS_DEBUG=
71 QMAKE_LFLAGS_SHLIB= -b
72 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
73 QMAKE_LFLAGS_SONAME= -Wl,+h,
74 QMAKE_RPATH = -Wl,+b,
75
76 QMAKE_LIBS = -lm
77 QMAKE_LIBS_DYNLOAD= -ldld
78 QMAKE_LIBS_X11 = -lXext -lX11
79 QMAKE_LIBS_X11SM= -lSM -lICE
80 QMAKE_LIBS_QT = -lqt
81
82 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
83 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
84
85 QMAKE_MOC = $(QTDIR)/bin/moc
86 QMAKE_UIC = $(QTDIR)/bin/uic
87
88 QMAKE_AR = ar cqs
89 QMAKE_RANLIB =
90
91 QMAKE_TAR = tar -cf
92 QMAKE_GZIP = gzip -9f
93
94 QMAKE_COPY = cp -f
95 QMAKE_MOVE = mv -f
96 QMAKE_DEL_FILE = rm -f
97 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/hpux-cc/qplatformdefs.h b/mkspecs/hpux-cc/qplatformdefs.h
new file mode 100644
index 0000000..26048b2
--- a/dev/null
+++ b/mkspecs/hpux-cc/qplatformdefs.h
@@ -0,0 +1,85 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dl.h>
26#define QT_HPUX_LD
27#define QT_NO_LIBRARY_UNLOAD
28
29#include <sys/types.h>
30#include <sys/ioctl.h>
31#include <sys/ipc.h>
32#include <sys/time.h>
33#include <sys/shm.h>
34#include <sys/socket.h>
35#include <sys/stat.h>
36#include <sys/wait.h>
37
38// DNS header files are not fully covered by X/Open specifications.
39// In particular nothing is said about res_* :/
40#include <resolv.h>
41// Undeclared - at least on HP-UX 10.20.
42extern "C" int res_init();
43
44
45#if !defined(QT_NO_COMPAT)
46 #define QT_STATBUF struct stat
47 #define QT_STATBUF4TSTATstruct stat
48 #define QT_STAT ::stat
49 #define QT_FSTAT ::fstat
50 #define QT_STAT_REG S_IFREG
51 #define QT_STAT_DIR S_IFDIR
52 #define QT_STAT_MASK S_IFMT
53 #define QT_STAT_LNK S_IFLNK
54 #define QT_FILENO fileno
55 #define QT_OPEN ::open
56 #define QT_CLOSE ::close
57 #define QT_LSEEK ::lseek
58 #define QT_READ ::read
59 #define QT_WRITE ::write
60 #define QT_ACCESS ::access
61 #define QT_GETCWD ::getcwd
62 #define QT_CHDIR ::chdir
63 #define QT_MKDIR ::mkdir
64 #define QT_RMDIR ::rmdir
65 #define QT_OPEN_RDONLY O_RDONLY
66 #define QT_OPEN_WRONLY O_WRONLY
67 #define QT_OPEN_RDWR O_RDWR
68 #define QT_OPEN_CREAT O_CREAT
69 #define QT_OPEN_TRUNC O_TRUNC
70 #define QT_OPEN_APPEND O_APPEND
71#endif
72
73 #define QT_SIGNAL_RETTYPEvoid
74 #define QT_SIGNAL_ARGS int
75 #define QT_SIGNAL_IGNORESIG_IGN
76
77 #define QT_SOCKLEN_T int
78
79// presence of _XOPEN_UNIX can be used to detect HP-UX 10 or higher
80#if !defined(_XOPEN_UNIX)
81// HP-UX 9's select() didn't accept fd_set, yet.
82#define select(a,b,c,d,e) select((a), (int *)(b), (int *)(c), (int *)(d), (e))
83#endif
84
85#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/hpux-g++/qmake.conf b/mkspecs/hpux-g++/qmake.conf
new file mode 100644
index 0000000..0db1650
--- a/dev/null
+++ b/mkspecs/hpux-g++/qmake.conf
@@ -0,0 +1,83 @@
1#
2# $Id$
3#
4# qmake configuration for hpux-g++
5#
6# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
7# we also need to redefine _HPUX_SOURCE.
8# See pthread(3t) for more details.
9#
10
11 MAKEFILE_GENERATOR= UNIX
12 TEMPLATE = app
13 CONFIG += qt warn_on release
14
15 QMAKE_CC = gcc
16 QMAKE_LEX = flex
17 QMAKE_LEXFLAGS =
18 QMAKE_YACC = yacc
19 QMAKE_YACCFLAGS = -d
20 QMAKE_CFLAGS =
21 QMAKE_CFLAGS_DEPS= -M
22 QMAKE_CFLAGS_WARN_ON= -Wall -W
23 QMAKE_CFLAGS_WARN_OFF= -w
24 QMAKE_CFLAGS_RELEASE= -O2
25 QMAKE_CFLAGS_DEBUG= -g
26 QMAKE_CFLAGS_SHLIB= -fPIC
27 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
28 QMAKE_CFLAGS_THREAD= -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
29
30 QMAKE_CXX = g++
31 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
32 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
33 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
34 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
35 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
36 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
37 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
38 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
39 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
40
41 QMAKE_INCDIR =
42 QMAKE_LIBDIR =
43 QMAKE_INCDIR_X11= /usr/include/X11R6
44 QMAKE_LIBDIR_X11= /usr/lib/X11R6
45 QMAKE_INCDIR_QT = $(QTDIR)/include
46 QMAKE_LIBDIR_QT = $(QTDIR)/lib
47 QMAKE_INCDIR_OPENGL= /opt/Mesa/include /usr/contrib/X11R6/include
48 QMAKE_LIBDIR_OPENGL= /opt/Mesa/lib /usr/contrib/X11R6/lib
49
50 QMAKE_LINK = g++
51 QMAKE_LINK_SHLIB= g++
52 QMAKE_LFLAGS = -Wl,+s
53 QMAKE_LFLAGS_RELEASE=
54 QMAKE_LFLAGS_DEBUG=
55 QMAKE_LFLAGS_SHLIB= -fPIC -shared
56 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
57 QMAKE_LFLAGS_SONAME= -Wl,+h,
58 QMAKE_RPATH = -Wl,+b,
59
60 QMAKE_LIBS =
61 QMAKE_LIBS_DYNLOAD= -ldld
62 QMAKE_LIBS_X11 = -lXext -lX11 -lm
63 QMAKE_LIBS_X11SM= -lSM -lICE
64 QMAKE_LIBS_QT = -lqt
65
66 QMAKE_LIBS_OPENGL=
67 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
68 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
69 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
70
71 QMAKE_MOC = $(QTDIR)/bin/moc
72 QMAKE_UIC = $(QTDIR)/bin/uic
73
74 QMAKE_AR = ar cqs
75 QMAKE_RANLIB =
76
77 QMAKE_TAR = tar -cf
78 QMAKE_GZIP = gzip -9f
79
80 QMAKE_COPY = cp -f
81 QMAKE_MOVE = mv -f
82 QMAKE_DEL_FILE = rm -f
83 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/hpux-g++/qplatformdefs.h b/mkspecs/hpux-g++/qplatformdefs.h
new file mode 100644
index 0000000..447e883
--- a/dev/null
+++ b/mkspecs/hpux-g++/qplatformdefs.h
@@ -0,0 +1,87 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dl.h>
26#define QT_HPUX_LD
27#define QT_NO_LIBRARY_UNLOAD
28
29#include <sys/types.h>
30#include <sys/ioctl.h>
31#include <sys/ipc.h>
32#include <sys/time.h>
33#include <sys/shm.h>
34#include <sys/socket.h>
35#include <sys/stat.h>
36#include <sys/wait.h>
37
38// DNS header files are not fully covered by X/Open specifications.
39// In particular nothing is said about res_* :/
40#include <netinet/in.h>
41#include <arpa/nameser.h>
42#include <resolv.h>
43// Undeclared - at least on HP-UX 10.20.
44extern "C" int res_init();
45
46
47#if !defined(QT_NO_COMPAT)
48 #define QT_STATBUF struct stat
49 #define QT_STATBUF4TSTATstruct stat
50 #define QT_STAT ::stat
51 #define QT_FSTAT ::fstat
52 #define QT_STAT_REG S_IFREG
53 #define QT_STAT_DIR S_IFDIR
54 #define QT_STAT_MASK S_IFMT
55 #define QT_STAT_LNK S_IFLNK
56 #define QT_FILENO fileno
57 #define QT_OPEN ::open
58 #define QT_CLOSE ::close
59 #define QT_LSEEK ::lseek
60 #define QT_READ ::read
61 #define QT_WRITE ::write
62 #define QT_ACCESS ::access
63 #define QT_GETCWD ::getcwd
64 #define QT_CHDIR ::chdir
65 #define QT_MKDIR ::mkdir
66 #define QT_RMDIR ::rmdir
67 #define QT_OPEN_RDONLY O_RDONLY
68 #define QT_OPEN_WRONLY O_WRONLY
69 #define QT_OPEN_RDWR O_RDWR
70 #define QT_OPEN_CREAT O_CREAT
71 #define QT_OPEN_TRUNC O_TRUNC
72 #define QT_OPEN_APPEND O_APPEND
73#endif
74
75 #define QT_SIGNAL_RETTYPEvoid
76 #define QT_SIGNAL_ARGS int
77 #define QT_SIGNAL_IGNORESIG_IGN
78
79 #define QT_SOCKLEN_T int
80
81// presence of _XOPEN_UNIX can be used to detect HP-UX 10 or higher
82#if !defined(_XOPEN_UNIX)
83// HP-UX 9's select() didn't accept fd_set, yet.
84#define select(a,b,c,d,e) select((a), (int *)(b), (int *)(c), (int *)(d), (e))
85#endif
86
87#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/hurd-g++/qmake.conf b/mkspecs/hurd-g++/qmake.conf
new file mode 100644
index 0000000..d3a22f6
--- a/dev/null
+++ b/mkspecs/hurd-g++/qmake.conf
@@ -0,0 +1,77 @@
1#
2# $Id$
3#
4# qmake configuration for hurd-g++
5#
6# Submitted by uch@nop.or.jp as "gnu-g++".
7# Renamed to "hurd-g++" because people were confusing gnu with linux.
8#
9
10 MAKEFILE_GENERATOR= UNIX
11 TEMPLATE = app
12 CONFIG += qt warn_on release
13
14 QMAKE_CC = gcc
15 QMAKE_LEX = flex
16 QMAKE_LEXFLAGS =
17 QMAKE_YACC = yacc
18 QMAKE_YACCFLAGS = -d
19 QMAKE_CFLAGS =
20 QMAKE_CFLAGS_DEPS= -M
21 QMAKE_CFLAGS_WARN_ON= -Wall -W
22 QMAKE_CFLAGS_WARN_OFF= -w
23 QMAKE_CFLAGS_RELEASE= -O2
24 QMAKE_CFLAGS_DEBUG= -g
25 QMAKE_CFLAGS_SHLIB= -fPIC
26 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
27
28 QMAKE_CXX = g++
29 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
30 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
31 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
32 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
33 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
34 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
35 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
36 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
37
38 QMAKE_INCDIR =
39 QMAKE_LIBDIR =
40 QMAKE_INCDIR_X11= /usr/X11R6/include
41 QMAKE_LIBDIR_X11= /usr/X11R6/lib
42 QMAKE_INCDIR_QT = $(QTDIR)/include
43 QMAKE_LIBDIR_QT = $(QTDIR)/lib
44 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
45 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
46
47 QMAKE_LINK = g++
48 QMAKE_LINK_SHLIB= g++
49 QMAKE_LFLAGS = -Wl,-rpath=/lib:/usr/X11R6/lib:$(QTDIR)/lib
50 QMAKE_LFLAGS_RELEASE=
51 QMAKE_LFLAGS_DEBUG=
52 QMAKE_LFLAGS_SHLIB= -shared
53 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
54 QMAKE_LFLAGS_SONAME= -Wl,-soname,
55
56 QMAKE_LIBS =
57 QMAKE_LIBS_DYNLOAD= -ldl
58 QMAKE_LIBS_X11 = -lXext -lX11 -lm
59 QMAKE_LIBS_QT = -lqt
60
61 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
62 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
63
64 QMAKE_MOC = $(QTDIR)/bin/moc
65 QMAKE_UIC = $(QTDIR)/bin/uic
66
67 QMAKE_AR = ar cqs
68 QMAKE_RANLIB =
69
70 QMAKE_TAR = tar -cf
71 QMAKE_GZIP = gzip -9f
72
73 QMAKE_COPY = cp -f
74 QMAKE_MOVE = mv -f
75 QMAKE_DEL_FILE = rm -f
76 QMAKE_DEL_DIR = rmdir
77
diff --git a/mkspecs/hurd-g++/qplatformdefs.h b/mkspecs/hurd-g++/qplatformdefs.h
new file mode 100644
index 0000000..bf750e5
--- a/dev/null
+++ b/mkspecs/hurd-g++/qplatformdefs.h
@@ -0,0 +1,103 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10// DNS system header files are a mess!
11// <resolv.h> includes <arpa/nameser.h>. <arpa/nameser.h> is using
12// 'u_char' and includes <sys/types.h>. Now the problem is that
13// <sys/types.h> defines 'u_char' only if __USE_BSD is defined.
14// __USE_BSD is defined in <features.h> if _BSD_SOURCE is defined.
15#ifndef _BSD_SOURCE
16# define _BSD_SOURCE
17#endif
18
19// 1) need to reset default environment if _BSD_SOURCE is defined
20// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
21// 3) it seems older glibc need this to include the X/Open stuff
22#ifndef _GNU_SOURCE
23# define _GNU_SOURCE
24#endif
25
26
27#include <unistd.h>
28
29
30// We are hot - unistd.h should have turned on the specific APIs we requested
31
32
33#ifdef QT_THREAD_SUPPORT
34#include <pthread.h>
35#endif
36
37#include <dirent.h>
38#include <fcntl.h>
39#include <grp.h>
40#include <pwd.h>
41#include <signal.h>
42#include <dlfcn.h>
43
44#include <sys/types.h>
45#include <sys/ioctl.h>
46#include <sys/ipc.h>
47#include <sys/time.h>
48#include <sys/shm.h>
49#include <sys/socket.h>
50#include <sys/stat.h>
51#include <sys/wait.h>
52
53// DNS header files are not fully covered by X/Open specifications.
54// In particular nothing is said about res_* :/
55// Header files <netinet/in.h> and <arpa/nameser.h> are not included
56// by <resolv.h> on older versions of the GNU C library. Note that
57// <arpa/nameser.h> must be included before <resolv.h>.
58#include <netinet/in.h>
59#include <arpa/nameser.h>
60#include <resolv.h>
61
62
63#if !defined(QT_NO_COMPAT)
64 #define QT_STATBUF struct stat
65 #define QT_STATBUF4TSTATstruct stat
66 #define QT_STAT ::stat
67 #define QT_FSTAT ::fstat
68 #define QT_STAT_REG S_IFREG
69 #define QT_STAT_DIR S_IFDIR
70 #define QT_STAT_MASK S_IFMT
71 #define QT_STAT_LNK S_IFLNK
72 #define QT_FILENO fileno
73 #define QT_OPEN ::open
74 #define QT_CLOSE ::close
75 #define QT_LSEEK ::lseek
76 #define QT_READ ::read
77 #define QT_WRITE ::write
78 #define QT_ACCESS ::access
79 #define QT_GETCWD ::getcwd
80 #define QT_CHDIR ::chdir
81 #define QT_MKDIR ::mkdir
82 #define QT_RMDIR ::rmdir
83 #define QT_OPEN_RDONLY O_RDONLY
84 #define QT_OPEN_WRONLY O_WRONLY
85 #define QT_OPEN_RDWR O_RDWR
86 #define QT_OPEN_CREAT O_CREAT
87 #define QT_OPEN_TRUNC O_TRUNC
88 #define QT_OPEN_APPEND O_APPEND
89#endif
90
91 #define QT_SIGNAL_RETTYPEvoid
92 #define QT_SIGNAL_ARGS int
93 #define QT_SIGNAL_IGNORESIG_IGN
94
95 #define QT_SOCKLEN_T socklen_t
96
97#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
98 #define QT_SNPRINTF ::snprintf
99 #define QT_VSNPRINTF ::vsnprintf
100#endif
101
102
103#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/irix-cc-64/qmake.conf b/mkspecs/irix-cc-64/qmake.conf
new file mode 100644
index 0000000..f5a127f
--- a/dev/null
+++ b/mkspecs/irix-cc-64/qmake.conf
@@ -0,0 +1,113 @@
1#
2# $Id$
3#
4# qmake configuration for irix-64
5#
6# From cc(1):
7 # -64
8 # Generates a 64-bit object. This defaults to -mips4 if -mips3 has
9 # not been specified.
10 # -LANG: ...
11 # The language feature option group controls the source language
12 # interpretation assumed by the compiler. The individual controls
13 # in this group are as follows:
14 # ansi-for-init-scope [ = ( ON|OFF ) ]
15 # Enables or disables the ANSI scoping rules for for-init
16 # declarations (the scope of the name declared extends to
17 # the end of the for statement). This enables the behavior
18 # that is required by the C++ standard. The default value
19 # is OFF, which is the ARM behavior (the scope of the name
20 # declared extends to the end of the block enclosing the for
21 # statement).
22 # bool [ = ( ON|OFF ) ]
23 # Enables or disables the predefined bool data type, along
24 # with the predefined values true and false. Use this option
25 # only to suppress this type in old code that defines bool
26 # itself. Because this option changes the mangling of function
27 # names with bool parameters, all files comprising a program
28 # should be compiled with consistent options.
29 # Default is ON.
30 # The _BOOL feature macro can be used in #ifdefs to do conditional
31 # compilation based on whether or not this option is enabled.
32 # std
33 # Enables use of the standard C++ library and standard-
34 # conforming iostream library. Specifying this flag also
35 # triggers other standard-conforming behavior, such as the
36 # new rules for the scope of for loop initializers.
37#
38
39 MAKEFILE_GENERATOR= UNIX
40 TEMPLATE = app
41 CONFIG += qt warn_on release
42
43 QMAKE_CC = cc
44 QMAKE_LEX = flex
45 QMAKE_LEXFLAGS =
46 QMAKE_YACC = yacc
47 QMAKE_YACCFLAGS = -d
48 QMAKE_CFLAGS = -64 -woff 1021,1209,1233,1314,1355,1375,1506
49 QMAKE_CFLAGS_DEPS= -M
50 QMAKE_CFLAGS_WARN_ON= -fullwarn
51 QMAKE_CFLAGS_WARN_OFF=
52 QMAKE_CFLAGS_RELEASE= -O2 -OPT:Olimit=3000
53 QMAKE_CFLAGS_DEBUG= -g
54 QMAKE_CFLAGS_SHLIB=
55 QMAKE_CFLAGS_YACC= -woff 1110,1174,3262
56 QMAKE_CFLAGS_THREAD=
57
58 QMAKE_CXX = CC
59 QMAKE_CXXFLAGS = -64 -woff 1021,1209,1233,1314,1355,1375,1506,1681,1682,3496
60 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
61 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
62 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
63 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
64 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
65 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
66 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
67 QMAKE_CXXFLAGS_THREAD=
68
69 QMAKE_INCDIR =
70 QMAKE_LIBDIR =
71 QMAKE_INCDIR_X11=
72 QMAKE_LIBDIR_X11=
73 QMAKE_INCDIR_QT = $(QTDIR)/include
74 QMAKE_LIBDIR_QT = $(QTDIR)/lib
75 QMAKE_INCDIR_OPENGL=
76 QMAKE_LIBDIR_OPENGL=
77
78 QMAKE_LINK = CC
79 QMAKE_LINK_SHLIB= CC
80 QMAKE_LFLAGS = -64
81 QMAKE_LFLAGS_RELEASE=
82 QMAKE_LFLAGS_DEBUG=
83 QMAKE_LFLAGS_SHLIB= -shared
84 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
85 QMAKE_LFLAGS_SONAME= -Wl,-soname,
86 QMAKE_LFLAGS_THREAD=
87 QMAKE_RPATH = -Wl,-rpath,
88
89 QMAKE_LIBS =
90 QMAKE_LIBS_DYNLOAD=
91 QMAKE_LIBS_X11 = -lXext -lX11 -lm
92 QMAKE_LIBS_X11SM= -lSM -lICE
93 QMAKE_LIBS_QT = -lqt
94 QMAKE_LIBS_QT_THREAD= -lqt-mt
95 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu -lm
96 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
97 QMAKE_LIBS_THREAD= -lpthread
98
99 QMAKE_MOC = $(QTDIR)/bin/moc
100 QMAKE_UIC = $(QTDIR)/bin/uic
101
102 QMAKE_AR = CC -ar -o
103 QMAKE_RANLIB =
104
105 QMAKE_CLEAN = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
106
107 QMAKE_TAR = tar -cf
108 QMAKE_GZIP = gzip -9f
109
110 QMAKE_COPY = cp -f
111 QMAKE_MOVE = mv -f
112 QMAKE_DEL_FILE = rm -f
113 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/irix-cc-64/qplatformdefs.h b/mkspecs/irix-cc-64/qplatformdefs.h
new file mode 100644
index 0000000..c6eaa2f
--- a/dev/null
+++ b/mkspecs/irix-cc-64/qplatformdefs.h
@@ -0,0 +1,88 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/shm.h>
32#include <sys/socket.h>
33#include <sys/stat.h>
34#include <sys/wait.h>
35
36// DNS header files are not fully covered by X/Open specifications.
37// In particular nothing is said about res_* :/
38// On IRIX header files <netinet/in.h> and <arpa/nameser.h> are not
39// included by <resolv.h>. Note that <arpa/nameser.h> must be included
40// before <resolv.h>.
41#include <netinet/in.h>
42#include <arpa/nameser.h>
43#include <resolv.h>
44
45
46#if !defined(QT_NO_COMPAT)
47 #define QT_STATBUF struct stat
48 #define QT_STATBUF4TSTATstruct stat
49 #define QT_STAT ::stat
50 #define QT_FSTAT ::fstat
51 #define QT_STAT_REG S_IFREG
52 #define QT_STAT_DIR S_IFDIR
53 #define QT_STAT_MASK S_IFMT
54 #define QT_STAT_LNK S_IFLNK
55 #define QT_FILENO fileno
56 #define QT_OPEN ::open
57 #define QT_CLOSE ::close
58 #define QT_LSEEK ::lseek
59 #define QT_READ ::read
60 #define QT_WRITE ::write
61 #define QT_ACCESS ::access
62 #define QT_GETCWD ::getcwd
63 #define QT_CHDIR ::chdir
64 #define QT_MKDIR ::mkdir
65 #define QT_RMDIR ::rmdir
66 #define QT_OPEN_RDONLY O_RDONLY
67 #define QT_OPEN_WRONLY O_WRONLY
68 #define QT_OPEN_RDWR O_RDWR
69 #define QT_OPEN_CREAT O_CREAT
70 #define QT_OPEN_TRUNC O_TRUNC
71 #define QT_OPEN_APPEND O_APPEND
72#endif
73
74 #define QT_SIGNAL_RETTYPEvoid
75 #define QT_SIGNAL_ARGS int
76 #define QT_SIGNAL_IGNORESIG_IGN
77
78 #define QT_SOCKLEN_T int
79
80#if 0
81// on Irix 6.5 and better only - but how to check for it?
82#if defined(_SGIAPI)
83 #define QT_SNPRINTF ::snprintf
84 #define QT_VSNPRINTF ::vsnprintf
85#endif
86#endif
87
88#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/irix-cc-o32/qmake.conf b/mkspecs/irix-cc-o32/qmake.conf
new file mode 100644
index 0000000..b04ce09
--- a/dev/null
+++ b/mkspecs/irix-cc-o32/qmake.conf
@@ -0,0 +1,87 @@
1#
2# $Id$
3#
4# qmake configuration for irix-o32
5#
6# From cc(1):
7 # -o32 or -32
8 # Generates an (old) 32-bit object. See the o32(5) man page for
9 # option descriptions and details. This defaults to -mips2 if
10 # -mips1 has not been specified.
11#
12
13 MAKEFILE_GENERATOR= UNIX
14 TEMPLATE = app
15 CONFIG += qt warn_on release
16
17 QMAKE_CC = cc
18 QMAKE_LEX = flex
19 QMAKE_LEXFLAGS =
20 QMAKE_YACC = yacc
21 QMAKE_YACCFLAGS = -d
22 QMAKE_CFLAGS_DEPS= -M
23 QMAKE_CFLAGS = -o32 -woff 3203,3260,3672
24 QMAKE_CFLAGS_WARN_ON= -fullwarn
25 QMAKE_CFLAGS_WARN_OFF=
26 QMAKE_CFLAGS_RELEASE= -O2 -Olimit 3000
27 QMAKE_CFLAGS_DEBUG= -g
28 QMAKE_CFLAGS_SHLIB=
29 QMAKE_CFLAGS_YACC= -woff 3203,3262
30 QMAKE_CFLAGS_THREAD=
31
32 QMAKE_CXX = CC
33 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
34 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
35 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
36 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
37 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
38 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
39 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
40 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
41 QMAKE_CXXFLAGS_THREAD=
42
43 QMAKE_INCDIR =
44 QMAKE_LIBDIR =
45 QMAKE_INCDIR_X11=
46 QMAKE_LIBDIR_X11=
47 QMAKE_INCDIR_QT = $(QTDIR)/include
48 QMAKE_LIBDIR_QT = $(QTDIR)/lib
49 QMAKE_INCDIR_OPENGL=
50 QMAKE_LIBDIR_OPENGL=
51
52 QMAKE_LINK = CC
53 QMAKE_LINK_SHLIB= CC
54 QMAKE_LFLAGS = -o32
55 QMAKE_LFLAGS_RELEASE=
56 QMAKE_LFLAGS_DEBUG=
57 QMAKE_LFLAGS_SHLIB= -shared
58 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
59 QMAKE_LFLAGS_SONAME= -Wl,-soname,
60 QMAKE_LFLAGS_THREAD=
61 QMAKE_RPATH = -Wl,-rpath,
62
63 QMAKE_LIBS =
64 QMAKE_LIBS_DYNLOAD=
65 QMAKE_LIBS_X11 = -lXext -lX11 -lm
66 QMAKE_LIBS_X11SM= -lSM -lICE
67 QMAKE_LIBS_QT = -lqt
68 QMAKE_LIBS_QT_THREAD= -lqt-mt
69 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu -lm
70 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
71 QMAKE_LIBS_THREAD= -lpthread
72
73 QMAKE_MOC = $(QTDIR)/bin/moc
74 QMAKE_UIC = $(QTDIR)/bin/uic
75
76 QMAKE_AR = ar cq
77 QMAKE_RANLIB =
78
79 QMAKE_CLEAN = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
80
81 QMAKE_TAR = tar -cf
82 QMAKE_GZIP = gzip -9f
83
84 QMAKE_COPY = cp -f
85 QMAKE_MOVE = mv -f
86 QMAKE_DEL_FILE = rm -f
87 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/irix-cc-o32/qplatformdefs.h b/mkspecs/irix-cc-o32/qplatformdefs.h
new file mode 100644
index 0000000..c6eaa2f
--- a/dev/null
+++ b/mkspecs/irix-cc-o32/qplatformdefs.h
@@ -0,0 +1,88 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/shm.h>
32#include <sys/socket.h>
33#include <sys/stat.h>
34#include <sys/wait.h>
35
36// DNS header files are not fully covered by X/Open specifications.
37// In particular nothing is said about res_* :/
38// On IRIX header files <netinet/in.h> and <arpa/nameser.h> are not
39// included by <resolv.h>. Note that <arpa/nameser.h> must be included
40// before <resolv.h>.
41#include <netinet/in.h>
42#include <arpa/nameser.h>
43#include <resolv.h>
44
45
46#if !defined(QT_NO_COMPAT)
47 #define QT_STATBUF struct stat
48 #define QT_STATBUF4TSTATstruct stat
49 #define QT_STAT ::stat
50 #define QT_FSTAT ::fstat
51 #define QT_STAT_REG S_IFREG
52 #define QT_STAT_DIR S_IFDIR
53 #define QT_STAT_MASK S_IFMT
54 #define QT_STAT_LNK S_IFLNK
55 #define QT_FILENO fileno
56 #define QT_OPEN ::open
57 #define QT_CLOSE ::close
58 #define QT_LSEEK ::lseek
59 #define QT_READ ::read
60 #define QT_WRITE ::write
61 #define QT_ACCESS ::access
62 #define QT_GETCWD ::getcwd
63 #define QT_CHDIR ::chdir
64 #define QT_MKDIR ::mkdir
65 #define QT_RMDIR ::rmdir
66 #define QT_OPEN_RDONLY O_RDONLY
67 #define QT_OPEN_WRONLY O_WRONLY
68 #define QT_OPEN_RDWR O_RDWR
69 #define QT_OPEN_CREAT O_CREAT
70 #define QT_OPEN_TRUNC O_TRUNC
71 #define QT_OPEN_APPEND O_APPEND
72#endif
73
74 #define QT_SIGNAL_RETTYPEvoid
75 #define QT_SIGNAL_ARGS int
76 #define QT_SIGNAL_IGNORESIG_IGN
77
78 #define QT_SOCKLEN_T int
79
80#if 0
81// on Irix 6.5 and better only - but how to check for it?
82#if defined(_SGIAPI)
83 #define QT_SNPRINTF ::snprintf
84 #define QT_VSNPRINTF ::vsnprintf
85#endif
86#endif
87
88#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/irix-cc/qmake.conf b/mkspecs/irix-cc/qmake.conf
new file mode 100644
index 0000000..e483235
--- a/dev/null
+++ b/mkspecs/irix-cc/qmake.conf
@@ -0,0 +1,113 @@
1#
2# $Id$
3#
4# qmake configuration for irix-n32
5#
6# From cc(1):
7 # -n32
8 # Generates a (new) 32-bit object. This defaults to -mips3 if
9 # -mips4 has not been specified.
10 # -LANG: ...
11 # The language feature option group controls the source language
12 # interpretation assumed by the compiler. The individual controls
13 # in this group are as follows:
14 # ansi-for-init-scope [ = ( ON|OFF ) ]
15 # Enables or disables the ANSI scoping rules for for-init
16 # declarations (the scope of the name declared extends to
17 # the end of the for statement). This enables the behavior
18 # that is required by the C++ standard. The default value
19 # is OFF, which is the ARM behavior (the scope of the name
20 # declared extends to the end of the block enclosing the for
21 # statement).
22 # bool [ = ( ON|OFF ) ]
23 # Enables or disables the predefined bool data type, along
24 # with the predefined values true and false. Use this option
25 # only to suppress this type in old code that defines bool
26 # itself. Because this option changes the mangling of function
27 # names with bool parameters, all files comprising a program
28 # should be compiled with consistent options.
29 # Default is ON.
30 # The _BOOL feature macro can be used in #ifdefs to do conditional
31 # compilation based on whether or not this option is enabled.
32 # std
33 # Enables use of the standard C++ library and standard-
34 # conforming iostream library. Specifying this flag also
35 # triggers other standard-conforming behavior, such as the
36 # new rules for the scope of for loop initializers.
37#
38
39 MAKEFILE_GENERATOR= UNIX
40 TEMPLATE = app
41 CONFIG += qt warn_on release
42
43 QMAKE_CC = cc
44 QMAKE_LEX = flex
45 QMAKE_LEXFLAGS =
46 QMAKE_YACC = yacc
47 QMAKE_YACCFLAGS = -d
48 QMAKE_CFLAGS = -n32 -woff 1021,1209,1233,1314,1355,1375,1506
49 QMAKE_CFLAGS_DEPS= -M
50 QMAKE_CFLAGS_WARN_ON= -fullwarn
51 QMAKE_CFLAGS_WARN_OFF=
52 QMAKE_CFLAGS_RELEASE= -O2 -OPT:Olimit=3000
53 QMAKE_CFLAGS_DEBUG= -g
54 QMAKE_CFLAGS_SHLIB=
55 QMAKE_CFLAGS_YACC= -woff 1110,1174,3262
56 QMAKE_CFLAGS_THREAD=
57
58 QMAKE_CXX = CC
59 QMAKE_CXXFLAGS = -n32 -woff 1021,1209,1233,1314,1355,1375,1506,1681,1682,3496
60 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
61 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
62 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
63 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
64 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
65 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
66 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
67 QMAKE_CXXFLAGS_THREAD=
68
69 QMAKE_INCDIR =
70 QMAKE_LIBDIR =
71 QMAKE_INCDIR_X11=
72 QMAKE_LIBDIR_X11=
73 QMAKE_INCDIR_QT = $(QTDIR)/include
74 QMAKE_LIBDIR_QT = $(QTDIR)/lib
75 QMAKE_INCDIR_OPENGL=
76 QMAKE_LIBDIR_OPENGL=
77
78 QMAKE_LINK = CC
79 QMAKE_LINK_SHLIB= CC
80 QMAKE_LFLAGS = -n32
81 QMAKE_LFLAGS_RELEASE=
82 QMAKE_LFLAGS_DEBUG=
83 QMAKE_LFLAGS_SHLIB= -shared
84 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
85 QMAKE_LFLAGS_SONAME= -Wl,-soname,
86 QMAKE_LFLAGS_THREAD=
87 QMAKE_RPATH = -Wl,-rpath,
88
89 QMAKE_LIBS =
90 QMAKE_LIBS_DYNLOAD=
91 QMAKE_LIBS_X11 = -lXext -lX11 -lm
92 QMAKE_LIBS_X11SM= -lSM -lICE
93 QMAKE_LIBS_QT = -lqt
94 QMAKE_LIBS_QT_THREAD= -lqt-mt
95 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu -lm
96 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
97 QMAKE_LIBS_THREAD= -lpthread
98
99 QMAKE_MOC = $(QTDIR)/bin/moc
100 QMAKE_UIC = $(QTDIR)/bin/uic
101
102 QMAKE_AR = CC -ar -o
103 QMAKE_RANLIB =
104
105 QMAKE_CLEAN = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files
106
107 QMAKE_TAR = tar -cf
108 QMAKE_GZIP = gzip -9f
109
110 QMAKE_COPY = cp -f
111 QMAKE_MOVE = mv -f
112 QMAKE_DEL_FILE = rm -f
113 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/irix-cc/qplatformdefs.h b/mkspecs/irix-cc/qplatformdefs.h
new file mode 100644
index 0000000..c6eaa2f
--- a/dev/null
+++ b/mkspecs/irix-cc/qplatformdefs.h
@@ -0,0 +1,88 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/shm.h>
32#include <sys/socket.h>
33#include <sys/stat.h>
34#include <sys/wait.h>
35
36// DNS header files are not fully covered by X/Open specifications.
37// In particular nothing is said about res_* :/
38// On IRIX header files <netinet/in.h> and <arpa/nameser.h> are not
39// included by <resolv.h>. Note that <arpa/nameser.h> must be included
40// before <resolv.h>.
41#include <netinet/in.h>
42#include <arpa/nameser.h>
43#include <resolv.h>
44
45
46#if !defined(QT_NO_COMPAT)
47 #define QT_STATBUF struct stat
48 #define QT_STATBUF4TSTATstruct stat
49 #define QT_STAT ::stat
50 #define QT_FSTAT ::fstat
51 #define QT_STAT_REG S_IFREG
52 #define QT_STAT_DIR S_IFDIR
53 #define QT_STAT_MASK S_IFMT
54 #define QT_STAT_LNK S_IFLNK
55 #define QT_FILENO fileno
56 #define QT_OPEN ::open
57 #define QT_CLOSE ::close
58 #define QT_LSEEK ::lseek
59 #define QT_READ ::read
60 #define QT_WRITE ::write
61 #define QT_ACCESS ::access
62 #define QT_GETCWD ::getcwd
63 #define QT_CHDIR ::chdir
64 #define QT_MKDIR ::mkdir
65 #define QT_RMDIR ::rmdir
66 #define QT_OPEN_RDONLY O_RDONLY
67 #define QT_OPEN_WRONLY O_WRONLY
68 #define QT_OPEN_RDWR O_RDWR
69 #define QT_OPEN_CREAT O_CREAT
70 #define QT_OPEN_TRUNC O_TRUNC
71 #define QT_OPEN_APPEND O_APPEND
72#endif
73
74 #define QT_SIGNAL_RETTYPEvoid
75 #define QT_SIGNAL_ARGS int
76 #define QT_SIGNAL_IGNORESIG_IGN
77
78 #define QT_SOCKLEN_T int
79
80#if 0
81// on Irix 6.5 and better only - but how to check for it?
82#if defined(_SGIAPI)
83 #define QT_SNPRINTF ::snprintf
84 #define QT_VSNPRINTF ::vsnprintf
85#endif
86#endif
87
88#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/irix-g++/qmake.conf b/mkspecs/irix-g++/qmake.conf
new file mode 100644
index 0000000..006eccb
--- a/dev/null
+++ b/mkspecs/irix-g++/qmake.conf
@@ -0,0 +1,84 @@
1#
2# $Id$
3#
4# qmake configuration for irix-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS =
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -fPIC
23 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
24 QMAKE_CFLAGS_THREAD=
25
26 QMAKE_CXX = g++
27 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD=
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11=
40 QMAKE_LIBDIR_X11=
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL=
44 QMAKE_LIBDIR_OPENGL=
45
46 QMAKE_LINK = g++
47 QMAKE_LINK_SHLIB= g++
48 QMAKE_LFLAGS =
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHLIB= -shared
52 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
53 QMAKE_LFLAGS_SONAME= -Wl,-soname,
54 QMAKE_LFLAGS_THREAD=
55 QMAKE_RPATH = -Wl,-rpath,
56
57 QMAKE_LIBS =
58 QMAKE_LIBS_DYNLOAD=
59 QMAKE_LIBS_X11 = -lXext -lX11 -lm
60 QMAKE_LIBS_X11SM= -lSM -lICE
61 QMAKE_LIBS_QT = -lqt
62 QMAKE_LIBS_QT_THREAD= -lqt-mt
63# libGLU is using the SGI C++ library internally and this somehow clashes
64# with the GNU C++ library (similar name mangling and symbol names?)
65# so we add -lC so that the SGI C++ library is used first...
66 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu -lC
67 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
68 QMAKE_LIBS_THREAD= -lpthread
69
70 QMAKE_MOC = $(QTDIR)/bin/moc
71 QMAKE_UIC = $(QTDIR)/bin/uic
72
73 QMAKE_AR = ar cq
74 QMAKE_RANLIB =
75
76 QMAKE_CLEAN = so_locations
77
78 QMAKE_TAR = tar -cf
79 QMAKE_GZIP = gzip -9f
80
81 QMAKE_COPY = cp -f
82 QMAKE_MOVE = mv -f
83 QMAKE_DEL_FILE = rm -f
84 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/irix-g++/qplatformdefs.h b/mkspecs/irix-g++/qplatformdefs.h
new file mode 100644
index 0000000..757afcc
--- a/dev/null
+++ b/mkspecs/irix-g++/qplatformdefs.h
@@ -0,0 +1,93 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/shm.h>
32#include <sys/socket.h>
33#include <sys/stat.h>
34#include <sys/wait.h>
35
36// DNS header files are not fully covered by X/Open specifications.
37// In particular nothing is said about res_* :/
38// On IRIX header files <netinet/in.h> and <arpa/nameser.h> are not
39// included by <resolv.h>. Note that <arpa/nameser.h> must be included
40// before <resolv.h>.
41#include <netinet/in.h>
42#include <arpa/nameser.h>
43#include <resolv.h>
44
45
46#if !defined(QT_NO_COMPAT)
47 #define QT_STATBUF struct stat
48 #define QT_STATBUF4TSTATstruct stat
49 #define QT_STAT ::stat
50 #define QT_FSTAT ::fstat
51 #define QT_STAT_REG S_IFREG
52 #define QT_STAT_DIR S_IFDIR
53 #define QT_STAT_MASK S_IFMT
54 #define QT_STAT_LNK S_IFLNK
55 #define QT_FILENO fileno
56 #define QT_OPEN ::open
57 #define QT_CLOSE ::close
58 #define QT_LSEEK ::lseek
59 #define QT_READ ::read
60 #define QT_WRITE ::write
61 #define QT_ACCESS ::access
62 #define QT_GETCWD ::getcwd
63 #define QT_CHDIR ::chdir
64 #define QT_MKDIR ::mkdir
65 #define QT_RMDIR ::rmdir
66 #define QT_OPEN_RDONLY O_RDONLY
67 #define QT_OPEN_WRONLY O_WRONLY
68 #define QT_OPEN_RDWR O_RDWR
69 #define QT_OPEN_CREAT O_CREAT
70 #define QT_OPEN_TRUNC O_TRUNC
71 #define QT_OPEN_APPEND O_APPEND
72#endif
73
74 #define QT_SIGNAL_RETTYPEvoid
75#if defined(_LANGUAGE_C_PLUS_PLUS) || !defined(_SGIAPI)
76 #define QT_SIGNAL_ARGS int
77#else
78 #define QT_SIGNAL_ARGS void
79#endif
80 #define QT_SIGNAL_IGNORESIG_IGN
81
82 #define QT_SOCKLEN_T int
83
84#if 0
85// on Irix 6.5 and better only - but how to check for it?
86#if defined(_SGIAPI)
87 #define QT_SNPRINTF ::snprintf
88 #define QT_VSNPRINTF ::vsnprintf
89#endif
90#endif
91
92#endif // QPLATFORMDEFS_H
93
diff --git a/mkspecs/linux-cxx/qmake.conf b/mkspecs/linux-cxx/qmake.conf
new file mode 100644
index 0000000..6c2407b
--- a/dev/null
+++ b/mkspecs/linux-cxx/qmake.conf
@@ -0,0 +1,75 @@
1#
2# $Id$
3#
4# qmake configuration for Compaq C++ for Linux on Alpha
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = ccc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -w
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON=
19 QMAKE_CFLAGS_WARN_OFF=
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB=
23 QMAKE_CFLAGS_YACC= -Olimit 1000
24
25 QMAKE_CXX = cxx
26 QMAKE_CXXFLAGS = -w
27 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
28 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
29 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
30 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
31 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
32 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
33 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
34
35 QMAKE_INCDIR =
36 QMAKE_LIBDIR =
37 QMAKE_INCDIR_X11= /usr/X11R6/include
38 QMAKE_LIBDIR_X11= /usr/X11R6/lib
39 QMAKE_INCDIR_QT = $(QTDIR)/include
40 QMAKE_LIBDIR_QT = $(QTDIR)/lib
41 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
42 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
43
44 QMAKE_LINK = cxx
45 QMAKE_LINK_SHLIB= cxx
46 QMAKE_LFLAGS =
47 QMAKE_LFLAGS_RELEASE=
48 QMAKE_LFLAGS_DEBUG=
49 QMAKE_LFLAGS_SHLIB= -shared
50 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
51 QMAKE_LFLAGS_SONAME= -Wl,-soname,
52
53 QMAKE_LIBS =
54 QMAKE_LIBS_DYNLOAD= -ldl
55 QMAKE_LIBS_X11 = -lXext -lX11 -lm
56 QMAKE_LIBS_X11SM= -lSM -lICE
57 QMAKE_LIBS_NIS = -lnsl
58 QMAKE_LIBS_QT = -lqt
59
60 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
61 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
62
63 QMAKE_MOC = $(QTDIR)/bin/moc
64 QMAKE_UIC = $(QTDIR)/bin/uic
65
66 QMAKE_AR = ar cqs
67 QMAKE_RANLIB =
68
69 QMAKE_TAR = tar -cf
70 QMAKE_GZIP = gzip -9f
71
72 QMAKE_COPY = cp -f
73 QMAKE_MOVE = mv -f
74 QMAKE_DEL_FILE = rm -f
75 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/linux-cxx/qplatformdefs.h b/mkspecs/linux-cxx/qplatformdefs.h
new file mode 100644
index 0000000..e25bc1e
--- a/dev/null
+++ b/mkspecs/linux-cxx/qplatformdefs.h
@@ -0,0 +1,106 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10// DNS system header files are a mess!
11// <resolv.h> includes <arpa/nameser.h>. <arpa/nameser.h> is using
12// 'u_char' and includes <sys/types.h>. Now the problem is that
13// <sys/types.h> defines 'u_char' only if __USE_BSD is defined.
14// __USE_BSD is defined in <features.h> if _BSD_SOURCE is defined.
15#ifndef _BSD_SOURCE
16# define _BSD_SOURCE
17#endif
18
19// 1) need to reset default environment if _BSD_SOURCE is defined
20// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
21// 3) it seems older glibc need this to include the X/Open stuff
22#ifndef _GNU_SOURCE
23# define _GNU_SOURCE
24#endif
25
26#include <unistd.h>
27
28
29// We are hot - unistd.h should have turned on the specific APIs we requested
30
31
32#ifdef QT_THREAD_SUPPORT
33#include <pthread.h>
34#endif
35
36#include <dirent.h>
37#include <fcntl.h>
38#include <grp.h>
39#include <pwd.h>
40#include <signal.h>
41#include <dlfcn.h>
42
43#include <sys/types.h>
44#include <sys/ioctl.h>
45#include <sys/ipc.h>
46#include <sys/time.h>
47#include <sys/shm.h>
48#include <sys/socket.h>
49#include <sys/stat.h>
50#include <sys/wait.h>
51
52// DNS header files are not fully covered by X/Open specifications.
53// In particular nothing is said about res_* :/
54// Header files <netinet/in.h> and <arpa/nameser.h> are not included
55// by <resolv.h> on older versions of the GNU C library. Note that
56// <arpa/nameser.h> must be included before <resolv.h>.
57#include <netinet/in.h>
58#include <arpa/nameser.h>
59#include <resolv.h>
60
61
62#if !defined(QT_NO_COMPAT)
63 #define QT_STATBUF struct stat
64 #define QT_STATBUF4TSTATstruct stat
65 #define QT_STAT ::stat
66 #define QT_FSTAT ::fstat
67 #define QT_STAT_REG S_IFREG
68 #define QT_STAT_DIR S_IFDIR
69 #define QT_STAT_MASK S_IFMT
70 #define QT_STAT_LNK S_IFLNK
71 #define QT_FILENO fileno
72 #define QT_OPEN ::open
73 #define QT_CLOSE ::close
74 #define QT_LSEEK ::lseek
75 #define QT_READ ::read
76 #define QT_WRITE ::write
77 #define QT_ACCESS ::access
78 #define QT_GETCWD ::getcwd
79 #define QT_CHDIR ::chdir
80 #define QT_MKDIR ::mkdir
81 #define QT_RMDIR ::rmdir
82 #define QT_OPEN_RDONLY O_RDONLY
83 #define QT_OPEN_WRONLY O_WRONLY
84 #define QT_OPEN_RDWR O_RDWR
85 #define QT_OPEN_CREAT O_CREAT
86 #define QT_OPEN_TRUNC O_TRUNC
87 #define QT_OPEN_APPEND O_APPEND
88#endif
89
90 #define QT_SIGNAL_RETTYPEvoid
91 #define QT_SIGNAL_ARGS int
92 #define QT_SIGNAL_IGNORESIG_IGN
93
94#if defined(__GLIBC__) && (__GLIBC__ >= 2)
95 #define QT_SOCKLEN_T socklen_t
96#else
97 #define QT_SOCKLEN_T int
98#endif
99
100#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
101 #define QT_SNPRINTF ::snprintf
102 #define QT_VSNPRINTF ::vsnprintf
103#endif
104
105
106#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/linux-g++/qmake.conf b/mkspecs/linux-g++/qmake.conf
new file mode 100644
index 0000000..7a267ff
--- a/dev/null
+++ b/mkspecs/linux-g++/qmake.conf
@@ -0,0 +1,82 @@
1#
2# $Id$
3#
4# qmake configuration for linux-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release incremental
10QMAKE_INCREMENTAL_STYLE = sublib
11
12 QMAKE_CC = gcc
13 QMAKE_LEX = flex
14 QMAKE_LEXFLAGS =
15 QMAKE_YACC = yacc
16 QMAKE_YACCFLAGS = -d
17 QMAKE_CFLAGS = -pipe
18 QMAKE_CFLAGS_DEPS= -M
19 QMAKE_CFLAGS_WARN_ON= -Wall -W
20 QMAKE_CFLAGS_WARN_OFF= -w
21 QMAKE_CFLAGS_RELEASE= -O2
22 QMAKE_CFLAGS_DEBUG= -g
23 QMAKE_CFLAGS_SHLIB= -fPIC
24 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
25 QMAKE_CFLAGS_THREAD= -D_REENTRANT
26
27 QMAKE_CXX = g++
28 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
29 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
30 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
31 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
32 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
33 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
34 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
35 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
36 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
37
38 QMAKE_INCDIR =
39 QMAKE_LIBDIR =
40 QMAKE_INCDIR_X11= /usr/X11R6/include
41 QMAKE_LIBDIR_X11= /usr/X11R6/lib
42 QMAKE_INCDIR_QT = $(QTDIR)/include
43 QMAKE_LIBDIR_QT = $(QTDIR)/lib
44 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
45 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
46
47 QMAKE_LINK = g++
48 QMAKE_LINK_SHLIB= g++
49 QMAKE_LFLAGS =
50 QMAKE_LFLAGS_RELEASE=
51 QMAKE_LFLAGS_DEBUG=
52 QMAKE_LFLAGS_SHLIB= -shared
53 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
54 QMAKE_LFLAGS_SONAME= -Wl,-soname,
55 QMAKE_LFLAGS_THREAD=
56 QMAKE_RPATH = -Wl,-rpath,
57
58 QMAKE_LIBS =
59 QMAKE_LIBS_DYNLOAD= -ldl
60 QMAKE_LIBS_X11 = -lXext -lX11 -lm
61 QMAKE_LIBS_X11SM= -lSM -lICE
62 QMAKE_LIBS_NIS = -lnsl
63 QMAKE_LIBS_QT = -lqt
64 QMAKE_LIBS_QT_THREAD= -lqt-mt
65 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
66 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
67 QMAKE_LIBS_THREAD= -lpthread
68
69 QMAKE_MOC = $(QTDIR)/bin/moc
70 QMAKE_UIC = $(QTDIR)/bin/uic
71
72 QMAKE_AR = ar cqs
73 QMAKE_RANLIB =
74
75 QMAKE_TAR = tar -cf
76 QMAKE_GZIP = gzip -9f
77
78 QMAKE_COPY = cp -f
79 QMAKE_MOVE = mv -f
80 QMAKE_DEL_FILE = rm -f
81 QMAKE_DEL_DIR = rmdir
82QMAKE_STRIP = strip
diff --git a/mkspecs/linux-g++/qplatformdefs.h b/mkspecs/linux-g++/qplatformdefs.h
new file mode 100644
index 0000000..e25bc1e
--- a/dev/null
+++ b/mkspecs/linux-g++/qplatformdefs.h
@@ -0,0 +1,106 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10// DNS system header files are a mess!
11// <resolv.h> includes <arpa/nameser.h>. <arpa/nameser.h> is using
12// 'u_char' and includes <sys/types.h>. Now the problem is that
13// <sys/types.h> defines 'u_char' only if __USE_BSD is defined.
14// __USE_BSD is defined in <features.h> if _BSD_SOURCE is defined.
15#ifndef _BSD_SOURCE
16# define _BSD_SOURCE
17#endif
18
19// 1) need to reset default environment if _BSD_SOURCE is defined
20// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
21// 3) it seems older glibc need this to include the X/Open stuff
22#ifndef _GNU_SOURCE
23# define _GNU_SOURCE
24#endif
25
26#include <unistd.h>
27
28
29// We are hot - unistd.h should have turned on the specific APIs we requested
30
31
32#ifdef QT_THREAD_SUPPORT
33#include <pthread.h>
34#endif
35
36#include <dirent.h>
37#include <fcntl.h>
38#include <grp.h>
39#include <pwd.h>
40#include <signal.h>
41#include <dlfcn.h>
42
43#include <sys/types.h>
44#include <sys/ioctl.h>
45#include <sys/ipc.h>
46#include <sys/time.h>
47#include <sys/shm.h>
48#include <sys/socket.h>
49#include <sys/stat.h>
50#include <sys/wait.h>
51
52// DNS header files are not fully covered by X/Open specifications.
53// In particular nothing is said about res_* :/
54// Header files <netinet/in.h> and <arpa/nameser.h> are not included
55// by <resolv.h> on older versions of the GNU C library. Note that
56// <arpa/nameser.h> must be included before <resolv.h>.
57#include <netinet/in.h>
58#include <arpa/nameser.h>
59#include <resolv.h>
60
61
62#if !defined(QT_NO_COMPAT)
63 #define QT_STATBUF struct stat
64 #define QT_STATBUF4TSTATstruct stat
65 #define QT_STAT ::stat
66 #define QT_FSTAT ::fstat
67 #define QT_STAT_REG S_IFREG
68 #define QT_STAT_DIR S_IFDIR
69 #define QT_STAT_MASK S_IFMT
70 #define QT_STAT_LNK S_IFLNK
71 #define QT_FILENO fileno
72 #define QT_OPEN ::open
73 #define QT_CLOSE ::close
74 #define QT_LSEEK ::lseek
75 #define QT_READ ::read
76 #define QT_WRITE ::write
77 #define QT_ACCESS ::access
78 #define QT_GETCWD ::getcwd
79 #define QT_CHDIR ::chdir
80 #define QT_MKDIR ::mkdir
81 #define QT_RMDIR ::rmdir
82 #define QT_OPEN_RDONLY O_RDONLY
83 #define QT_OPEN_WRONLY O_WRONLY
84 #define QT_OPEN_RDWR O_RDWR
85 #define QT_OPEN_CREAT O_CREAT
86 #define QT_OPEN_TRUNC O_TRUNC
87 #define QT_OPEN_APPEND O_APPEND
88#endif
89
90 #define QT_SIGNAL_RETTYPEvoid
91 #define QT_SIGNAL_ARGS int
92 #define QT_SIGNAL_IGNORESIG_IGN
93
94#if defined(__GLIBC__) && (__GLIBC__ >= 2)
95 #define QT_SOCKLEN_T socklen_t
96#else
97 #define QT_SOCKLEN_T int
98#endif
99
100#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
101 #define QT_SNPRINTF ::snprintf
102 #define QT_VSNPRINTF ::vsnprintf
103#endif
104
105
106#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/linux-icc/qmake.conf b/mkspecs/linux-icc/qmake.conf
new file mode 100644
index 0000000..29ef3e7
--- a/dev/null
+++ b/mkspecs/linux-icc/qmake.conf
@@ -0,0 +1,82 @@
1#
2# $Id$
3#
4# qmake configuration for Intel C++ 5.0.1, 6.0, and 7.0 for Linux
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = icc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS =
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON=
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -KPIC
23 QMAKE_CFLAGS_YACC=
24 QMAKE_CFLAGS_THREAD= -D_REENTRANT
25
26 QMAKE_CXX = icpc
27 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11= /usr/X11R6/include
40 QMAKE_LIBDIR_X11= /usr/X11R6/lib
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
44 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
45
46 QMAKE_LINK = icpc
47 QMAKE_LINK_SHLIB= icpc
48 QMAKE_LFLAGS =
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHLIB= -shared
52 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
53 QMAKE_LFLAGS_SONAME= -Qoption,ld,-soname,
54 QMAKE_LFLAGS_THREAD=
55 QMAKE_RPATH = -Qoption,ld,-rpath,
56
57 QMAKE_LIBS =
58 QMAKE_LIBS_DYNLOAD= -ldl
59 QMAKE_LIBS_X11 = -lXext -lX11 -lm
60 QMAKE_LIBS_X11SM= -lSM -lICE
61 QMAKE_LIBS_NIS = -lnsl
62 QMAKE_LIBS_QT = -lqt
63 QMAKE_LIBS_QT_THREAD= -lqt-mt
64 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
65 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
66 QMAKE_LIBS_THREAD= -lpthread
67
68 QMAKE_MOC = $(QTDIR)/bin/moc
69 QMAKE_UIC = $(QTDIR)/bin/uic
70
71 QMAKE_AR = ar cqs
72 QMAKE_RANLIB =
73
74 QMAKE_CLEAN = -r $(OBJECTS_DIR)/ti_files
75
76 QMAKE_TAR = tar -cf
77 QMAKE_GZIP = gzip -9f
78
79 QMAKE_COPY = cp -f
80 QMAKE_MOVE = mv -f
81 QMAKE_DEL_FILE = rm -f
82 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/linux-icc/qplatformdefs.h b/mkspecs/linux-icc/qplatformdefs.h
new file mode 100644
index 0000000..e25bc1e
--- a/dev/null
+++ b/mkspecs/linux-icc/qplatformdefs.h
@@ -0,0 +1,106 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10// DNS system header files are a mess!
11// <resolv.h> includes <arpa/nameser.h>. <arpa/nameser.h> is using
12// 'u_char' and includes <sys/types.h>. Now the problem is that
13// <sys/types.h> defines 'u_char' only if __USE_BSD is defined.
14// __USE_BSD is defined in <features.h> if _BSD_SOURCE is defined.
15#ifndef _BSD_SOURCE
16# define _BSD_SOURCE
17#endif
18
19// 1) need to reset default environment if _BSD_SOURCE is defined
20// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
21// 3) it seems older glibc need this to include the X/Open stuff
22#ifndef _GNU_SOURCE
23# define _GNU_SOURCE
24#endif
25
26#include <unistd.h>
27
28
29// We are hot - unistd.h should have turned on the specific APIs we requested
30
31
32#ifdef QT_THREAD_SUPPORT
33#include <pthread.h>
34#endif
35
36#include <dirent.h>
37#include <fcntl.h>
38#include <grp.h>
39#include <pwd.h>
40#include <signal.h>
41#include <dlfcn.h>
42
43#include <sys/types.h>
44#include <sys/ioctl.h>
45#include <sys/ipc.h>
46#include <sys/time.h>
47#include <sys/shm.h>
48#include <sys/socket.h>
49#include <sys/stat.h>
50#include <sys/wait.h>
51
52// DNS header files are not fully covered by X/Open specifications.
53// In particular nothing is said about res_* :/
54// Header files <netinet/in.h> and <arpa/nameser.h> are not included
55// by <resolv.h> on older versions of the GNU C library. Note that
56// <arpa/nameser.h> must be included before <resolv.h>.
57#include <netinet/in.h>
58#include <arpa/nameser.h>
59#include <resolv.h>
60
61
62#if !defined(QT_NO_COMPAT)
63 #define QT_STATBUF struct stat
64 #define QT_STATBUF4TSTATstruct stat
65 #define QT_STAT ::stat
66 #define QT_FSTAT ::fstat
67 #define QT_STAT_REG S_IFREG
68 #define QT_STAT_DIR S_IFDIR
69 #define QT_STAT_MASK S_IFMT
70 #define QT_STAT_LNK S_IFLNK
71 #define QT_FILENO fileno
72 #define QT_OPEN ::open
73 #define QT_CLOSE ::close
74 #define QT_LSEEK ::lseek
75 #define QT_READ ::read
76 #define QT_WRITE ::write
77 #define QT_ACCESS ::access
78 #define QT_GETCWD ::getcwd
79 #define QT_CHDIR ::chdir
80 #define QT_MKDIR ::mkdir
81 #define QT_RMDIR ::rmdir
82 #define QT_OPEN_RDONLY O_RDONLY
83 #define QT_OPEN_WRONLY O_WRONLY
84 #define QT_OPEN_RDWR O_RDWR
85 #define QT_OPEN_CREAT O_CREAT
86 #define QT_OPEN_TRUNC O_TRUNC
87 #define QT_OPEN_APPEND O_APPEND
88#endif
89
90 #define QT_SIGNAL_RETTYPEvoid
91 #define QT_SIGNAL_ARGS int
92 #define QT_SIGNAL_IGNORESIG_IGN
93
94#if defined(__GLIBC__) && (__GLIBC__ >= 2)
95 #define QT_SOCKLEN_T socklen_t
96#else
97 #define QT_SOCKLEN_T int
98#endif
99
100#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
101 #define QT_SNPRINTF ::snprintf
102 #define QT_VSNPRINTF ::vsnprintf
103#endif
104
105
106#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/linux-kcc/qmake.conf b/mkspecs/linux-kcc/qmake.conf
new file mode 100644
index 0000000..20bcd80
--- a/dev/null
+++ b/mkspecs/linux-kcc/qmake.conf
@@ -0,0 +1,89 @@
1#
2# $Id$
3#
4# qmake configuration for KAI C++ 4.0f for Linux
5#
6# From the KAI C++ man page for Linux:
7# --[no_]thread_safe
8 # [Waive or] Request thread-safe handling of system-allocated objects.
9 # To guarantee thread safety, this option must be used when both
10 # compiling and linking. Thread-safe C++ is not link-compatible with
11 # (the default) non-thread-safe C++.
12#
13
14 MAKEFILE_GENERATOR= UNIX
15 TEMPLATE = app
16 CONFIG += qt warn_on release
17
18 QMAKE_CC = KCC
19 QMAKE_LEX = flex
20 QMAKE_LEXFLAGS =
21 QMAKE_YACC = yacc
22 QMAKE_YACCFLAGS = -d
23 QMAKE_CFLAGS = --c --display_error_number --backend -pipe
24 QMAKE_CFLAGS_DEPS= -M
25 QMAKE_CFLAGS_WARN_ON=
26 QMAKE_CFLAGS_WARN_OFF= -w
27 QMAKE_CFLAGS_RELEASE= +K2
28 QMAKE_CFLAGS_DEBUG= +K0
29 QMAKE_CFLAGS_SHLIB= -fPIC
30 QMAKE_CFLAGS_YACC= --diag_suppress 111,177
31 QMAKE_CFLAGS_THREAD= --thread_safe
32
33 QMAKE_CXX = KCC
34 QMAKE_CXXFLAGS = --display_error_number --diag_suppress 611,1142 --backend -pipe
35 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
36 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
37 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
38 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
39 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
40 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
41 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
42 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
43
44 QMAKE_INCDIR =
45 QMAKE_LIBDIR =
46 QMAKE_INCDIR_X11= /usr/X11R6/include
47 QMAKE_LIBDIR_X11= /usr/X11R6/lib
48 QMAKE_INCDIR_QT = $(QTDIR)/include
49 QMAKE_LIBDIR_QT = $(QTDIR)/lib
50 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
51 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
52
53 QMAKE_LINK = KCC
54 QMAKE_LINK_SHLIB= KCC
55 QMAKE_LFLAGS =
56 QMAKE_LFLAGS_RELEASE=
57 QMAKE_LFLAGS_DEBUG=
58 QMAKE_LFLAGS_SHLIB=
59 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
60 QMAKE_LFLAGS_SONAME= --soname$$LITERAL_WHITESPACE
61 QMAKE_LFLAGS_THREAD= --thread_safe
62 QMAKE_RPATH = -rpath$$LITERAL_WHITESPACE
63
64 QMAKE_LIBS =
65 QMAKE_LIBS_DYNLOAD= -ldl
66 QMAKE_LIBS_X11 = -lXext -lX11 -lm
67 QMAKE_LIBS_X11SM= -lSM -lICE
68 QMAKE_LIBS_NIS = -lnsl
69 QMAKE_LIBS_QT = -lqt
70 QMAKE_LIBS_QT_THREAD= -lqt-mt
71 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
72 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
73 QMAKE_LIBS_THREAD=
74
75 QMAKE_MOC = $(QTDIR)/bin/moc
76 QMAKE_UIC = $(QTDIR)/bin/uic
77
78 QMAKE_AR = ar cqs
79 QMAKE_RANLIB =
80
81 QMAKE_CLEAN = -r $(OBJECTS_DIR)ti_files
82
83 QMAKE_TAR = tar -cf
84 QMAKE_GZIP = gzip -9f
85
86 QMAKE_COPY = cp -f
87 QMAKE_MOVE = mv -f
88 QMAKE_DEL_FILE = rm -f
89 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/linux-kcc/qplatformdefs.h b/mkspecs/linux-kcc/qplatformdefs.h
new file mode 100644
index 0000000..9df75e3
--- a/dev/null
+++ b/mkspecs/linux-kcc/qplatformdefs.h
@@ -0,0 +1,109 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10// DNS system header files are a mess!
11// <resolv.h> includes <arpa/nameser.h>. <arpa/nameser.h> is using
12// 'u_char' and includes <sys/types.h>. Now the problem is that
13// <sys/types.h> defines 'u_char' only if __USE_BSD is defined.
14// __USE_BSD is defined in <features.h> if _BSD_SOURCE is defined.
15#ifndef _BSD_SOURCE
16# define _BSD_SOURCE
17#endif
18
19// 1) need to reset default environment if _BSD_SOURCE is defined
20// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
21// 3) it seems older glibc need this to include the X/Open stuff
22#ifndef _GNU_SOURCE
23# define _GNU_SOURCE
24#endif
25
26#include <unistd.h>
27
28
29// We are hot - unistd.h should have turned on the specific APIs we requested
30
31
32#ifdef QT_THREAD_SUPPORT
33#include <pthread.h>
34#endif
35
36#include <dirent.h>
37#include <fcntl.h>
38#include <grp.h>
39#include <pwd.h>
40#include <signal.h>
41#include <dlfcn.h>
42// KAI C++ has at the moment problems with unloading the Qt plugins.
43// So don't unload them as a workaround for now.
44#define QT_NO_LIBRARY_UNLOAD
45
46#include <sys/types.h>
47#include <sys/ioctl.h>
48#include <sys/ipc.h>
49#include <sys/time.h>
50#include <sys/shm.h>
51#include <sys/socket.h>
52#include <sys/stat.h>
53#include <sys/wait.h>
54
55// DNS header files are not fully covered by X/Open specifications.
56// In particular nothing is said about res_* :/
57// Header files <netinet/in.h> and <arpa/nameser.h> are not included
58// by <resolv.h> on older versions of the GNU C library. Note that
59// <arpa/nameser.h> must be included before <resolv.h>.
60#include <netinet/in.h>
61#include <arpa/nameser.h>
62#include <resolv.h>
63
64
65#if !defined(QT_NO_COMPAT)
66 #define QT_STATBUF struct stat
67 #define QT_STATBUF4TSTATstruct stat
68 #define QT_STAT ::stat
69 #define QT_FSTAT ::fstat
70 #define QT_STAT_REG S_IFREG
71 #define QT_STAT_DIR S_IFDIR
72 #define QT_STAT_MASK S_IFMT
73 #define QT_STAT_LNK S_IFLNK
74 #define QT_FILENO fileno
75 #define QT_OPEN ::open
76 #define QT_CLOSE ::close
77 #define QT_LSEEK ::lseek
78 #define QT_READ ::read
79 #define QT_WRITE ::write
80 #define QT_ACCESS ::access
81 #define QT_GETCWD ::getcwd
82 #define QT_CHDIR ::chdir
83 #define QT_MKDIR ::mkdir
84 #define QT_RMDIR ::rmdir
85 #define QT_OPEN_RDONLY O_RDONLY
86 #define QT_OPEN_WRONLY O_WRONLY
87 #define QT_OPEN_RDWR O_RDWR
88 #define QT_OPEN_CREAT O_CREAT
89 #define QT_OPEN_TRUNC O_TRUNC
90 #define QT_OPEN_APPEND O_APPEND
91#endif
92
93 #define QT_SIGNAL_RETTYPEvoid
94 #define QT_SIGNAL_ARGS int
95 #define QT_SIGNAL_IGNORESIG_IGN
96
97#if defined(__GLIBC__) && (__GLIBC__ >= 2)
98 #define QT_SOCKLEN_T socklen_t
99#else
100 #define QT_SOCKLEN_T int
101#endif
102
103#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
104 #define QT_SNPRINTF ::snprintf
105 #define QT_VSNPRINTF ::vsnprintf
106#endif
107
108
109#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/linux-pgcc/qmake.conf b/mkspecs/linux-pgcc/qmake.conf
new file mode 100644
index 0000000..1db6029
--- a/dev/null
+++ b/mkspecs/linux-pgcc/qmake.conf
@@ -0,0 +1,80 @@
1#
2# $Id$
3#
4# qmake configuration for Portland Group C++ for Intel
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = pgcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS =
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON=
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -fast
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -fpic
23 QMAKE_CFLAGS_YACC=
24 QMAKE_CFLAGS_THREAD= -D_REENTRANT
25
26 QMAKE_CXX = pgCC
27 QMAKE_CXXFLAGS = --display_error_number $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11= /usr/X11R6/include
40 QMAKE_LIBDIR_X11= /usr/X11R6/lib
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
44 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
45
46 QMAKE_LINK = pgCC
47 QMAKE_LINK_SHLIB= pgCC
48 QMAKE_LFLAGS =
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHLIB= -shared
52 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
53 QMAKE_LFLAGS_SONAME= -Wl,-soname,
54 QMAKE_LFLAGS_THREAD=
55 QMAKE_RPATH = -R
56
57 QMAKE_LIBS =
58 QMAKE_LIBS_DYNLOAD= -ldl
59 QMAKE_LIBS_X11 = -lXext -lX11 -lm
60 QMAKE_LIBS_X11SM= -lSM -lICE
61 QMAKE_LIBS_NIS = -lnsl
62 QMAKE_LIBS_QT = -lqt
63 QMAKE_LIBS_QT_THREAD= -lqt-mt
64 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
65 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
66 QMAKE_LIBS_THREAD= -lpthread
67
68 QMAKE_MOC = $(QTDIR)/bin/moc
69 QMAKE_UIC = $(QTDIR)/bin/uic
70
71 QMAKE_AR = ar cqs
72 QMAKE_RANLIB =
73
74 QMAKE_TAR = tar -cf
75 QMAKE_GZIP = gzip -9f
76
77 QMAKE_COPY = cp -f
78 QMAKE_MOVE = mv -f
79 QMAKE_DEL_FILE = rm -f
80 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/linux-pgcc/qplatformdefs.h b/mkspecs/linux-pgcc/qplatformdefs.h
new file mode 100644
index 0000000..e25bc1e
--- a/dev/null
+++ b/mkspecs/linux-pgcc/qplatformdefs.h
@@ -0,0 +1,106 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10// DNS system header files are a mess!
11// <resolv.h> includes <arpa/nameser.h>. <arpa/nameser.h> is using
12// 'u_char' and includes <sys/types.h>. Now the problem is that
13// <sys/types.h> defines 'u_char' only if __USE_BSD is defined.
14// __USE_BSD is defined in <features.h> if _BSD_SOURCE is defined.
15#ifndef _BSD_SOURCE
16# define _BSD_SOURCE
17#endif
18
19// 1) need to reset default environment if _BSD_SOURCE is defined
20// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
21// 3) it seems older glibc need this to include the X/Open stuff
22#ifndef _GNU_SOURCE
23# define _GNU_SOURCE
24#endif
25
26#include <unistd.h>
27
28
29// We are hot - unistd.h should have turned on the specific APIs we requested
30
31
32#ifdef QT_THREAD_SUPPORT
33#include <pthread.h>
34#endif
35
36#include <dirent.h>
37#include <fcntl.h>
38#include <grp.h>
39#include <pwd.h>
40#include <signal.h>
41#include <dlfcn.h>
42
43#include <sys/types.h>
44#include <sys/ioctl.h>
45#include <sys/ipc.h>
46#include <sys/time.h>
47#include <sys/shm.h>
48#include <sys/socket.h>
49#include <sys/stat.h>
50#include <sys/wait.h>
51
52// DNS header files are not fully covered by X/Open specifications.
53// In particular nothing is said about res_* :/
54// Header files <netinet/in.h> and <arpa/nameser.h> are not included
55// by <resolv.h> on older versions of the GNU C library. Note that
56// <arpa/nameser.h> must be included before <resolv.h>.
57#include <netinet/in.h>
58#include <arpa/nameser.h>
59#include <resolv.h>
60
61
62#if !defined(QT_NO_COMPAT)
63 #define QT_STATBUF struct stat
64 #define QT_STATBUF4TSTATstruct stat
65 #define QT_STAT ::stat
66 #define QT_FSTAT ::fstat
67 #define QT_STAT_REG S_IFREG
68 #define QT_STAT_DIR S_IFDIR
69 #define QT_STAT_MASK S_IFMT
70 #define QT_STAT_LNK S_IFLNK
71 #define QT_FILENO fileno
72 #define QT_OPEN ::open
73 #define QT_CLOSE ::close
74 #define QT_LSEEK ::lseek
75 #define QT_READ ::read
76 #define QT_WRITE ::write
77 #define QT_ACCESS ::access
78 #define QT_GETCWD ::getcwd
79 #define QT_CHDIR ::chdir
80 #define QT_MKDIR ::mkdir
81 #define QT_RMDIR ::rmdir
82 #define QT_OPEN_RDONLY O_RDONLY
83 #define QT_OPEN_WRONLY O_WRONLY
84 #define QT_OPEN_RDWR O_RDWR
85 #define QT_OPEN_CREAT O_CREAT
86 #define QT_OPEN_TRUNC O_TRUNC
87 #define QT_OPEN_APPEND O_APPEND
88#endif
89
90 #define QT_SIGNAL_RETTYPEvoid
91 #define QT_SIGNAL_ARGS int
92 #define QT_SIGNAL_IGNORESIG_IGN
93
94#if defined(__GLIBC__) && (__GLIBC__ >= 2)
95 #define QT_SOCKLEN_T socklen_t
96#else
97 #define QT_SOCKLEN_T int
98#endif
99
100#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
101 #define QT_SNPRINTF ::snprintf
102 #define QT_VSNPRINTF ::vsnprintf
103#endif
104
105
106#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/mac9-mwerks/mwerksapp.xml b/mkspecs/mac9-mwerks/mwerksapp.xml
new file mode 100644
index 0000000..3129a3f
--- a/dev/null
+++ b/mkspecs/mac9-mwerks/mwerksapp.xml
@@ -0,0 +1,842 @@
1<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2<?codewarrior exportversion="1.0.1" ideversion="4.1" ?>
3
4<!DOCTYPE PROJECT [
5<!ELEMENT PROJECT (TARGETLIST, TARGETORDER, GROUPLIST, DESIGNLIST?)>
6<!ELEMENT TARGETLIST (TARGET+)>
7<!ELEMENT TARGET (NAME, SETTINGLIST, FILELIST?, LINKORDER?, SEGMENTLIST?, OVERLAYGROUPLIST?, SUBTARGETLIST?, SUBPROJECTLIST?)>
8<!ELEMENT NAME (#PCDATA)>
9<!ELEMENT USERSOURCETREETYPE (#PCDATA)>
10<!ELEMENT PATH (#PCDATA)>
11<!ELEMENT FILELIST (FILE*)>
12<!ELEMENT FILE (PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?, ROOTFILEREF?, FILEKIND?, FILEFLAGS?)>
13<!ELEMENT PATHTYPE (#PCDATA)>
14<!ELEMENT PATHROOT (#PCDATA)>
15<!ELEMENT ACCESSPATH (#PCDATA)>
16<!ELEMENT PATHFORMAT (#PCDATA)>
17<!ELEMENT ROOTFILEREF (PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?)>
18<!ELEMENT FILEKIND (#PCDATA)>
19<!ELEMENT FILEFLAGS (#PCDATA)>
20<!ELEMENT FILEREF (TARGETNAME?, PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?)>
21<!ELEMENT TARGETNAME (#PCDATA)>
22<!ELEMENT SETTINGLIST ((SETTING|PANELDATA)+)>
23<!ELEMENT SETTING (NAME?, (VALUE|(SETTING+)))>
24<!ELEMENT PANELDATA (NAME, VALUE)>
25<!ELEMENT VALUE (#PCDATA)>
26<!ELEMENT LINKORDER (FILEREF*)>
27<!ELEMENT SEGMENTLIST (SEGMENT+)>
28<!ELEMENT SEGMENT (NAME, ATTRIBUTES?, FILEREF*)>
29<!ELEMENT ATTRIBUTES (#PCDATA)>
30<!ELEMENT OVERLAYGROUPLIST (OVERLAYGROUP+)>
31<!ELEMENT OVERLAYGROUP (NAME, BASEADDRESS, OVERLAY*)>
32<!ELEMENT BASEADDRESS (#PCDATA)>
33<!ELEMENT OVERLAY (NAME, FILEREF*)>
34<!ELEMENT SUBTARGETLIST (SUBTARGET+)>
35<!ELEMENT SUBTARGET (TARGETNAME, ATTRIBUTES?, FILEREF?)>
36<!ELEMENT SUBPROJECTLIST (SUBPROJECT+)>
37<!ELEMENT SUBPROJECT (FILEREF, SUBPROJECTTARGETLIST)>
38<!ELEMENT SUBPROJECTTARGETLIST (SUBPROJECTTARGET*)>
39<!ELEMENT SUBPROJECTTARGET (TARGETNAME, ATTRIBUTES?, FILEREF?)>
40<!ELEMENT TARGETORDER (ORDEREDTARGET|ORDEREDDESIGN)*>
41<!ELEMENT ORDEREDTARGET (NAME)>
42<!ELEMENT ORDEREDDESIGN (NAME, ORDEREDTARGET+)>
43<!ELEMENT GROUPLIST (GROUP|FILEREF)*>
44<!ELEMENT GROUP (NAME, (GROUP|FILEREF)*)>
45<!ELEMENT DESIGNLIST (DESIGN+)>
46<!ELEMENT DESIGN (NAME, DESIGNDATA)>
47<!ELEMENT DESIGNDATA (#PCDATA)>
48]>
49
50<PROJECT>
51 <TARGETLIST>
52 <TARGET>
53 <NAME>$$TARGET_STEM</NAME>
54 <SETTINGLIST>
55
56 <!-- Settings for "Source Trees" panel -->
57 <SETTING><NAME>UserSourceTrees</NAME><VALUE></VALUE></SETTING>
58
59 <!-- Settings for "Access Paths" panel -->
60 <SETTING><NAME>AlwaysSearchUserPaths</NAME><VALUE>false</VALUE></SETTING>
61 <SETTING><NAME>InterpretDOSAndUnixPaths</NAME><VALUE>true</VALUE></SETTING>
62
63 <SETTING><NAME>UserSearchPaths</NAME>
64 <SETTING>
65 <SETTING><NAME>SearchPath</NAME>
66 <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
67 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
68 <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
69 </SETTING>
70 <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
71 <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
72 </SETTING>
73 </SETTING>
74 <SETTING><NAME>SystemSearchPaths</NAME>
75 $$CODEWARRIOR_INCLUDEPATH
76 $$CODEWARRIOR_DEPENDPATH
77 </SETTING>
78
79 <!-- Settings for "Debugger Runtime" panel -->
80 <SETTING><NAME>MWRuntimeSettings_WorkingDirectory</NAME><VALUE></VALUE></SETTING>
81 <SETTING><NAME>MWRuntimeSettings_CommandLine</NAME><VALUE></VALUE></SETTING>
82 <SETTING><NAME>MWRuntimeSettings_HostApplication</NAME>
83 <SETTING><NAME>Path</NAME><VALUE></VALUE></SETTING>
84 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
85 <SETTING><NAME>PathRoot</NAME><VALUE>Absolute</VALUE></SETTING>
86 </SETTING>
87 <SETTING><NAME>MWRuntimeSettings_EnvVars</NAME><VALUE></VALUE></SETTING>
88
89 <!-- Settings for "Target Settings" panel -->
90 <SETTING><NAME>Linker</NAME><VALUE>MacOS PPC Linker</VALUE></SETTING>
91 <SETTING><NAME>PreLinker</NAME><VALUE></VALUE></SETTING>
92 <SETTING><NAME>PostLinker</NAME><VALUE></VALUE></SETTING>
93 <SETTING><NAME>Targetname</NAME><VALUE>$$TARGET_STEM</VALUE></SETTING>
94 <SETTING><NAME>OutputDirectory</NAME>
95 <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
96 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
97 <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
98 </SETTING>
99 <SETTING><NAME>SaveEntriesUsingRelativePaths</NAME><VALUE>false</VALUE></SETTING>
100
101 <!-- Settings for "File Mappings" panel -->
102 <SETTING><NAME>FileMappings</NAME>
103 <SETTING>
104 <SETTING><NAME>FileType</NAME><VALUE>APPL</VALUE></SETTING>
105 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
106 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
107 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
108 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
109 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
110 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
111 </SETTING>
112 <SETTING>
113 <SETTING><NAME>FileType</NAME><VALUE>Appl</VALUE></SETTING>
114 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
115 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
116 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
117 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
118 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
119 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
120 </SETTING>
121 <SETTING>
122 <SETTING><NAME>FileType</NAME><VALUE>MMLB</VALUE></SETTING>
123 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
124 <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
125 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
126 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
127 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
128 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
129 </SETTING>
130 <SETTING>
131 <SETTING><NAME>FileType</NAME><VALUE>MPLF</VALUE></SETTING>
132 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
133 <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
134 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
135 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
136 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
137 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
138 </SETTING>
139 <SETTING>
140 <SETTING><NAME>FileType</NAME><VALUE>MWCD</VALUE></SETTING>
141 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
142 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
143 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
144 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
145 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
146 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
147 </SETTING>
148 <SETTING>
149 <SETTING><NAME>FileType</NAME><VALUE>RSRC</VALUE></SETTING>
150 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
151 <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
152 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
153 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
154 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
155 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
156 </SETTING>
157 <SETTING>
158 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
159 <SETTING><NAME>FileExtension</NAME><VALUE>.arr</VALUE></SETTING>
160 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
161 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
162 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
163 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
164 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
165 </SETTING>
166 <SETTING>
167 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
168 <SETTING><NAME>FileExtension</NAME><VALUE>.bh</VALUE></SETTING>
169 <SETTING><NAME>Compiler</NAME><VALUE>Balloon Help</VALUE></SETTING>
170 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
171 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
172 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
173 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
174 </SETTING>
175 <SETTING>
176 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
177 <SETTING><NAME>FileExtension</NAME><VALUE>.c</VALUE></SETTING>
178 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
179 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
180 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
181 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
182 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
183 </SETTING>
184 <SETTING>
185 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
186 <SETTING><NAME>FileExtension</NAME><VALUE>.c++</VALUE></SETTING>
187 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
188 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
189 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
190 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
191 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
192 </SETTING>
193 <SETTING>
194 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
195 <SETTING><NAME>FileExtension</NAME><VALUE>.cc</VALUE></SETTING>
196 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
197 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
198 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
199 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
200 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
201 </SETTING>
202 <SETTING>
203 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
204 <SETTING><NAME>FileExtension</NAME><VALUE>.cp</VALUE></SETTING>
205 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
206 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
207 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
208 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
209 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
210 </SETTING>
211 <SETTING>
212 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
213 <SETTING><NAME>FileExtension</NAME><VALUE>.cpp</VALUE></SETTING>
214 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
215 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
216 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
217 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
218 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
219 </SETTING>
220 <SETTING>
221 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
222 <SETTING><NAME>FileExtension</NAME><VALUE>.exp</VALUE></SETTING>
223 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
224 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
225 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
226 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
227 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
228 </SETTING>
229 <SETTING>
230 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
231 <SETTING><NAME>FileExtension</NAME><VALUE>.h</VALUE></SETTING>
232 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
233 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
234 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
235 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
236 <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
237 </SETTING>
238 <SETTING>
239 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
240 <SETTING><NAME>FileExtension</NAME><VALUE>.mocs</VALUE></SETTING>
241 <SETTING><NAME>Compiler</NAME><VALUE>McMoc</VALUE></SETTING>
242 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
243 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
244 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
245 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
246 </SETTING>
247 <SETTING>
248 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
249 <SETTING><NAME>FileExtension</NAME><VALUE>.pch</VALUE></SETTING>
250 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
251 <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
252 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
253 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
254 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
255 </SETTING>
256 <SETTING>
257 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
258 <SETTING><NAME>FileExtension</NAME><VALUE>.pch++</VALUE></SETTING>
259 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
260 <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
261 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
262 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
263 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
264 </SETTING>
265 <SETTING>
266 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
267 <SETTING><NAME>FileExtension</NAME><VALUE>.r</VALUE></SETTING>
268 <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
269 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
270 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
271 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
272 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
273 </SETTING>
274 <SETTING>
275 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
276 <SETTING><NAME>FileExtension</NAME><VALUE>.s</VALUE></SETTING>
277 <SETTING><NAME>Compiler</NAME><VALUE>PPCAsm</VALUE></SETTING>
278 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
279 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
280 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
281 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
282 </SETTING>
283 <SETTING>
284 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
285 <SETTING><NAME>FileExtension</NAME><VALUE>.xpm</VALUE></SETTING>
286 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
287 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
288 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
289 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
290 <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
291 </SETTING>
292 <SETTING>
293 <SETTING><NAME>FileType</NAME><VALUE>XCOF</VALUE></SETTING>
294 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
295 <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
296 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
297 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
298 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
299 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
300 </SETTING>
301 <SETTING>
302 <SETTING><NAME>FileType</NAME><VALUE>docu</VALUE></SETTING>
303 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
304 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
305 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
306 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
307 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
308 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
309 </SETTING>
310 <SETTING>
311 <SETTING><NAME>FileType</NAME><VALUE>rsrc</VALUE></SETTING>
312 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
313 <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
314 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
315 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
316 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
317 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
318 </SETTING>
319 <SETTING>
320 <SETTING><NAME>FileType</NAME><VALUE>shlb</VALUE></SETTING>
321 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
322 <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
323 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
324 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
325 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
326 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
327 </SETTING>
328 <SETTING>
329 <SETTING><NAME>FileType</NAME><VALUE>stub</VALUE></SETTING>
330 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
331 <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
332 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
333 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
334 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
335 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
336 </SETTING>
337 <SETTING>
338 <SETTING><NAME>FileExtension</NAME><VALUE>.doc</VALUE></SETTING>
339 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
340 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
341 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
342 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
343 <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
344 </SETTING>
345 <SETTING>
346 <SETTING><NAME>FileExtension</NAME><VALUE>.o</VALUE></SETTING>
347 <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
348 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
349 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
350 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
351 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
352 </SETTING>
353 <SETTING>
354 <SETTING><NAME>FileExtension</NAME><VALUE>.ppob</VALUE></SETTING>
355 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
356 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
357 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
358 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
359 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
360 </SETTING>
361 <SETTING>
362 <SETTING><NAME>FileExtension</NAME><VALUE>.rsrc</VALUE></SETTING>
363 <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
364 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
365 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
366 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
367 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
368 </SETTING>
369 </SETTING>
370
371 <!-- Settings for "Build Extras" panel -->
372 <SETTING><NAME>CacheModDates</NAME><VALUE>true</VALUE></SETTING>
373 <SETTING><NAME>ActivateBrowser</NAME><VALUE>true</VALUE></SETTING>
374 <SETTING><NAME>DumpBrowserInfo</NAME><VALUE>false</VALUE></SETTING>
375 <SETTING><NAME>CacheSubprojects</NAME><VALUE>true</VALUE></SETTING>
376 <SETTING><NAME>UseThirdPartyDebugger</NAME><VALUE>false</VALUE></SETTING>
377 <SETTING><NAME>DebuggerCommandLine</NAME><VALUE></VALUE></SETTING>
378
379 <!-- Settings for "Debugger Target" panel -->
380 <SETTING><NAME>LogSystemMessages</NAME><VALUE>false</VALUE></SETTING>
381 <SETTING><NAME>AutoTargetDLLs</NAME><VALUE>false</VALUE></SETTING>
382 <SETTING><NAME>StopAtWatchpoints</NAME><VALUE>true</VALUE></SETTING>
383 <SETTING><NAME>PauseWhileRunning</NAME><VALUE>false</VALUE></SETTING>
384 <SETTING><NAME>PauseInterval</NAME><VALUE>5</VALUE></SETTING>
385 <SETTING><NAME>PauseUIFlags</NAME><VALUE>0</VALUE></SETTING>
386 <SETTING><NAME>AltExePath</NAME>
387 <SETTING><NAME>Path</NAME><VALUE></VALUE></SETTING>
388 <SETTING><NAME>PathFormat</NAME><VALUE>Generic</VALUE></SETTING>
389 <SETTING><NAME>PathRoot</NAME><VALUE>Absolute</VALUE></SETTING>
390 </SETTING>
391 <SETTING><NAME>StopAtTempBPOnLaunch</NAME><VALUE>false</VALUE></SETTING>
392 <SETTING><NAME>CacheSymbolics</NAME><VALUE>true</VALUE></SETTING>
393 <SETTING><NAME>TempBPFunctionName</NAME><VALUE>main</VALUE></SETTING>
394 <SETTING><NAME>TempBPType</NAME><VALUE>false</VALUE></SETTING>
395 <PANELDATA><NAME>Remote Debug</NAME><VALUE>
396 00030000006563740036384B0526BD500526FF10000000000000030004EB2698
397 3A437573746F6D204B6579770526BD500036384B2046696E616C204D61634F53
398 20546F6F6C626F783A4163636573732050617468730036384B2046696E616C20
399 4D61634F5320546F6F6C626F783A5461726765742053657474696E6773003638
400 4B2046696E616C204D61634F5320546F6F6C626F783A46696C65204D61707069
401 6E67730036384B2046696E616C204D61634F5320546F6F6C626F783A4275696C
402 64204578747261730036384B2046696E616C204D61634F5320546F6F6C626F78
403 205050432044656275673A416363657373205061746873004D61634F5320546F
404 6F6C626F00205050432044656275673A5461726765742053657474696E677300
405 4D61634F5320546F6F6C626F78205050432044656275673A46696C65204D6170
406 70696E6773004D61634F5320546F6F6C626F78205050432044656275673A4275
407 696C6420457874726173004D61634F5320546F6F6C626F782050504320446562
408 75673A44656275676765722052756E74696D65004D61634F5320546F6F6C626F
409 78205050432044656275673A446562756767657220546172676574004D61634F
410 5320546F6F6C626F78205050432044656275673A36384B20436F646547656E00
411 4D61634F5320546F6F6C626F78205050432044656275673A36384B2044697361
412 7373656D00000072004D61634F5320546F6F6C626F7820505043204465627567
413 3A36384B20476C6F62616C204F7074696D697A6572004D61634F5320546F6F6C
414 626F78205050432044656275673A36384B204C696E6B6572004D61634F532054
415 6F6F6C626F78205050432044656275673A36384B2050726F6A656374004D6163
416 4F5320546F6F6C626F78205050432044656275673A432F432B2B20436F6D7069
417 6C6572004D61634F5320546F6F6C626F78205050432044656275673A432F432B
418 2B205761726E696E6773004D61634F5320546F6F6C626F782050504320446562
419 75673A43464D36384B004D61634F5320546F6F6C626F78205050432044656275
420 673A46545020
421 </VALUE></PANELDATA>
422 <PANELDATA><NAME>Auto-target</NAME><VALUE>
423 00010000
424 </VALUE></PANELDATA>
425
426 <!-- Settings for "68K CodeGen" panel -->
427 <SETTING><NAME>MWCodeGen_68K_codesize</NAME><VALUE>Smart</VALUE></SETTING>
428 <SETTING><NAME>MWCodeGen_68K_structalignment</NAME><VALUE>MC68K</VALUE></SETTING>
429 <SETTING><NAME>MWCodeGen_68K_fp_mode</NAME><VALUE>SANE</VALUE></SETTING>
430 <SETTING><NAME>MWCodeGen_68K_code68020</NAME><VALUE>0</VALUE></SETTING>
431 <SETTING><NAME>MWCodeGen_68K_profiler</NAME><VALUE>0</VALUE></SETTING>
432 <SETTING><NAME>MWCodeGen_68K_mpwc</NAME><VALUE>0</VALUE></SETTING>
433 <SETTING><NAME>MWCodeGen_68K_fourbyteints</NAME><VALUE>1</VALUE></SETTING>
434 <SETTING><NAME>MWCodeGen_68K_IEEEdoubles</NAME><VALUE>1</VALUE></SETTING>
435 <SETTING><NAME>MWCodeGen_68K_fardata</NAME><VALUE>1</VALUE></SETTING>
436 <SETTING><NAME>MWCodeGen_68K_farvtables</NAME><VALUE>1</VALUE></SETTING>
437 <SETTING><NAME>MWCodeGen_68K_farstrings</NAME><VALUE>1</VALUE></SETTING>
438 <SETTING><NAME>MWCodeGen_68K_pcrelstrings</NAME><VALUE>0</VALUE></SETTING>
439 <SETTING><NAME>MWCodeGen_68K_macsbug</NAME><VALUE>New</VALUE></SETTING>
440 <SETTING><NAME>MWCodeGen_68K_a6frames</NAME><VALUE>1</VALUE></SETTING>
441
442 <!-- Settings for "68K Disassembler" panel -->
443 <SETTING><NAME>MWDisassembler_68K_showcode</NAME><VALUE>1</VALUE></SETTING>
444 <SETTING><NAME>MWDisassembler_68K_mix</NAME><VALUE>0</VALUE></SETTING>
445 <SETTING><NAME>MWDisassembler_68K_nohex</NAME><VALUE>0</VALUE></SETTING>
446 <SETTING><NAME>MWDisassembler_68K_showdata</NAME><VALUE>1</VALUE></SETTING>
447 <SETTING><NAME>MWDisassembler_68K_showexceptions</NAME><VALUE>1</VALUE></SETTING>
448 <SETTING><NAME>MWDisassembler_68K_showsym</NAME><VALUE>0</VALUE></SETTING>
449 <SETTING><NAME>MWDisassembler_68K_shownames</NAME><VALUE>1</VALUE></SETTING>
450
451 <!-- Settings for "68K Global Optimizer" panel -->
452 <SETTING><NAME>GlobalOptimizer_68K_optimizationlevel</NAME><VALUE>Level0</VALUE></SETTING>
453 <SETTING><NAME>GlobalOptimizer_68K_optfor</NAME><VALUE>Speed</VALUE></SETTING>
454
455 <!-- Settings for "68K Linker" panel -->
456 <SETTING><NAME>MWLinker_68K_linksym</NAME><VALUE>1</VALUE></SETTING>
457 <SETTING><NAME>MWLinker_68K_symfullpath</NAME><VALUE>1</VALUE></SETTING>
458 <SETTING><NAME>MWLinker_68K_linksingle</NAME><VALUE>0</VALUE></SETTING>
459 <SETTING><NAME>MWLinker_68K_fastlink</NAME><VALUE>1</VALUE></SETTING>
460 <SETTING><NAME>MWLinker_68K_generateMap</NAME><VALUE>0</VALUE></SETTING>
461 <SETTING><NAME>MWLinker_68K_nolinkwarnings</NAME><VALUE>0</VALUE></SETTING>
462 <SETTING><NAME>MWLinker_68K_glueintosegone</NAME><VALUE>1</VALUE></SETTING>
463 <SETTING><NAME>MWLinker_68K_dontdeadstripinitcode</NAME><VALUE>0</VALUE></SETTING>
464
465 <!-- Settings for "68K Project" panel -->
466 <SETTING><NAME>MWProject_68K_type</NAME><VALUE>Application</VALUE></SETTING>
467 <SETTING><NAME>MWProject_68K_outfile</NAME><VALUE>a.out</VALUE></SETTING>
468 <SETTING><NAME>MWProject_68K_symfilename</NAME><VALUE></VALUE></SETTING>
469 <SETTING><NAME>MWProject_68K_filecreator</NAME><VALUE>1061109567</VALUE></SETTING>
470 <SETTING><NAME>MWProject_68K_filetype</NAME><VALUE>1095782476</VALUE></SETTING>
471 <SETTING><NAME>MWProject_68K_size</NAME><VALUE>384</VALUE></SETTING>
472 <SETTING><NAME>MWProject_68K_flags</NAME><VALUE>22720</VALUE></SETTING>
473 <SETTING><NAME>MWProject_68K_rsrcheader</NAME><VALUE>Standard</VALUE></SETTING>
474 <SETTING><NAME>MWProject_68K_rsrcname</NAME><VALUE></VALUE></SETTING>
475 <SETTING><NAME>MWProject_68K_rsrctype</NAME><VALUE>1061109567</VALUE></SETTING>
476 <SETTING><NAME>MWProject_68K_rsrcid</NAME><VALUE>0</VALUE></SETTING>
477 <SETTING><NAME>MWProject_68K_rsrcmulti</NAME><VALUE>0</VALUE></SETTING>
478 <SETTING><NAME>MWProject_68K_rsrcstore</NAME><VALUE>0</VALUE></SETTING>
479 <SETTING><NAME>MWProject_68K_rsrcmerge</NAME><VALUE>0</VALUE></SETTING>
480 <SETTING><NAME>MWProject_68K_rsrcflags</NAME><VALUE>0</VALUE></SETTING>
481 <SETTING><NAME>MWProject_68K_a4</NAME><VALUE>0</VALUE></SETTING>
482 <SETTING><NAME>MWProject_68K_minsize</NAME><VALUE>384</VALUE></SETTING>
483 <SETTING><NAME>MWProject_68K_rsrcsegtype</NAME><VALUE>0</VALUE></SETTING>
484 <SETTING><NAME>MWProject_68K_cfm68kcodegen</NAME><VALUE>0</VALUE></SETTING>
485 <SETTING><NAME>MWProject_68K_stacksize</NAME><VALUE>0</VALUE></SETTING>
486 <SETTING><NAME>MWProject_68K_thedebugger</NAME><VALUE>0</VALUE></SETTING>
487 <SETTING><NAME>MWProject_68K_rsrc_custom</NAME><VALUE>0</VALUE></SETTING>
488 <SETTING><NAME>MWProject_68K_is_rseg_app</NAME><VALUE>0</VALUE></SETTING>
489 <SETTING><NAME>MWProject_68K_is_pilot_lib</NAME><VALUE>0</VALUE></SETTING>
490 <SETTING><NAME>MWProject_68K_pilot_main_entry</NAME><VALUE></VALUE></SETTING>
491
492 <!-- Settings for "C/C++ Compiler" panel -->
493 <SETTING><NAME>MWFrontEnd_C_cplusplus</NAME><VALUE>1</VALUE></SETTING>
494 <SETTING><NAME>MWFrontEnd_C_checkprotos</NAME><VALUE>0</VALUE></SETTING>
495 <SETTING><NAME>MWFrontEnd_C_arm</NAME><VALUE>0</VALUE></SETTING>
496 <SETTING><NAME>MWFrontEnd_C_trigraphs</NAME><VALUE>0</VALUE></SETTING>
497 <SETTING><NAME>MWFrontEnd_C_onlystdkeywords</NAME><VALUE>0</VALUE></SETTING>
498 <SETTING><NAME>MWFrontEnd_C_enumsalwaysint</NAME><VALUE>0</VALUE></SETTING>
499 <SETTING><NAME>MWFrontEnd_C_mpwpointerstyle</NAME><VALUE>0</VALUE></SETTING>
500 <SETTING><NAME>MWFrontEnd_C_prefixname</NAME><VALUE>$$CODEWARRIOR_PREFIX_HEADER</VALUE></SETTING>
501 <SETTING><NAME>MWFrontEnd_C_ansistrict</NAME><VALUE>0</VALUE></SETTING>
502 <SETTING><NAME>MWFrontEnd_C_mpwcnewline</NAME><VALUE>0</VALUE></SETTING>
503 <SETTING><NAME>MWFrontEnd_C_wchar_type</NAME><VALUE>0</VALUE></SETTING>
504 <SETTING><NAME>MWFrontEnd_C_enableexceptions</NAME><VALUE>0</VALUE></SETTING>
505 <SETTING><NAME>MWFrontEnd_C_dontreusestrings</NAME><VALUE>0</VALUE></SETTING>
506 <SETTING><NAME>MWFrontEnd_C_poolstrings</NAME><VALUE>0</VALUE></SETTING>
507 <SETTING><NAME>MWFrontEnd_C_dontinline</NAME><VALUE>1</VALUE></SETTING>
508 <SETTING><NAME>MWFrontEnd_C_useRTTI</NAME><VALUE>1</VALUE></SETTING>
509 <SETTING><NAME>MWFrontEnd_C_multibyteaware</NAME><VALUE>0</VALUE></SETTING>
510 <SETTING><NAME>MWFrontEnd_C_unsignedchars</NAME><VALUE>0</VALUE></SETTING>
511 <SETTING><NAME>MWFrontEnd_C_autoinline</NAME><VALUE>0</VALUE></SETTING>
512 <SETTING><NAME>MWFrontEnd_C_booltruefalse</NAME><VALUE>1</VALUE></SETTING>
513 <SETTING><NAME>MWFrontEnd_C_direct_to_som</NAME><VALUE>0</VALUE></SETTING>
514 <SETTING><NAME>MWFrontEnd_C_som_env_check</NAME><VALUE>0</VALUE></SETTING>
515 <SETTING><NAME>MWFrontEnd_C_alwaysinline</NAME><VALUE>0</VALUE></SETTING>
516 <SETTING><NAME>MWFrontEnd_C_inlinelevel</NAME><VALUE>0</VALUE></SETTING>
517 <SETTING><NAME>MWFrontEnd_C_ecplusplus</NAME><VALUE>0</VALUE></SETTING>
518 <SETTING><NAME>MWFrontEnd_C_objective_c</NAME><VALUE>0</VALUE></SETTING>
519 <SETTING><NAME>MWFrontEnd_C_defer_codegen</NAME><VALUE>0</VALUE></SETTING>
520
521 <!-- Settings for "C/C++ Warnings" panel -->
522 <SETTING><NAME>MWWarning_C_warn_illpragma</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
523 <SETTING><NAME>MWWarning_C_warn_emptydecl</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
524 <SETTING><NAME>MWWarning_C_warn_possunwant</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
525 <SETTING><NAME>MWWarning_C_warn_unusedvar</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
526 <SETTING><NAME>MWWarning_C_warn_unusedarg</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
527 <SETTING><NAME>MWWarning_C_warn_extracomma</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
528 <SETTING><NAME>MWWarning_C_pedantic</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
529 <SETTING><NAME>MWWarning_C_warningerrors</NAME><VALUE>0</VALUE></SETTING>
530 <SETTING><NAME>MWWarning_C_warn_hidevirtual</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
531 <SETTING><NAME>MWWarning_C_warn_implicitconv</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
532 <SETTING><NAME>MWWarning_C_warn_notinlined</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
533 <SETTING><NAME>MWWarning_C_warn_structclass</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
534
535 <!-- Settings for "CFM68K" panel -->
536 <SETTING><NAME>MWCFM68K_exports</NAME><VALUE>None</VALUE></SETTING>
537 <SETTING><NAME>MWCFM68K_olddefversion</NAME><VALUE>0</VALUE></SETTING>
538 <SETTING><NAME>MWCFM68K_oldimpversion</NAME><VALUE>0</VALUE></SETTING>
539 <SETTING><NAME>MWCFM68K_currentversion</NAME><VALUE>0</VALUE></SETTING>
540 <SETTING><NAME>MWCFM68K_farthreshold</NAME><VALUE>256</VALUE></SETTING>
541 <SETTING><NAME>PCFM68K_sharedata</NAME><VALUE>0</VALUE></SETTING>
542 <SETTING><NAME>MWCFM68K_fragmentname</NAME><VALUE></VALUE></SETTING>
543 <SETTING><NAME>MWCFM68K_initname</NAME><VALUE></VALUE></SETTING>
544 <SETTING><NAME>MWCFM68K_mainname</NAME><VALUE>__start</VALUE></SETTING>
545 <SETTING><NAME>MWCFM68K_termname</NAME><VALUE></VALUE></SETTING>
546 <SETTING><NAME>MWCFM68K_libfolder</NAME><VALUE>0</VALUE></SETTING>
547 <SETTING><NAME>MWCFM68K_alignment</NAME><VALUE>Align_2</VALUE></SETTING>
548
549 <!-- Settings for "FTP Panel" panel -->
550 <SETTING><NAME>MWFTP_Post_hostName</NAME><VALUE></VALUE></SETTING>
551 <SETTING><NAME>MWFTP_Post_username</NAME><VALUE></VALUE></SETTING>
552 <SETTING><NAME>MWFTP_Post_password</NAME><VALUE>0</VALUE></SETTING>
553 <SETTING><NAME>MWFTP_Post_remoteDir</NAME><VALUE></VALUE></SETTING>
554 <SETTING><NAME>MWFTP_Post_ftp_PathVersion</NAME><VALUE>1</VALUE></SETTING>
555 <SETTING><NAME>MWFTP_Post_ftp_PathType</NAME><VALUE>0</VALUE></SETTING>
556 <SETTING><NAME>MWFTP_Post_ftp_PathFormat</NAME><VALUE>0</VALUE></SETTING>
557 <SETTING><NAME>MWFTP_Post_ftp_tree</NAME><VALUE></VALUE></SETTING>
558 <SETTING><NAME>MWFTP_Post_uploadDir</NAME><VALUE></VALUE></SETTING>
559 <SETTING><NAME>MWFTP_Post_ftp_port</NAME><VALUE>21</VALUE></SETTING>
560 <SETTING><NAME>MWFTP_Post_SendBin</NAME><VALUE>1</VALUE></SETTING>
561 <SETTING><NAME>MWFTP_Post_ShouldLog</NAME><VALUE>1</VALUE></SETTING>
562
563 <!-- Settings for "MacOS Merge Panel" panel -->
564 <SETTING><NAME>MWMerge_MacOS_projectType</NAME><VALUE>Application</VALUE></SETTING>
565 <SETTING><NAME>MWMerge_MacOS_outputName</NAME><VALUE>Merge Out</VALUE></SETTING>
566 <SETTING><NAME>MWMerge_MacOS_outputCreator</NAME><VALUE>1061109567</VALUE></SETTING>
567 <SETTING><NAME>MWMerge_MacOS_outputType</NAME><VALUE>1095782476</VALUE></SETTING>
568 <SETTING><NAME>MWMerge_MacOS_suppressWarning</NAME><VALUE>0</VALUE></SETTING>
569 <SETTING><NAME>MWMerge_MacOS_copyFragments</NAME><VALUE>1</VALUE></SETTING>
570 <SETTING><NAME>MWMerge_MacOS_copyResources</NAME><VALUE>1</VALUE></SETTING>
571 <SETTING><NAME>MWMerge_MacOS_skipResources</NAME>
572 <SETTING><VALUE>DLGX</VALUE></SETTING>
573 <SETTING><VALUE>ckid</VALUE></SETTING>
574 <SETTING><VALUE>Proj</VALUE></SETTING>
575 <SETTING><VALUE>WSPC</VALUE></SETTING>
576 </SETTING>
577
578 <!-- Settings for "Output Flags" panel -->
579 <SETTING><NAME>FileLocked</NAME><VALUE>false</VALUE></SETTING>
580 <SETTING><NAME>ResourcesMapIsReadOnly</NAME><VALUE>false</VALUE></SETTING>
581 <SETTING><NAME>PrinterDriverIsMultiFinderCompatible</NAME><VALUE>false</VALUE></SETTING>
582 <SETTING><NAME>Invisible</NAME><VALUE>false</VALUE></SETTING>
583 <SETTING><NAME>HasBundle</NAME><VALUE>false</VALUE></SETTING>
584 <SETTING><NAME>NameLocked</NAME><VALUE>false</VALUE></SETTING>
585 <SETTING><NAME>Stationery</NAME><VALUE>false</VALUE></SETTING>
586 <SETTING><NAME>HasCustomIcon</NAME><VALUE>false</VALUE></SETTING>
587 <SETTING><NAME>Shared</NAME><VALUE>false</VALUE></SETTING>
588 <SETTING><NAME>HasBeenInited</NAME><VALUE>false</VALUE></SETTING>
589 <SETTING><NAME>Label</NAME><VALUE>0</VALUE></SETTING>
590 <SETTING><NAME>Comments</NAME><VALUE></VALUE></SETTING>
591 <PANELDATA><NAME>Packager Panel</NAME><VALUE>
592 000100003F3F3F3F4150504C0371000100724830000000000000061004057500
593 000A000000000000000000570371E5A00372485010000000000000A003724A80
594 000A000000000000000000570372471003724870100000000000008003724A80
595 000A000000000000000000570372471003724890100000000000006003724A80
596 000A0000000000CD01A8008903724710037248B0100000000000004003724930
597 00280000000000CD01A800000372471000D401A87FFF0011000900D47FFF00CD
598 000001A87FFF7FFF00D40000037246C003724780100000000000004003724A80
599 000A000000010123009C00000372478003724910100000000000002003724A80
600 000001A87FFF7FFF70A8FFFF037247800064BDD0AB200004000001100000013C
601 0000000000000000000000000000000000000000000000000000000000000000
602 0000EBEB000000EBEB0000000000000000EBEBFAFA000000EBEB000000000000
603 00EBEBFA00000000EBEBFA000000000000EBEBFA00000000EBEBFA0000000000
604 00EBEBFA00000000EBEBFA0000000000EBEB00FA0000000000EBEB0000000000
605 00EBEB0000000000EBEBFAFA0000000000EBEBFA00000000EBEBFA0000000000
606 00EBEBFA00000000EBEBFA000000000000EBEBFA00000000EBEBFA0000000000
607 0000EBEB00EB00EBEBFAFA0000000000000000FAFA00FA00FAFA000000000000
608 0000000000000000000000000000000000000000000000000000000000000000
609 0364BDF0AB00001000000020001505400411F9E800000000000000010354D5E0
610 03724A60000000000000017003724C1000050000155374642043205303724620
611 2D574153544520505043000000000000000000003F3F3F3F4150504C00000180
612 0000018000000040000058C00000000000000000000000000000000000000000
613 0000000000000000000000000000000000000000000000000000000000000000
614 0000000000000000000000000000000000000000000000000000000000000000
615 00000000000000000000000000013F3F3F3F00000000000001560098015600FA
616 03724A8010000000000000B003724C10000A0001001701140318656E03724930
617 03724B40100000000000009003724C10000A00000000000000006F6203724930
618 03724B60100000000000007003724C1004067A98FFFFFFFFFFFF000003724B60
619 03724B80000000000000005003724C1000280010009401840002000003724B60
620 00000000300A0101010101010000000003724BA0100000000000002003725160
621 000000000000001040400014037247800364BF00AB00000400000020002E0E84
622 0000000000000010404000144044880003724BF00000000000000C0003725880
623 000A0000000000000000FFFF03724A8003724C10AB00000A00000020002E0DB8
624 000A00000000006C017420010372478003724C1000000000000003B003725090
625 960080009400FF49FE3A034903724C1000000000000000480055004800440010
626 0020000300080000000000005AAC000000000000000000000000000000000000
627 03724C5010000000000003600372509000000000000000000000000003724C10
628 00000000FFFFFFFFFFFFFFFF0000000003724CA010000000000000F003725090
629 00000000000100000000000803724C1000000000000000480000004800000000
630 0001000100010000000000000000000000000000000000000000000000000000
631 03724CD010000000000000300372509000000001000000010000FFFF03724C10
632 0001000000000000000000000000000003724CD0AB00000C00000020002E0D5C
633 FFFFFFFFFFFFFFFF000000000000000003724CD0AB00001400000020002E0DF4
634 05585380AB00000A000000200372478003724CD0AB00000E00000030002E0EB0
635 0000000000000000000000000000000000000000000000000000000000000000
636 03724CA010000000000001200372509000000000000000000000000003724CA0
637 000000000000000000000000002E1CE003724DC010000000000000F003725090
638 00000000000100000000000803724CA000000000000000480000004800000000
639 0001000100010000000000000000000000000000000000000000000000000000
640 03724DF010000000000000300372509000000001
641 </VALUE></PANELDATA>
642
643 <!-- Settings for "PPC CodeGen" panel -->
644 <SETTING><NAME>MWCodeGen_PPC_structalignment</NAME><VALUE>PPC</VALUE></SETTING>
645 <SETTING><NAME>MWCodeGen_PPC_tracebacktables</NAME><VALUE>Inline</VALUE></SETTING>
646 <SETTING><NAME>MWCodeGen_PPC_processor</NAME><VALUE>Generic</VALUE></SETTING>
647 <SETTING><NAME>MWCodeGen_PPC_readonlystrings</NAME><VALUE>0</VALUE></SETTING>
648 <SETTING><NAME>MWCodeGen_PPC_tocdata</NAME><VALUE>1</VALUE></SETTING>
649 <SETTING><NAME>MWCodeGen_PPC_profiler</NAME><VALUE>0</VALUE></SETTING>
650 <SETTING><NAME>MWCodeGen_PPC_fpcontract</NAME><VALUE>1</VALUE></SETTING>
651 <SETTING><NAME>MWCodeGen_PPC_schedule</NAME><VALUE>0</VALUE></SETTING>
652 <SETTING><NAME>MWCodeGen_PPC_peephole</NAME><VALUE>0</VALUE></SETTING>
653 <SETTING><NAME>MWCodeGen_PPC_processorspecific</NAME><VALUE>0</VALUE></SETTING>
654 <SETTING><NAME>MWCodeGen_PPC_altivec</NAME><VALUE>0</VALUE></SETTING>
655 <SETTING><NAME>MWCodeGen_PPC_vectortocdata</NAME><VALUE>0</VALUE></SETTING>
656 <SETTING><NAME>MWCodeGen_PPC_vrsave</NAME><VALUE>1</VALUE></SETTING>
657
658 <!-- Settings for "PPC Disassembler" panel -->
659 <SETTING><NAME>MWDisassembler_PPC_showcode</NAME><VALUE>1</VALUE></SETTING>
660 <SETTING><NAME>MWDisassembler_PPC_extended</NAME><VALUE>1</VALUE></SETTING>
661 <SETTING><NAME>MWDisassembler_PPC_mix</NAME><VALUE>1</VALUE></SETTING>
662 <SETTING><NAME>MWDisassembler_PPC_nohex</NAME><VALUE>0</VALUE></SETTING>
663 <SETTING><NAME>MWDisassembler_PPC_showdata</NAME><VALUE>1</VALUE></SETTING>
664 <SETTING><NAME>MWDisassembler_PPC_showexceptions</NAME><VALUE>1</VALUE></SETTING>
665 <SETTING><NAME>MWDisassembler_PPC_showsym</NAME><VALUE>0</VALUE></SETTING>
666 <SETTING><NAME>MWDisassembler_PPC_shownames</NAME><VALUE>1</VALUE></SETTING>
667
668 <!-- Settings for "PPC Global Optimizer" panel -->
669 <SETTING><NAME>GlobalOptimizer_PPC_optimizationlevel</NAME><VALUE>Level0</VALUE></SETTING>
670 <SETTING><NAME>GlobalOptimizer_PPC_optfor</NAME><VALUE>Speed</VALUE></SETTING>
671
672 <!-- Settings for "PPC Linker" panel -->
673 <SETTING><NAME>MWLinker_PPC_linksym</NAME><VALUE>1</VALUE></SETTING>
674 <SETTING><NAME>MWLinker_PPC_symfullpath</NAME><VALUE>1</VALUE></SETTING>
675 <SETTING><NAME>MWLinker_PPC_linkmap</NAME><VALUE>0</VALUE></SETTING>
676 <SETTING><NAME>MWLinker_PPC_nolinkwarnings</NAME><VALUE>0</VALUE></SETTING>
677 <SETTING><NAME>MWLinker_PPC_dontdeadstripinitcode</NAME><VALUE>0</VALUE></SETTING>
678 <SETTING><NAME>MWLinker_PPC_permitmultdefs</NAME><VALUE>0</VALUE></SETTING>
679 <SETTING><NAME>MWLinker_PPC_linkmode</NAME><VALUE>Fast</VALUE></SETTING>
680 <SETTING><NAME>MWLinker_PPC_initname</NAME><VALUE></VALUE></SETTING>
681 <SETTING><NAME>MWLinker_PPC_mainname</NAME><VALUE>__start</VALUE></SETTING>
682 <SETTING><NAME>MWLinker_PPC_termname</NAME><VALUE></VALUE></SETTING>
683
684 <!-- Settings for "PPC PEF" panel -->
685 <SETTING><NAME>MWPEF_exports</NAME><VALUE>None</VALUE></SETTING>
686 <SETTING><NAME>MWPEF_libfolder</NAME><VALUE>0</VALUE></SETTING>
687 <SETTING><NAME>MWPEF_sortcode</NAME><VALUE>None</VALUE></SETTING>
688 <SETTING><NAME>MWPEF_expandbss</NAME><VALUE>0</VALUE></SETTING>
689 <SETTING><NAME>MWPEF_sharedata</NAME><VALUE>0</VALUE></SETTING>
690 <SETTING><NAME>MWPEF_olddefversion</NAME><VALUE>0</VALUE></SETTING>
691 <SETTING><NAME>MWPEF_oldimpversion</NAME><VALUE>0</VALUE></SETTING>
692 <SETTING><NAME>MWPEF_currentversion</NAME><VALUE>0</VALUE></SETTING>
693 <SETTING><NAME>MWPEF_fragmentname</NAME><VALUE></VALUE></SETTING>
694 <SETTING><NAME>MWPEF_collapsereloads</NAME><VALUE>0</VALUE></SETTING>
695
696 <!-- Settings for "PPC Project" panel -->
697 <SETTING><NAME>MWProject_PPC_type</NAME><VALUE>Application</VALUE></SETTING>
698 <SETTING><NAME>MWProject_PPC_outfile</NAME><VALUE>$$TARGET</VALUE></SETTING>
699 <SETTING><NAME>MWProject_PPC_filecreator</NAME><VALUE>1061109567</VALUE></SETTING>
700 <SETTING><NAME>MWProject_PPC_filetype</NAME><VALUE>1095782476</VALUE></SETTING>
701 <SETTING><NAME>MWProject_PPC_size</NAME><VALUE>3000</VALUE></SETTING>
702 <SETTING><NAME>MWProject_PPC_minsize</NAME><VALUE>3000</VALUE></SETTING>
703 <SETTING><NAME>MWProject_PPC_stacksize</NAME><VALUE>128</VALUE></SETTING>
704 <SETTING><NAME>MWProject_PPC_flags</NAME><VALUE>22720</VALUE></SETTING>
705 <SETTING><NAME>MWProject_PPC_symfilename</NAME><VALUE></VALUE></SETTING>
706 <SETTING><NAME>MWProject_PPC_rsrcname</NAME><VALUE></VALUE></SETTING>
707 <SETTING><NAME>MWProject_PPC_rsrcheader</NAME><VALUE>Native</VALUE></SETTING>
708 <SETTING><NAME>MWProject_PPC_rsrctype</NAME><VALUE>1061109567</VALUE></SETTING>
709 <SETTING><NAME>MWProject_PPC_rsrcid</NAME><VALUE>0</VALUE></SETTING>
710 <SETTING><NAME>MWProject_PPC_rsrcflags</NAME><VALUE>0</VALUE></SETTING>
711 <SETTING><NAME>MWProject_PPC_rsrcstore</NAME><VALUE>0</VALUE></SETTING>
712 <SETTING><NAME>MWProject_PPC_rsrcmerge</NAME><VALUE>0</VALUE></SETTING>
713
714 <!-- Settings for "PPCAsm Panel" panel -->
715 <SETTING><NAME>MWAssembler_PPC_auxheader</NAME><VALUE>0</VALUE></SETTING>
716 <SETTING><NAME>MWAssembler_PPC_symmode</NAME><VALUE>Mac</VALUE></SETTING>
717 <SETTING><NAME>MWAssembler_PPC_dialect</NAME><VALUE>PPC</VALUE></SETTING>
718 <SETTING><NAME>MWAssembler_PPC_prefixfile</NAME><VALUE></VALUE></SETTING>
719 <SETTING><NAME>MWAssembler_PPC_typecheck</NAME><VALUE>0</VALUE></SETTING>
720 <SETTING><NAME>MWAssembler_PPC_warnings</NAME><VALUE>0</VALUE></SETTING>
721 <SETTING><NAME>MWAssembler_PPC_casesensitive</NAME><VALUE>0</VALUE></SETTING>
722
723 <!-- Settings for "WinRC Compiler" panel -->
724 <SETTING><NAME>MWWinRC_prefixname</NAME><VALUE></VALUE></SETTING>
725
726 <!-- Settings for "x86 CodeGen" panel -->
727 <SETTING><NAME>MWCodeGen_X86_processor</NAME><VALUE>Generic</VALUE></SETTING>
728 <SETTING><NAME>MWCodeGen_X86_alignment</NAME><VALUE>bytes8</VALUE></SETTING>
729 <SETTING><NAME>MWCodeGen_X86_exceptions</NAME><VALUE>ZeroOverhead</VALUE></SETTING>
730 <SETTING><NAME>MWCodeGen_X86_extinst_mmx</NAME><VALUE>0</VALUE></SETTING>
731 <SETTING><NAME>MWCodeGen_X86_extinst_3dnow</NAME><VALUE>0</VALUE></SETTING>
732 <SETTING><NAME>MWCodeGen_X86_use_mmx_3dnow_convention</NAME><VALUE>0</VALUE></SETTING>
733 <SETTING><NAME>MWCodeGen_X86_machinecodelisting</NAME><VALUE>0</VALUE></SETTING>
734 <SETTING><NAME>MWCodeGen_X86_intrinsics</NAME><VALUE>0</VALUE></SETTING>
735 <SETTING><NAME>MWCodeGen_X86_syminfo</NAME><VALUE>0</VALUE></SETTING>
736 <SETTING><NAME>MWCodeGen_X86_codeviewinfo</NAME><VALUE>1</VALUE></SETTING>
737 <SETTING><NAME>MWCodeGen_X86_extinst_cmov_fcomi</NAME><VALUE>0</VALUE></SETTING>
738 <SETTING><NAME>MWCodeGen_X86_extinst_sse</NAME><VALUE>0</VALUE></SETTING>
739
740 <!-- Settings for "x86 Disassembler" panel -->
741 <SETTING><NAME>PDisasmX86_showHeaders</NAME><VALUE>true</VALUE></SETTING>
742 <SETTING><NAME>PDisasmX86_showSymTab</NAME><VALUE>true</VALUE></SETTING>
743 <SETTING><NAME>PDisasmX86_showCode</NAME><VALUE>true</VALUE></SETTING>
744 <SETTING><NAME>PDisasmX86_showSource</NAME><VALUE>false</VALUE></SETTING>
745 <SETTING><NAME>PDisasmX86_showHex</NAME><VALUE>true</VALUE></SETTING>
746 <SETTING><NAME>PDisasmX86_showRelocation</NAME><VALUE>true</VALUE></SETTING>
747 <SETTING><NAME>PDisasmX86_showComments</NAME><VALUE>false</VALUE></SETTING>
748 <SETTING><NAME>PDisasmX86_showDebug</NAME><VALUE>false</VALUE></SETTING>
749 <SETTING><NAME>PDisasmX86_showExceptions</NAME><VALUE>false</VALUE></SETTING>
750 <SETTING><NAME>PDisasmX86_showData</NAME><VALUE>true</VALUE></SETTING>
751 <SETTING><NAME>PDisasmX86_showRaw</NAME><VALUE>false</VALUE></SETTING>
752 <SETTING><NAME>PDisasmX86_verbose</NAME><VALUE>true</VALUE></SETTING>
753
754 <!-- Settings for "x86 Exceptions Panel" panel -->
755 <SETTING><NAME>MWDebugger_X86_Exceptions</NAME>
756 <SETTING><VALUE>0</VALUE></SETTING>
757 <SETTING><VALUE>0</VALUE></SETTING>
758 <SETTING><VALUE>0</VALUE></SETTING>
759 <SETTING><VALUE>0</VALUE></SETTING>
760 <SETTING><VALUE>0</VALUE></SETTING>
761 <SETTING><VALUE>0</VALUE></SETTING>
762 <SETTING><VALUE>0</VALUE></SETTING>
763 <SETTING><VALUE>0</VALUE></SETTING>
764 <SETTING><VALUE>0</VALUE></SETTING>
765 <SETTING><VALUE>0</VALUE></SETTING>
766 <SETTING><VALUE>0</VALUE></SETTING>
767 <SETTING><VALUE>0</VALUE></SETTING>
768 <SETTING><VALUE>0</VALUE></SETTING>
769 <SETTING><VALUE>0</VALUE></SETTING>
770 <SETTING><VALUE>0</VALUE></SETTING>
771 <SETTING><VALUE>0</VALUE></SETTING>
772 <SETTING><VALUE>0</VALUE></SETTING>
773 <SETTING><VALUE>0</VALUE></SETTING>
774 <SETTING><VALUE>0</VALUE></SETTING>
775 <SETTING><VALUE>0</VALUE></SETTING>
776 <SETTING><VALUE>0</VALUE></SETTING>
777 <SETTING><VALUE>0</VALUE></SETTING>
778 <SETTING><VALUE>0</VALUE></SETTING>
779 <SETTING><VALUE>0</VALUE></SETTING>
780 </SETTING>
781
782 <!-- Settings for "x86 Global Optimizer" panel -->
783 <SETTING><NAME>GlobalOptimizer_X86_optimizationlevel</NAME><VALUE>Level0</VALUE></SETTING>
784 <SETTING><NAME>GlobalOptimizer_X86_optfor</NAME><VALUE>Speed</VALUE></SETTING>
785
786 <!-- Settings for "x86 Linker" panel -->
787 <SETTING><NAME>MWLinker_X86_entrypointusage</NAME><VALUE>Default</VALUE></SETTING>
788 <SETTING><NAME>MWLinker_X86_entrypoint</NAME><VALUE></VALUE></SETTING>
789 <SETTING><NAME>MWLinker_X86_subsystem</NAME><VALUE>WinGUI</VALUE></SETTING>
790 <SETTING><NAME>MWLinker_X86_subsysmajorid</NAME><VALUE>4</VALUE></SETTING>
791 <SETTING><NAME>MWLinker_X86_subsysminorid</NAME><VALUE>0</VALUE></SETTING>
792 <SETTING><NAME>MWLinker_X86_usrmajorid</NAME><VALUE>0</VALUE></SETTING>
793 <SETTING><NAME>MWLinker_X86_usrminorid</NAME><VALUE>0</VALUE></SETTING>
794 <SETTING><NAME>MWLinker_X86_commandfile</NAME><VALUE></VALUE></SETTING>
795 <SETTING><NAME>MWLinker_X86_generatemap</NAME><VALUE>0</VALUE></SETTING>
796 <SETTING><NAME>MWLinker_X86_linksym</NAME><VALUE>0</VALUE></SETTING>
797 <SETTING><NAME>MWLinker_X86_linkCV</NAME><VALUE>1</VALUE></SETTING>
798
799 <!-- Settings for "x86 Project" panel -->
800 <SETTING><NAME>MWProject_X86_type</NAME><VALUE>Application</VALUE></SETTING>
801 <SETTING><NAME>MWProject_X86_outfile</NAME><VALUE>noname.exe</VALUE></SETTING>
802 <SETTING><NAME>MWProject_X86_baseaddress</NAME><VALUE>4194304</VALUE></SETTING>
803 <SETTING><NAME>MWProject_X86_maxstacksize</NAME><VALUE>1024</VALUE></SETTING>
804 <SETTING><NAME>MWProject_X86_minstacksize</NAME><VALUE>4</VALUE></SETTING>
805 <SETTING><NAME>MWProject_X86_size</NAME><VALUE>1024</VALUE></SETTING>
806 <SETTING><NAME>MWProject_X86_minsize</NAME><VALUE>4</VALUE></SETTING>
807 <SETTING><NAME>MWProject_X86_importlib</NAME><VALUE></VALUE></SETTING>
808 </SETTINGLIST>
809 <FILELIST>
810 $$CODEWARRIOR_MOCS
811 $$CODEWARRIOR_LIBRARIES
812 $$CODEWARRIOR_SOURCES
813 $$CODEWARRIOR_HEADERS
814 </FILELIST>
815 <LINKORDER>
816 $$CODEWARRIOR_MOCS_LINKORDER
817 $$CODEWARRIOR_LIBRARIES_LINKORDER
818 $$CODEWARRIOR_SOURCES_LINKORDER
819 $$CODEWARRIOR_HEADERS_LINKORDER
820 </LINKORDER>
821 <FRAMEWORKLIST>
822 $$CODEWARRIOR_FRAMEWORKS
823 </FRAMEWORKLIST>
824 </TARGET>
825 </TARGETLIST>
826
827 <TARGETORDER>
828 <ORDEREDTARGET><NAME>$$TARGET_STEM</NAME></ORDEREDTARGET>
829 </TARGETORDER>
830
831 <GROUPLIST>
832 $$CODEWARRIOR_MOCS_GROUP
833 <GROUP><NAME>Sources</NAME>
834 $$CODEWARRIOR_HEADERS_GROUP
835 $$CODEWARRIOR_SOURCES_GROUP
836 </GROUP>
837 <GROUP><NAME>Libraries</NAME>
838 $$CODEWARRIOR_LIBRARIES_GROUP
839 </GROUP>
840 </GROUPLIST>
841</PROJECT>
842
diff --git a/mkspecs/mac9-mwerks/mwerkslib.xml b/mkspecs/mac9-mwerks/mwerkslib.xml
new file mode 100644
index 0000000..478fb76
--- a/dev/null
+++ b/mkspecs/mac9-mwerks/mwerkslib.xml
@@ -0,0 +1,842 @@
1<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2<?codewarrior exportversion="1.0.1" ideversion="4.1" ?>
3
4<!DOCTYPE PROJECT [
5<!ELEMENT PROJECT (TARGETLIST, TARGETORDER, GROUPLIST, DESIGNLIST?)>
6<!ELEMENT TARGETLIST (TARGET+)>
7<!ELEMENT TARGET (NAME, SETTINGLIST, FILELIST?, LINKORDER?, SEGMENTLIST?, OVERLAYGROUPLIST?, SUBTARGETLIST?, SUBPROJECTLIST?)>
8<!ELEMENT NAME (#PCDATA)>
9<!ELEMENT USERSOURCETREETYPE (#PCDATA)>
10<!ELEMENT PATH (#PCDATA)>
11<!ELEMENT FILELIST (FILE*)>
12<!ELEMENT FILE (PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?, ROOTFILEREF?, FILEKIND?, FILEFLAGS?)>
13<!ELEMENT PATHTYPE (#PCDATA)>
14<!ELEMENT PATHROOT (#PCDATA)>
15<!ELEMENT ACCESSPATH (#PCDATA)>
16<!ELEMENT PATHFORMAT (#PCDATA)>
17<!ELEMENT ROOTFILEREF (PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?)>
18<!ELEMENT FILEKIND (#PCDATA)>
19<!ELEMENT FILEFLAGS (#PCDATA)>
20<!ELEMENT FILEREF (TARGETNAME?, PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?)>
21<!ELEMENT TARGETNAME (#PCDATA)>
22<!ELEMENT SETTINGLIST ((SETTING|PANELDATA)+)>
23<!ELEMENT SETTING (NAME?, (VALUE|(SETTING+)))>
24<!ELEMENT PANELDATA (NAME, VALUE)>
25<!ELEMENT VALUE (#PCDATA)>
26<!ELEMENT LINKORDER (FILEREF*)>
27<!ELEMENT SEGMENTLIST (SEGMENT+)>
28<!ELEMENT SEGMENT (NAME, ATTRIBUTES?, FILEREF*)>
29<!ELEMENT ATTRIBUTES (#PCDATA)>
30<!ELEMENT OVERLAYGROUPLIST (OVERLAYGROUP+)>
31<!ELEMENT OVERLAYGROUP (NAME, BASEADDRESS, OVERLAY*)>
32<!ELEMENT BASEADDRESS (#PCDATA)>
33<!ELEMENT OVERLAY (NAME, FILEREF*)>
34<!ELEMENT SUBTARGETLIST (SUBTARGET+)>
35<!ELEMENT SUBTARGET (TARGETNAME, ATTRIBUTES?, FILEREF?)>
36<!ELEMENT SUBPROJECTLIST (SUBPROJECT+)>
37<!ELEMENT SUBPROJECT (FILEREF, SUBPROJECTTARGETLIST)>
38<!ELEMENT SUBPROJECTTARGETLIST (SUBPROJECTTARGET*)>
39<!ELEMENT SUBPROJECTTARGET (TARGETNAME, ATTRIBUTES?, FILEREF?)>
40<!ELEMENT TARGETORDER (ORDEREDTARGET|ORDEREDDESIGN)*>
41<!ELEMENT ORDEREDTARGET (NAME)>
42<!ELEMENT ORDEREDDESIGN (NAME, ORDEREDTARGET+)>
43<!ELEMENT GROUPLIST (GROUP|FILEREF)*>
44<!ELEMENT GROUP (NAME, (GROUP|FILEREF)*)>
45<!ELEMENT DESIGNLIST (DESIGN+)>
46<!ELEMENT DESIGN (NAME, DESIGNDATA)>
47<!ELEMENT DESIGNDATA (#PCDATA)>
48]>
49
50<PROJECT>
51 <TARGETLIST>
52 <TARGET>
53 <NAME>$$TARGET_STEM</NAME>
54 <SETTINGLIST>
55
56 <!-- Settings for "Source Trees" panel -->
57 <SETTING><NAME>UserSourceTrees</NAME><VALUE></VALUE></SETTING>
58
59 <!-- Settings for "Access Paths" panel -->
60 <SETTING><NAME>AlwaysSearchUserPaths</NAME><VALUE>false</VALUE></SETTING>
61 <SETTING><NAME>InterpretDOSAndUnixPaths</NAME><VALUE>true</VALUE></SETTING>
62
63 <SETTING><NAME>UserSearchPaths</NAME>
64 <SETTING>
65 <SETTING><NAME>SearchPath</NAME>
66 <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
67 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
68 <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
69 </SETTING>
70 <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
71 <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
72 </SETTING>
73 </SETTING>
74 <SETTING><NAME>SystemSearchPaths</NAME>
75 $$CODEWARRIOR_INCLUDEPATH
76 $$CODEWARRIOR_DEPENDPATH
77 </SETTING>
78
79 <!-- Settings for "Debugger Runtime" panel -->
80 <SETTING><NAME>MWRuntimeSettings_WorkingDirectory</NAME><VALUE></VALUE></SETTING>
81 <SETTING><NAME>MWRuntimeSettings_CommandLine</NAME><VALUE></VALUE></SETTING>
82 <SETTING><NAME>MWRuntimeSettings_HostApplication</NAME>
83 <SETTING><NAME>Path</NAME><VALUE></VALUE></SETTING>
84 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
85 <SETTING><NAME>PathRoot</NAME><VALUE>Absolute</VALUE></SETTING>
86 </SETTING>
87 <SETTING><NAME>MWRuntimeSettings_EnvVars</NAME><VALUE></VALUE></SETTING>
88
89 <!-- Settings for "Target Settings" panel -->
90 <SETTING><NAME>Linker</NAME><VALUE>MacOS PPC Linker</VALUE></SETTING>
91 <SETTING><NAME>PreLinker</NAME><VALUE></VALUE></SETTING>
92 <SETTING><NAME>PostLinker</NAME><VALUE></VALUE></SETTING>
93 <SETTING><NAME>Targetname</NAME><VALUE>$$TARGET_STEM</VALUE></SETTING>
94 <SETTING><NAME>OutputDirectory</NAME>
95 <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
96 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
97 <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
98 </SETTING>
99 <SETTING><NAME>SaveEntriesUsingRelativePaths</NAME><VALUE>false</VALUE></SETTING>
100
101 <!-- Settings for "File Mappings" panel -->
102 <SETTING><NAME>FileMappings</NAME>
103 <SETTING>
104 <SETTING><NAME>FileType</NAME><VALUE>APPL</VALUE></SETTING>
105 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
106 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
107 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
108 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
109 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
110 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
111 </SETTING>
112 <SETTING>
113 <SETTING><NAME>FileType</NAME><VALUE>Appl</VALUE></SETTING>
114 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
115 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
116 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
117 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
118 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
119 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
120 </SETTING>
121 <SETTING>
122 <SETTING><NAME>FileType</NAME><VALUE>MMLB</VALUE></SETTING>
123 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
124 <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
125 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
126 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
127 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
128 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
129 </SETTING>
130 <SETTING>
131 <SETTING><NAME>FileType</NAME><VALUE>MPLF</VALUE></SETTING>
132 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
133 <SETTING><NAME>Compiler</NAME><VALUE>Lib Import PPC</VALUE></SETTING>
134 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
135 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
136 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
137 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
138 </SETTING>
139 <SETTING>
140 <SETTING><NAME>FileType</NAME><VALUE>MWCD</VALUE></SETTING>
141 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
142 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
143 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
144 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
145 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
146 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
147 </SETTING>
148 <SETTING>
149 <SETTING><NAME>FileType</NAME><VALUE>RSRC</VALUE></SETTING>
150 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
151 <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
152 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
153 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
154 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
155 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
156 </SETTING>
157 <SETTING>
158 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
159 <SETTING><NAME>FileExtension</NAME><VALUE>.arr</VALUE></SETTING>
160 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
161 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
162 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
163 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
164 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
165 </SETTING>
166 <SETTING>
167 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
168 <SETTING><NAME>FileExtension</NAME><VALUE>.bh</VALUE></SETTING>
169 <SETTING><NAME>Compiler</NAME><VALUE>Balloon Help</VALUE></SETTING>
170 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
171 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
172 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
173 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
174 </SETTING>
175 <SETTING>
176 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
177 <SETTING><NAME>FileExtension</NAME><VALUE>.c</VALUE></SETTING>
178 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
179 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
180 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
181 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
182 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
183 </SETTING>
184 <SETTING>
185 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
186 <SETTING><NAME>FileExtension</NAME><VALUE>.c++</VALUE></SETTING>
187 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
188 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
189 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
190 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
191 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
192 </SETTING>
193 <SETTING>
194 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
195 <SETTING><NAME>FileExtension</NAME><VALUE>.cc</VALUE></SETTING>
196 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
197 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
198 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
199 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
200 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
201 </SETTING>
202 <SETTING>
203 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
204 <SETTING><NAME>FileExtension</NAME><VALUE>.cp</VALUE></SETTING>
205 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
206 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
207 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
208 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
209 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
210 </SETTING>
211 <SETTING>
212 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
213 <SETTING><NAME>FileExtension</NAME><VALUE>.cpp</VALUE></SETTING>
214 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
215 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
216 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
217 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
218 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
219 </SETTING>
220 <SETTING>
221 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
222 <SETTING><NAME>FileExtension</NAME><VALUE>.exp</VALUE></SETTING>
223 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
224 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
225 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
226 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
227 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
228 </SETTING>
229 <SETTING>
230 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
231 <SETTING><NAME>FileExtension</NAME><VALUE>.h</VALUE></SETTING>
232 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
233 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
234 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
235 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
236 <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
237 </SETTING>
238 <SETTING>
239 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
240 <SETTING><NAME>FileExtension</NAME><VALUE>.mocs</VALUE></SETTING>
241 <SETTING><NAME>Compiler</NAME><VALUE>McMoc</VALUE></SETTING>
242 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
243 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
244 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
245 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
246 </SETTING>
247 <SETTING>
248 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
249 <SETTING><NAME>FileExtension</NAME><VALUE>.pch</VALUE></SETTING>
250 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
251 <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
252 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
253 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
254 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
255 </SETTING>
256 <SETTING>
257 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
258 <SETTING><NAME>FileExtension</NAME><VALUE>.pch++</VALUE></SETTING>
259 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
260 <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
261 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
262 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
263 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
264 </SETTING>
265 <SETTING>
266 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
267 <SETTING><NAME>FileExtension</NAME><VALUE>.r</VALUE></SETTING>
268 <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
269 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
270 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
271 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
272 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
273 </SETTING>
274 <SETTING>
275 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
276 <SETTING><NAME>FileExtension</NAME><VALUE>.s</VALUE></SETTING>
277 <SETTING><NAME>Compiler</NAME><VALUE>PPCAsm</VALUE></SETTING>
278 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
279 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
280 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
281 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
282 </SETTING>
283 <SETTING>
284 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
285 <SETTING><NAME>FileExtension</NAME><VALUE>.xpm</VALUE></SETTING>
286 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ PPC</VALUE></SETTING>
287 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
288 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
289 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
290 <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
291 </SETTING>
292 <SETTING>
293 <SETTING><NAME>FileType</NAME><VALUE>XCOF</VALUE></SETTING>
294 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
295 <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
296 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
297 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
298 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
299 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
300 </SETTING>
301 <SETTING>
302 <SETTING><NAME>FileType</NAME><VALUE>docu</VALUE></SETTING>
303 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
304 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
305 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
306 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
307 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
308 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
309 </SETTING>
310 <SETTING>
311 <SETTING><NAME>FileType</NAME><VALUE>rsrc</VALUE></SETTING>
312 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
313 <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
314 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
315 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
316 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
317 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
318 </SETTING>
319 <SETTING>
320 <SETTING><NAME>FileType</NAME><VALUE>shlb</VALUE></SETTING>
321 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
322 <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
323 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
324 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
325 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
326 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
327 </SETTING>
328 <SETTING>
329 <SETTING><NAME>FileType</NAME><VALUE>stub</VALUE></SETTING>
330 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
331 <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
332 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
333 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
334 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
335 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
336 </SETTING>
337 <SETTING>
338 <SETTING><NAME>FileExtension</NAME><VALUE>.doc</VALUE></SETTING>
339 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
340 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
341 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
342 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
343 <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
344 </SETTING>
345 <SETTING>
346 <SETTING><NAME>FileExtension</NAME><VALUE>.o</VALUE></SETTING>
347 <SETTING><NAME>Compiler</NAME><VALUE>XCOFF Import PPC</VALUE></SETTING>
348 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
349 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
350 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
351 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
352 </SETTING>
353 <SETTING>
354 <SETTING><NAME>FileExtension</NAME><VALUE>.ppob</VALUE></SETTING>
355 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
356 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
357 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
358 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
359 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
360 </SETTING>
361 <SETTING>
362 <SETTING><NAME>FileExtension</NAME><VALUE>.rsrc</VALUE></SETTING>
363 <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
364 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
365 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
366 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
367 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
368 </SETTING>
369 </SETTING>
370
371 <!-- Settings for "Build Extras" panel -->
372 <SETTING><NAME>CacheModDates</NAME><VALUE>true</VALUE></SETTING>
373 <SETTING><NAME>ActivateBrowser</NAME><VALUE>true</VALUE></SETTING>
374 <SETTING><NAME>DumpBrowserInfo</NAME><VALUE>false</VALUE></SETTING>
375 <SETTING><NAME>CacheSubprojects</NAME><VALUE>true</VALUE></SETTING>
376 <SETTING><NAME>UseThirdPartyDebugger</NAME><VALUE>false</VALUE></SETTING>
377 <SETTING><NAME>DebuggerCommandLine</NAME><VALUE></VALUE></SETTING>
378
379 <!-- Settings for "Debugger Target" panel -->
380 <SETTING><NAME>LogSystemMessages</NAME><VALUE>false</VALUE></SETTING>
381 <SETTING><NAME>AutoTargetDLLs</NAME><VALUE>false</VALUE></SETTING>
382 <SETTING><NAME>StopAtWatchpoints</NAME><VALUE>true</VALUE></SETTING>
383 <SETTING><NAME>PauseWhileRunning</NAME><VALUE>false</VALUE></SETTING>
384 <SETTING><NAME>PauseInterval</NAME><VALUE>5</VALUE></SETTING>
385 <SETTING><NAME>PauseUIFlags</NAME><VALUE>0</VALUE></SETTING>
386 <SETTING><NAME>AltExePath</NAME>
387 <SETTING><NAME>Path</NAME><VALUE></VALUE></SETTING>
388 <SETTING><NAME>PathFormat</NAME><VALUE>Generic</VALUE></SETTING>
389 <SETTING><NAME>PathRoot</NAME><VALUE>Absolute</VALUE></SETTING>
390 </SETTING>
391 <SETTING><NAME>StopAtTempBPOnLaunch</NAME><VALUE>false</VALUE></SETTING>
392 <SETTING><NAME>CacheSymbolics</NAME><VALUE>true</VALUE></SETTING>
393 <SETTING><NAME>TempBPFunctionName</NAME><VALUE>main</VALUE></SETTING>
394 <SETTING><NAME>TempBPType</NAME><VALUE>false</VALUE></SETTING>
395 <PANELDATA><NAME>Remote Debug</NAME><VALUE>
396 00030000006563740036384B0526BD500526FF10000000000000030004EB2698
397 3A437573746F6D204B6579770526BD500036384B2046696E616C204D61634F53
398 20546F6F6C626F783A4163636573732050617468730036384B2046696E616C20
399 4D61634F5320546F6F6C626F783A5461726765742053657474696E6773003638
400 4B2046696E616C204D61634F5320546F6F6C626F783A46696C65204D61707069
401 6E67730036384B2046696E616C204D61634F5320546F6F6C626F783A4275696C
402 64204578747261730036384B2046696E616C204D61634F5320546F6F6C626F78
403 205050432044656275673A416363657373205061746873004D61634F5320546F
404 6F6C626F00205050432044656275673A5461726765742053657474696E677300
405 4D61634F5320546F6F6C626F78205050432044656275673A46696C65204D6170
406 70696E6773004D61634F5320546F6F6C626F78205050432044656275673A4275
407 696C6420457874726173004D61634F5320546F6F6C626F782050504320446562
408 75673A44656275676765722052756E74696D65004D61634F5320546F6F6C626F
409 78205050432044656275673A446562756767657220546172676574004D61634F
410 5320546F6F6C626F78205050432044656275673A36384B20436F646547656E00
411 4D61634F5320546F6F6C626F78205050432044656275673A36384B2044697361
412 7373656D00000072004D61634F5320546F6F6C626F7820505043204465627567
413 3A36384B20476C6F62616C204F7074696D697A6572004D61634F5320546F6F6C
414 626F78205050432044656275673A36384B204C696E6B6572004D61634F532054
415 6F6F6C626F78205050432044656275673A36384B2050726F6A656374004D6163
416 4F5320546F6F6C626F78205050432044656275673A432F432B2B20436F6D7069
417 6C6572004D61634F5320546F6F6C626F78205050432044656275673A432F432B
418 2B205761726E696E6773004D61634F5320546F6F6C626F782050504320446562
419 75673A43464D36384B004D61634F5320546F6F6C626F78205050432044656275
420 673A46545020
421 </VALUE></PANELDATA>
422 <PANELDATA><NAME>Auto-target</NAME><VALUE>
423 00010000
424 </VALUE></PANELDATA>
425
426 <!-- Settings for "68K CodeGen" panel -->
427 <SETTING><NAME>MWCodeGen_68K_codesize</NAME><VALUE>Smart</VALUE></SETTING>
428 <SETTING><NAME>MWCodeGen_68K_structalignment</NAME><VALUE>MC68K</VALUE></SETTING>
429 <SETTING><NAME>MWCodeGen_68K_fp_mode</NAME><VALUE>SANE</VALUE></SETTING>
430 <SETTING><NAME>MWCodeGen_68K_code68020</NAME><VALUE>0</VALUE></SETTING>
431 <SETTING><NAME>MWCodeGen_68K_profiler</NAME><VALUE>0</VALUE></SETTING>
432 <SETTING><NAME>MWCodeGen_68K_mpwc</NAME><VALUE>0</VALUE></SETTING>
433 <SETTING><NAME>MWCodeGen_68K_fourbyteints</NAME><VALUE>1</VALUE></SETTING>
434 <SETTING><NAME>MWCodeGen_68K_IEEEdoubles</NAME><VALUE>1</VALUE></SETTING>
435 <SETTING><NAME>MWCodeGen_68K_fardata</NAME><VALUE>1</VALUE></SETTING>
436 <SETTING><NAME>MWCodeGen_68K_farvtables</NAME><VALUE>1</VALUE></SETTING>
437 <SETTING><NAME>MWCodeGen_68K_farstrings</NAME><VALUE>1</VALUE></SETTING>
438 <SETTING><NAME>MWCodeGen_68K_pcrelstrings</NAME><VALUE>0</VALUE></SETTING>
439 <SETTING><NAME>MWCodeGen_68K_macsbug</NAME><VALUE>New</VALUE></SETTING>
440 <SETTING><NAME>MWCodeGen_68K_a6frames</NAME><VALUE>1</VALUE></SETTING>
441
442 <!-- Settings for "68K Disassembler" panel -->
443 <SETTING><NAME>MWDisassembler_68K_showcode</NAME><VALUE>1</VALUE></SETTING>
444 <SETTING><NAME>MWDisassembler_68K_mix</NAME><VALUE>0</VALUE></SETTING>
445 <SETTING><NAME>MWDisassembler_68K_nohex</NAME><VALUE>0</VALUE></SETTING>
446 <SETTING><NAME>MWDisassembler_68K_showdata</NAME><VALUE>1</VALUE></SETTING>
447 <SETTING><NAME>MWDisassembler_68K_showexceptions</NAME><VALUE>1</VALUE></SETTING>
448 <SETTING><NAME>MWDisassembler_68K_showsym</NAME><VALUE>0</VALUE></SETTING>
449 <SETTING><NAME>MWDisassembler_68K_shownames</NAME><VALUE>1</VALUE></SETTING>
450
451 <!-- Settings for "68K Global Optimizer" panel -->
452 <SETTING><NAME>GlobalOptimizer_68K_optimizationlevel</NAME><VALUE>Level0</VALUE></SETTING>
453 <SETTING><NAME>GlobalOptimizer_68K_optfor</NAME><VALUE>Speed</VALUE></SETTING>
454
455 <!-- Settings for "68K Linker" panel -->
456 <SETTING><NAME>MWLinker_68K_linksym</NAME><VALUE>1</VALUE></SETTING>
457 <SETTING><NAME>MWLinker_68K_symfullpath</NAME><VALUE>1</VALUE></SETTING>
458 <SETTING><NAME>MWLinker_68K_linksingle</NAME><VALUE>0</VALUE></SETTING>
459 <SETTING><NAME>MWLinker_68K_fastlink</NAME><VALUE>1</VALUE></SETTING>
460 <SETTING><NAME>MWLinker_68K_generateMap</NAME><VALUE>0</VALUE></SETTING>
461 <SETTING><NAME>MWLinker_68K_nolinkwarnings</NAME><VALUE>0</VALUE></SETTING>
462 <SETTING><NAME>MWLinker_68K_glueintosegone</NAME><VALUE>1</VALUE></SETTING>
463 <SETTING><NAME>MWLinker_68K_dontdeadstripinitcode</NAME><VALUE>0</VALUE></SETTING>
464
465 <!-- Settings for "68K Project" panel -->
466 <SETTING><NAME>MWProject_68K_type</NAME><VALUE>Application</VALUE></SETTING>
467 <SETTING><NAME>MWProject_68K_outfile</NAME><VALUE>a.out</VALUE></SETTING>
468 <SETTING><NAME>MWProject_68K_symfilename</NAME><VALUE></VALUE></SETTING>
469 <SETTING><NAME>MWProject_68K_filecreator</NAME><VALUE>1061109567</VALUE></SETTING>
470 <SETTING><NAME>MWProject_68K_filetype</NAME><VALUE>1095782476</VALUE></SETTING>
471 <SETTING><NAME>MWProject_68K_size</NAME><VALUE>384</VALUE></SETTING>
472 <SETTING><NAME>MWProject_68K_flags</NAME><VALUE>22720</VALUE></SETTING>
473 <SETTING><NAME>MWProject_68K_rsrcheader</NAME><VALUE>Standard</VALUE></SETTING>
474 <SETTING><NAME>MWProject_68K_rsrcname</NAME><VALUE></VALUE></SETTING>
475 <SETTING><NAME>MWProject_68K_rsrctype</NAME><VALUE>1061109567</VALUE></SETTING>
476 <SETTING><NAME>MWProject_68K_rsrcid</NAME><VALUE>0</VALUE></SETTING>
477 <SETTING><NAME>MWProject_68K_rsrcmulti</NAME><VALUE>0</VALUE></SETTING>
478 <SETTING><NAME>MWProject_68K_rsrcstore</NAME><VALUE>0</VALUE></SETTING>
479 <SETTING><NAME>MWProject_68K_rsrcmerge</NAME><VALUE>0</VALUE></SETTING>
480 <SETTING><NAME>MWProject_68K_rsrcflags</NAME><VALUE>0</VALUE></SETTING>
481 <SETTING><NAME>MWProject_68K_a4</NAME><VALUE>0</VALUE></SETTING>
482 <SETTING><NAME>MWProject_68K_minsize</NAME><VALUE>384</VALUE></SETTING>
483 <SETTING><NAME>MWProject_68K_rsrcsegtype</NAME><VALUE>0</VALUE></SETTING>
484 <SETTING><NAME>MWProject_68K_cfm68kcodegen</NAME><VALUE>0</VALUE></SETTING>
485 <SETTING><NAME>MWProject_68K_stacksize</NAME><VALUE>0</VALUE></SETTING>
486 <SETTING><NAME>MWProject_68K_thedebugger</NAME><VALUE>0</VALUE></SETTING>
487 <SETTING><NAME>MWProject_68K_rsrc_custom</NAME><VALUE>0</VALUE></SETTING>
488 <SETTING><NAME>MWProject_68K_is_rseg_app</NAME><VALUE>0</VALUE></SETTING>
489 <SETTING><NAME>MWProject_68K_is_pilot_lib</NAME><VALUE>0</VALUE></SETTING>
490 <SETTING><NAME>MWProject_68K_pilot_main_entry</NAME><VALUE></VALUE></SETTING>
491
492 <!-- Settings for "C/C++ Compiler" panel -->
493 <SETTING><NAME>MWFrontEnd_C_cplusplus</NAME><VALUE>1</VALUE></SETTING>
494 <SETTING><NAME>MWFrontEnd_C_checkprotos</NAME><VALUE>0</VALUE></SETTING>
495 <SETTING><NAME>MWFrontEnd_C_arm</NAME><VALUE>0</VALUE></SETTING>
496 <SETTING><NAME>MWFrontEnd_C_trigraphs</NAME><VALUE>0</VALUE></SETTING>
497 <SETTING><NAME>MWFrontEnd_C_onlystdkeywords</NAME><VALUE>0</VALUE></SETTING>
498 <SETTING><NAME>MWFrontEnd_C_enumsalwaysint</NAME><VALUE>0</VALUE></SETTING>
499 <SETTING><NAME>MWFrontEnd_C_mpwpointerstyle</NAME><VALUE>0</VALUE></SETTING>
500 <SETTING><NAME>MWFrontEnd_C_prefixname</NAME><VALUE>$$CODEWARRIOR_PREFIX_HEADER</VALUE></SETTING>
501 <SETTING><NAME>MWFrontEnd_C_ansistrict</NAME><VALUE>0</VALUE></SETTING>
502 <SETTING><NAME>MWFrontEnd_C_mpwcnewline</NAME><VALUE>0</VALUE></SETTING>
503 <SETTING><NAME>MWFrontEnd_C_wchar_type</NAME><VALUE>0</VALUE></SETTING>
504 <SETTING><NAME>MWFrontEnd_C_enableexceptions</NAME><VALUE>0</VALUE></SETTING>
505 <SETTING><NAME>MWFrontEnd_C_dontreusestrings</NAME><VALUE>0</VALUE></SETTING>
506 <SETTING><NAME>MWFrontEnd_C_poolstrings</NAME><VALUE>0</VALUE></SETTING>
507 <SETTING><NAME>MWFrontEnd_C_dontinline</NAME><VALUE>1</VALUE></SETTING>
508 <SETTING><NAME>MWFrontEnd_C_useRTTI</NAME><VALUE>1</VALUE></SETTING>
509 <SETTING><NAME>MWFrontEnd_C_multibyteaware</NAME><VALUE>0</VALUE></SETTING>
510 <SETTING><NAME>MWFrontEnd_C_unsignedchars</NAME><VALUE>0</VALUE></SETTING>
511 <SETTING><NAME>MWFrontEnd_C_autoinline</NAME><VALUE>0</VALUE></SETTING>
512 <SETTING><NAME>MWFrontEnd_C_booltruefalse</NAME><VALUE>1</VALUE></SETTING>
513 <SETTING><NAME>MWFrontEnd_C_direct_to_som</NAME><VALUE>0</VALUE></SETTING>
514 <SETTING><NAME>MWFrontEnd_C_som_env_check</NAME><VALUE>0</VALUE></SETTING>
515 <SETTING><NAME>MWFrontEnd_C_alwaysinline</NAME><VALUE>0</VALUE></SETTING>
516 <SETTING><NAME>MWFrontEnd_C_inlinelevel</NAME><VALUE>0</VALUE></SETTING>
517 <SETTING><NAME>MWFrontEnd_C_ecplusplus</NAME><VALUE>0</VALUE></SETTING>
518 <SETTING><NAME>MWFrontEnd_C_objective_c</NAME><VALUE>0</VALUE></SETTING>
519 <SETTING><NAME>MWFrontEnd_C_defer_codegen</NAME><VALUE>0</VALUE></SETTING>
520
521 <!-- Settings for "C/C++ Warnings" panel -->
522 <SETTING><NAME>MWWarning_C_warn_illpragma</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
523 <SETTING><NAME>MWWarning_C_warn_emptydecl</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
524 <SETTING><NAME>MWWarning_C_warn_possunwant</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
525 <SETTING><NAME>MWWarning_C_warn_unusedvar</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
526 <SETTING><NAME>MWWarning_C_warn_unusedarg</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
527 <SETTING><NAME>MWWarning_C_warn_extracomma</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
528 <SETTING><NAME>MWWarning_C_pedantic</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
529 <SETTING><NAME>MWWarning_C_warningerrors</NAME><VALUE>0</VALUE></SETTING>
530 <SETTING><NAME>MWWarning_C_warn_hidevirtual</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
531 <SETTING><NAME>MWWarning_C_warn_implicitconv</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
532 <SETTING><NAME>MWWarning_C_warn_notinlined</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
533 <SETTING><NAME>MWWarning_C_warn_structclass</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
534
535 <!-- Settings for "CFM68K" panel -->
536 <SETTING><NAME>MWCFM68K_exports</NAME><VALUE>None</VALUE></SETTING>
537 <SETTING><NAME>MWCFM68K_olddefversion</NAME><VALUE>0</VALUE></SETTING>
538 <SETTING><NAME>MWCFM68K_oldimpversion</NAME><VALUE>0</VALUE></SETTING>
539 <SETTING><NAME>MWCFM68K_currentversion</NAME><VALUE>0</VALUE></SETTING>
540 <SETTING><NAME>MWCFM68K_farthreshold</NAME><VALUE>256</VALUE></SETTING>
541 <SETTING><NAME>PCFM68K_sharedata</NAME><VALUE>0</VALUE></SETTING>
542 <SETTING><NAME>MWCFM68K_fragmentname</NAME><VALUE></VALUE></SETTING>
543 <SETTING><NAME>MWCFM68K_initname</NAME><VALUE></VALUE></SETTING>
544 <SETTING><NAME>MWCFM68K_mainname</NAME><VALUE>__start</VALUE></SETTING>
545 <SETTING><NAME>MWCFM68K_termname</NAME><VALUE></VALUE></SETTING>
546 <SETTING><NAME>MWCFM68K_libfolder</NAME><VALUE>0</VALUE></SETTING>
547 <SETTING><NAME>MWCFM68K_alignment</NAME><VALUE>Align_2</VALUE></SETTING>
548
549 <!-- Settings for "FTP Panel" panel -->
550 <SETTING><NAME>MWFTP_Post_hostName</NAME><VALUE></VALUE></SETTING>
551 <SETTING><NAME>MWFTP_Post_username</NAME><VALUE></VALUE></SETTING>
552 <SETTING><NAME>MWFTP_Post_password</NAME><VALUE>0</VALUE></SETTING>
553 <SETTING><NAME>MWFTP_Post_remoteDir</NAME><VALUE></VALUE></SETTING>
554 <SETTING><NAME>MWFTP_Post_ftp_PathVersion</NAME><VALUE>1</VALUE></SETTING>
555 <SETTING><NAME>MWFTP_Post_ftp_PathType</NAME><VALUE>0</VALUE></SETTING>
556 <SETTING><NAME>MWFTP_Post_ftp_PathFormat</NAME><VALUE>0</VALUE></SETTING>
557 <SETTING><NAME>MWFTP_Post_ftp_tree</NAME><VALUE></VALUE></SETTING>
558 <SETTING><NAME>MWFTP_Post_uploadDir</NAME><VALUE></VALUE></SETTING>
559 <SETTING><NAME>MWFTP_Post_ftp_port</NAME><VALUE>21</VALUE></SETTING>
560 <SETTING><NAME>MWFTP_Post_SendBin</NAME><VALUE>1</VALUE></SETTING>
561 <SETTING><NAME>MWFTP_Post_ShouldLog</NAME><VALUE>1</VALUE></SETTING>
562
563 <!-- Settings for "MacOS Merge Panel" panel -->
564 <SETTING><NAME>MWMerge_MacOS_projectType</NAME><VALUE>Application</VALUE></SETTING>
565 <SETTING><NAME>MWMerge_MacOS_outputName</NAME><VALUE>Merge Out</VALUE></SETTING>
566 <SETTING><NAME>MWMerge_MacOS_outputCreator</NAME><VALUE>1061109567</VALUE></SETTING>
567 <SETTING><NAME>MWMerge_MacOS_outputType</NAME><VALUE>1095782476</VALUE></SETTING>
568 <SETTING><NAME>MWMerge_MacOS_suppressWarning</NAME><VALUE>0</VALUE></SETTING>
569 <SETTING><NAME>MWMerge_MacOS_copyFragments</NAME><VALUE>1</VALUE></SETTING>
570 <SETTING><NAME>MWMerge_MacOS_copyResources</NAME><VALUE>1</VALUE></SETTING>
571 <SETTING><NAME>MWMerge_MacOS_skipResources</NAME>
572 <SETTING><VALUE>DLGX</VALUE></SETTING>
573 <SETTING><VALUE>ckid</VALUE></SETTING>
574 <SETTING><VALUE>Proj</VALUE></SETTING>
575 <SETTING><VALUE>WSPC</VALUE></SETTING>
576 </SETTING>
577
578 <!-- Settings for "Output Flags" panel -->
579 <SETTING><NAME>FileLocked</NAME><VALUE>false</VALUE></SETTING>
580 <SETTING><NAME>ResourcesMapIsReadOnly</NAME><VALUE>false</VALUE></SETTING>
581 <SETTING><NAME>PrinterDriverIsMultiFinderCompatible</NAME><VALUE>false</VALUE></SETTING>
582 <SETTING><NAME>Invisible</NAME><VALUE>false</VALUE></SETTING>
583 <SETTING><NAME>HasBundle</NAME><VALUE>false</VALUE></SETTING>
584 <SETTING><NAME>NameLocked</NAME><VALUE>false</VALUE></SETTING>
585 <SETTING><NAME>Stationery</NAME><VALUE>false</VALUE></SETTING>
586 <SETTING><NAME>HasCustomIcon</NAME><VALUE>false</VALUE></SETTING>
587 <SETTING><NAME>Shared</NAME><VALUE>false</VALUE></SETTING>
588 <SETTING><NAME>HasBeenInited</NAME><VALUE>false</VALUE></SETTING>
589 <SETTING><NAME>Label</NAME><VALUE>0</VALUE></SETTING>
590 <SETTING><NAME>Comments</NAME><VALUE></VALUE></SETTING>
591 <PANELDATA><NAME>Packager Panel</NAME><VALUE>
592 000100003F3F3F3F4150504C0371000100724830000000000000061004057500
593 000A000000000000000000570371E5A00372485010000000000000A003724A80
594 000A000000000000000000570372471003724870100000000000008003724A80
595 000A000000000000000000570372471003724890100000000000006003724A80
596 000A0000000000CD01A8008903724710037248B0100000000000004003724930
597 00280000000000CD01A800000372471000D401A87FFF0011000900D47FFF00CD
598 000001A87FFF7FFF00D40000037246C003724780100000000000004003724A80
599 000A000000010123009C00000372478003724910100000000000002003724A80
600 000001A87FFF7FFF70A8FFFF037247800064BDD0AB200004000001100000013C
601 0000000000000000000000000000000000000000000000000000000000000000
602 0000EBEB000000EBEB0000000000000000EBEBFAFA000000EBEB000000000000
603 00EBEBFA00000000EBEBFA000000000000EBEBFA00000000EBEBFA0000000000
604 00EBEBFA00000000EBEBFA0000000000EBEB00FA0000000000EBEB0000000000
605 00EBEB0000000000EBEBFAFA0000000000EBEBFA00000000EBEBFA0000000000
606 00EBEBFA00000000EBEBFA000000000000EBEBFA00000000EBEBFA0000000000
607 0000EBEB00EB00EBEBFAFA0000000000000000FAFA00FA00FAFA000000000000
608 0000000000000000000000000000000000000000000000000000000000000000
609 0364BDF0AB00001000000020001505400411F9E800000000000000010354D5E0
610 03724A60000000000000017003724C1000050000155374642043205303724620
611 2D574153544520505043000000000000000000003F3F3F3F4150504C00000180
612 0000018000000040000058C00000000000000000000000000000000000000000
613 0000000000000000000000000000000000000000000000000000000000000000
614 0000000000000000000000000000000000000000000000000000000000000000
615 00000000000000000000000000013F3F3F3F00000000000001560098015600FA
616 03724A8010000000000000B003724C10000A0001001701140318656E03724930
617 03724B40100000000000009003724C10000A00000000000000006F6203724930
618 03724B60100000000000007003724C1004067A98FFFFFFFFFFFF000003724B60
619 03724B80000000000000005003724C1000280010009401840002000003724B60
620 00000000300A0101010101010000000003724BA0100000000000002003725160
621 000000000000001040400014037247800364BF00AB00000400000020002E0E84
622 0000000000000010404000144044880003724BF00000000000000C0003725880
623 000A0000000000000000FFFF03724A8003724C10AB00000A00000020002E0DB8
624 000A00000000006C017420010372478003724C1000000000000003B003725090
625 960080009400FF49FE3A034903724C1000000000000000480055004800440010
626 0020000300080000000000005AAC000000000000000000000000000000000000
627 03724C5010000000000003600372509000000000000000000000000003724C10
628 00000000FFFFFFFFFFFFFFFF0000000003724CA010000000000000F003725090
629 00000000000100000000000803724C1000000000000000480000004800000000
630 0001000100010000000000000000000000000000000000000000000000000000
631 03724CD010000000000000300372509000000001000000010000FFFF03724C10
632 0001000000000000000000000000000003724CD0AB00000C00000020002E0D5C
633 FFFFFFFFFFFFFFFF000000000000000003724CD0AB00001400000020002E0DF4
634 05585380AB00000A000000200372478003724CD0AB00000E00000030002E0EB0
635 0000000000000000000000000000000000000000000000000000000000000000
636 03724CA010000000000001200372509000000000000000000000000003724CA0
637 000000000000000000000000002E1CE003724DC010000000000000F003725090
638 00000000000100000000000803724CA000000000000000480000004800000000
639 0001000100010000000000000000000000000000000000000000000000000000
640 03724DF010000000000000300372509000000001
641 </VALUE></PANELDATA>
642
643 <!-- Settings for "PPC CodeGen" panel -->
644 <SETTING><NAME>MWCodeGen_PPC_structalignment</NAME><VALUE>PPC</VALUE></SETTING>
645 <SETTING><NAME>MWCodeGen_PPC_tracebacktables</NAME><VALUE>Inline</VALUE></SETTING>
646 <SETTING><NAME>MWCodeGen_PPC_processor</NAME><VALUE>Generic</VALUE></SETTING>
647 <SETTING><NAME>MWCodeGen_PPC_readonlystrings</NAME><VALUE>0</VALUE></SETTING>
648 <SETTING><NAME>MWCodeGen_PPC_tocdata</NAME><VALUE>1</VALUE></SETTING>
649 <SETTING><NAME>MWCodeGen_PPC_profiler</NAME><VALUE>0</VALUE></SETTING>
650 <SETTING><NAME>MWCodeGen_PPC_fpcontract</NAME><VALUE>1</VALUE></SETTING>
651 <SETTING><NAME>MWCodeGen_PPC_schedule</NAME><VALUE>0</VALUE></SETTING>
652 <SETTING><NAME>MWCodeGen_PPC_peephole</NAME><VALUE>0</VALUE></SETTING>
653 <SETTING><NAME>MWCodeGen_PPC_processorspecific</NAME><VALUE>0</VALUE></SETTING>
654 <SETTING><NAME>MWCodeGen_PPC_altivec</NAME><VALUE>0</VALUE></SETTING>
655 <SETTING><NAME>MWCodeGen_PPC_vectortocdata</NAME><VALUE>0</VALUE></SETTING>
656 <SETTING><NAME>MWCodeGen_PPC_vrsave</NAME><VALUE>1</VALUE></SETTING>
657
658 <!-- Settings for "PPC Disassembler" panel -->
659 <SETTING><NAME>MWDisassembler_PPC_showcode</NAME><VALUE>1</VALUE></SETTING>
660 <SETTING><NAME>MWDisassembler_PPC_extended</NAME><VALUE>1</VALUE></SETTING>
661 <SETTING><NAME>MWDisassembler_PPC_mix</NAME><VALUE>1</VALUE></SETTING>
662 <SETTING><NAME>MWDisassembler_PPC_nohex</NAME><VALUE>0</VALUE></SETTING>
663 <SETTING><NAME>MWDisassembler_PPC_showdata</NAME><VALUE>1</VALUE></SETTING>
664 <SETTING><NAME>MWDisassembler_PPC_showexceptions</NAME><VALUE>1</VALUE></SETTING>
665 <SETTING><NAME>MWDisassembler_PPC_showsym</NAME><VALUE>0</VALUE></SETTING>
666 <SETTING><NAME>MWDisassembler_PPC_shownames</NAME><VALUE>1</VALUE></SETTING>
667
668 <!-- Settings for "PPC Global Optimizer" panel -->
669 <SETTING><NAME>GlobalOptimizer_PPC_optimizationlevel</NAME><VALUE>Level0</VALUE></SETTING>
670 <SETTING><NAME>GlobalOptimizer_PPC_optfor</NAME><VALUE>Speed</VALUE></SETTING>
671
672 <!-- Settings for "PPC Linker" panel -->
673 <SETTING><NAME>MWLinker_PPC_linksym</NAME><VALUE>1</VALUE></SETTING>
674 <SETTING><NAME>MWLinker_PPC_symfullpath</NAME><VALUE>1</VALUE></SETTING>
675 <SETTING><NAME>MWLinker_PPC_linkmap</NAME><VALUE>0</VALUE></SETTING>
676 <SETTING><NAME>MWLinker_PPC_nolinkwarnings</NAME><VALUE>0</VALUE></SETTING>
677 <SETTING><NAME>MWLinker_PPC_dontdeadstripinitcode</NAME><VALUE>0</VALUE></SETTING>
678 <SETTING><NAME>MWLinker_PPC_permitmultdefs</NAME><VALUE>0</VALUE></SETTING>
679 <SETTING><NAME>MWLinker_PPC_linkmode</NAME><VALUE>Fast</VALUE></SETTING>
680 <SETTING><NAME>MWLinker_PPC_initname</NAME><VALUE></VALUE></SETTING>
681 <SETTING><NAME>MWLinker_PPC_mainname</NAME><VALUE>__start</VALUE></SETTING>
682 <SETTING><NAME>MWLinker_PPC_termname</NAME><VALUE></VALUE></SETTING>
683
684 <!-- Settings for "PPC PEF" panel -->
685 <SETTING><NAME>MWPEF_exports</NAME><VALUE>None</VALUE></SETTING>
686 <SETTING><NAME>MWPEF_libfolder</NAME><VALUE>0</VALUE></SETTING>
687 <SETTING><NAME>MWPEF_sortcode</NAME><VALUE>None</VALUE></SETTING>
688 <SETTING><NAME>MWPEF_expandbss</NAME><VALUE>0</VALUE></SETTING>
689 <SETTING><NAME>MWPEF_sharedata</NAME><VALUE>0</VALUE></SETTING>
690 <SETTING><NAME>MWPEF_olddefversion</NAME><VALUE>0</VALUE></SETTING>
691 <SETTING><NAME>MWPEF_oldimpversion</NAME><VALUE>0</VALUE></SETTING>
692 <SETTING><NAME>MWPEF_currentversion</NAME><VALUE>0</VALUE></SETTING>
693 <SETTING><NAME>MWPEF_fragmentname</NAME><VALUE></VALUE></SETTING>
694 <SETTING><NAME>MWPEF_collapsereloads</NAME><VALUE>0</VALUE></SETTING>
695
696 <!-- Settings for "PPC Project" panel -->
697 <SETTING><NAME>MWProject_PPC_type</NAME><VALUE>Library</VALUE></SETTING>
698 <SETTING><NAME>MWProject_PPC_outfile</NAME><VALUE>$$TARGET</VALUE></SETTING>
699 <SETTING><NAME>MWProject_PPC_filecreator</NAME><VALUE>1061109567</VALUE></SETTING>
700 <SETTING><NAME>MWProject_PPC_filetype</NAME><VALUE>1061109567</VALUE></SETTING>
701 <SETTING><NAME>MWProject_PPC_size</NAME><VALUE>0</VALUE></SETTING>
702 <SETTING><NAME>MWProject_PPC_minsize</NAME><VALUE>0</VALUE></SETTING>
703 <SETTING><NAME>MWProject_PPC_stacksize</NAME><VALUE>0</VALUE></SETTING>
704 <SETTING><NAME>MWProject_PPC_flags</NAME><VALUE>0</VALUE></SETTING>
705 <SETTING><NAME>MWProject_PPC_symfilename</NAME><VALUE></VALUE></SETTING>
706 <SETTING><NAME>MWProject_PPC_rsrcname</NAME><VALUE></VALUE></SETTING>
707 <SETTING><NAME>MWProject_PPC_rsrcheader</NAME><VALUE>Native</VALUE></SETTING>
708 <SETTING><NAME>MWProject_PPC_rsrctype</NAME><VALUE>1061109567</VALUE></SETTING>
709 <SETTING><NAME>MWProject_PPC_rsrcid</NAME><VALUE>0</VALUE></SETTING>
710 <SETTING><NAME>MWProject_PPC_rsrcflags</NAME><VALUE>0</VALUE></SETTING>
711 <SETTING><NAME>MWProject_PPC_rsrcstore</NAME><VALUE>0</VALUE></SETTING>
712 <SETTING><NAME>MWProject_PPC_rsrcmerge</NAME><VALUE>0</VALUE></SETTING>
713
714 <!-- Settings for "PPCAsm Panel" panel -->
715 <SETTING><NAME>MWAssembler_PPC_auxheader</NAME><VALUE>0</VALUE></SETTING>
716 <SETTING><NAME>MWAssembler_PPC_symmode</NAME><VALUE>Mac</VALUE></SETTING>
717 <SETTING><NAME>MWAssembler_PPC_dialect</NAME><VALUE>PPC</VALUE></SETTING>
718 <SETTING><NAME>MWAssembler_PPC_prefixfile</NAME><VALUE></VALUE></SETTING>
719 <SETTING><NAME>MWAssembler_PPC_typecheck</NAME><VALUE>0</VALUE></SETTING>
720 <SETTING><NAME>MWAssembler_PPC_warnings</NAME><VALUE>0</VALUE></SETTING>
721 <SETTING><NAME>MWAssembler_PPC_casesensitive</NAME><VALUE>0</VALUE></SETTING>
722
723 <!-- Settings for "WinRC Compiler" panel -->
724 <SETTING><NAME>MWWinRC_prefixname</NAME><VALUE></VALUE></SETTING>
725
726 <!-- Settings for "x86 CodeGen" panel -->
727 <SETTING><NAME>MWCodeGen_X86_processor</NAME><VALUE>Generic</VALUE></SETTING>
728 <SETTING><NAME>MWCodeGen_X86_alignment</NAME><VALUE>bytes8</VALUE></SETTING>
729 <SETTING><NAME>MWCodeGen_X86_exceptions</NAME><VALUE>ZeroOverhead</VALUE></SETTING>
730 <SETTING><NAME>MWCodeGen_X86_extinst_mmx</NAME><VALUE>0</VALUE></SETTING>
731 <SETTING><NAME>MWCodeGen_X86_extinst_3dnow</NAME><VALUE>0</VALUE></SETTING>
732 <SETTING><NAME>MWCodeGen_X86_use_mmx_3dnow_convention</NAME><VALUE>0</VALUE></SETTING>
733 <SETTING><NAME>MWCodeGen_X86_machinecodelisting</NAME><VALUE>0</VALUE></SETTING>
734 <SETTING><NAME>MWCodeGen_X86_intrinsics</NAME><VALUE>0</VALUE></SETTING>
735 <SETTING><NAME>MWCodeGen_X86_syminfo</NAME><VALUE>0</VALUE></SETTING>
736 <SETTING><NAME>MWCodeGen_X86_codeviewinfo</NAME><VALUE>1</VALUE></SETTING>
737 <SETTING><NAME>MWCodeGen_X86_extinst_cmov_fcomi</NAME><VALUE>0</VALUE></SETTING>
738 <SETTING><NAME>MWCodeGen_X86_extinst_sse</NAME><VALUE>0</VALUE></SETTING>
739
740 <!-- Settings for "x86 Disassembler" panel -->
741 <SETTING><NAME>PDisasmX86_showHeaders</NAME><VALUE>true</VALUE></SETTING>
742 <SETTING><NAME>PDisasmX86_showSymTab</NAME><VALUE>true</VALUE></SETTING>
743 <SETTING><NAME>PDisasmX86_showCode</NAME><VALUE>true</VALUE></SETTING>
744 <SETTING><NAME>PDisasmX86_showSource</NAME><VALUE>false</VALUE></SETTING>
745 <SETTING><NAME>PDisasmX86_showHex</NAME><VALUE>true</VALUE></SETTING>
746 <SETTING><NAME>PDisasmX86_showRelocation</NAME><VALUE>true</VALUE></SETTING>
747 <SETTING><NAME>PDisasmX86_showComments</NAME><VALUE>false</VALUE></SETTING>
748 <SETTING><NAME>PDisasmX86_showDebug</NAME><VALUE>false</VALUE></SETTING>
749 <SETTING><NAME>PDisasmX86_showExceptions</NAME><VALUE>false</VALUE></SETTING>
750 <SETTING><NAME>PDisasmX86_showData</NAME><VALUE>true</VALUE></SETTING>
751 <SETTING><NAME>PDisasmX86_showRaw</NAME><VALUE>false</VALUE></SETTING>
752 <SETTING><NAME>PDisasmX86_verbose</NAME><VALUE>true</VALUE></SETTING>
753
754 <!-- Settings for "x86 Exceptions Panel" panel -->
755 <SETTING><NAME>MWDebugger_X86_Exceptions</NAME>
756 <SETTING><VALUE>0</VALUE></SETTING>
757 <SETTING><VALUE>0</VALUE></SETTING>
758 <SETTING><VALUE>0</VALUE></SETTING>
759 <SETTING><VALUE>0</VALUE></SETTING>
760 <SETTING><VALUE>0</VALUE></SETTING>
761 <SETTING><VALUE>0</VALUE></SETTING>
762 <SETTING><VALUE>0</VALUE></SETTING>
763 <SETTING><VALUE>0</VALUE></SETTING>
764 <SETTING><VALUE>0</VALUE></SETTING>
765 <SETTING><VALUE>0</VALUE></SETTING>
766 <SETTING><VALUE>0</VALUE></SETTING>
767 <SETTING><VALUE>0</VALUE></SETTING>
768 <SETTING><VALUE>0</VALUE></SETTING>
769 <SETTING><VALUE>0</VALUE></SETTING>
770 <SETTING><VALUE>0</VALUE></SETTING>
771 <SETTING><VALUE>0</VALUE></SETTING>
772 <SETTING><VALUE>0</VALUE></SETTING>
773 <SETTING><VALUE>0</VALUE></SETTING>
774 <SETTING><VALUE>0</VALUE></SETTING>
775 <SETTING><VALUE>0</VALUE></SETTING>
776 <SETTING><VALUE>0</VALUE></SETTING>
777 <SETTING><VALUE>0</VALUE></SETTING>
778 <SETTING><VALUE>0</VALUE></SETTING>
779 <SETTING><VALUE>0</VALUE></SETTING>
780 </SETTING>
781
782 <!-- Settings for "x86 Global Optimizer" panel -->
783 <SETTING><NAME>GlobalOptimizer_X86_optimizationlevel</NAME><VALUE>Level0</VALUE></SETTING>
784 <SETTING><NAME>GlobalOptimizer_X86_optfor</NAME><VALUE>Speed</VALUE></SETTING>
785
786 <!-- Settings for "x86 Linker" panel -->
787 <SETTING><NAME>MWLinker_X86_entrypointusage</NAME><VALUE>Default</VALUE></SETTING>
788 <SETTING><NAME>MWLinker_X86_entrypoint</NAME><VALUE></VALUE></SETTING>
789 <SETTING><NAME>MWLinker_X86_subsystem</NAME><VALUE>WinGUI</VALUE></SETTING>
790 <SETTING><NAME>MWLinker_X86_subsysmajorid</NAME><VALUE>4</VALUE></SETTING>
791 <SETTING><NAME>MWLinker_X86_subsysminorid</NAME><VALUE>0</VALUE></SETTING>
792 <SETTING><NAME>MWLinker_X86_usrmajorid</NAME><VALUE>0</VALUE></SETTING>
793 <SETTING><NAME>MWLinker_X86_usrminorid</NAME><VALUE>0</VALUE></SETTING>
794 <SETTING><NAME>MWLinker_X86_commandfile</NAME><VALUE></VALUE></SETTING>
795 <SETTING><NAME>MWLinker_X86_generatemap</NAME><VALUE>0</VALUE></SETTING>
796 <SETTING><NAME>MWLinker_X86_linksym</NAME><VALUE>0</VALUE></SETTING>
797 <SETTING><NAME>MWLinker_X86_linkCV</NAME><VALUE>1</VALUE></SETTING>
798
799 <!-- Settings for "x86 Project" panel -->
800 <SETTING><NAME>MWProject_X86_type</NAME><VALUE>Application</VALUE></SETTING>
801 <SETTING><NAME>MWProject_X86_outfile</NAME><VALUE>noname.exe</VALUE></SETTING>
802 <SETTING><NAME>MWProject_X86_baseaddress</NAME><VALUE>4194304</VALUE></SETTING>
803 <SETTING><NAME>MWProject_X86_maxstacksize</NAME><VALUE>1024</VALUE></SETTING>
804 <SETTING><NAME>MWProject_X86_minstacksize</NAME><VALUE>4</VALUE></SETTING>
805 <SETTING><NAME>MWProject_X86_size</NAME><VALUE>1024</VALUE></SETTING>
806 <SETTING><NAME>MWProject_X86_minsize</NAME><VALUE>4</VALUE></SETTING>
807 <SETTING><NAME>MWProject_X86_importlib</NAME><VALUE></VALUE></SETTING>
808 </SETTINGLIST>
809 <FILELIST>
810 $$CODEWARRIOR_MOCS
811 $$CODEWARRIOR_LIBRARIES
812 $$CODEWARRIOR_SOURCES
813 $$CODEWARRIOR_HEADERS
814 </FILELIST>
815 <LINKORDER>
816 $$CODEWARRIOR_MOCS_LINKORDER
817 $$CODEWARRIOR_LIBRARIES_LINKORDER
818 $$CODEWARRIOR_SOURCES_LINKORDER
819 $$CODEWARRIOR_HEADERS_LINKORDER
820 </LINKORDER>
821 <FRAMEWORKLIST>
822 $$CODEWARRIOR_FRAMEWORKS
823 </FRAMEWORKLIST>
824 </TARGET>
825 </TARGETLIST>
826
827 <TARGETORDER>
828 <ORDEREDTARGET><NAME>$$TARGET_STEM</NAME></ORDEREDTARGET>
829 </TARGETORDER>
830
831 <GROUPLIST>
832 $$CODEWARRIOR_MOCS_GROUP
833 <GROUP><NAME>Sources</NAME>
834 $$CODEWARRIOR_HEADERS_GROUP
835 $$CODEWARRIOR_SOURCES_GROUP
836 </GROUP>
837 <GROUP><NAME>Libraries</NAME>
838 $$CODEWARRIOR_LIBRARIES_GROUP
839 </GROUP>
840 </GROUPLIST>
841</PROJECT>
842
diff --git a/mkspecs/mac9-mwerks/qmake.conf b/mkspecs/mac9-mwerks/qmake.conf
new file mode 100644
index 0000000..1623cd0
--- a/dev/null
+++ b/mkspecs/mac9-mwerks/qmake.conf
@@ -0,0 +1,15 @@
1#
2# $Id$
3#
4# qmake configuration for mac-mwerks
5#
6
7 MAKEFILE_GENERATOR= METROWERKS
8 TEMPLATE = app
9 CONFIG += qt release warn_off
10 DEFINES += QT_NO_STL
11
12 QMAKE_INCDIR_QT = $(QTDIR)/include
13 QMAKE_LIBS_QT = $(QTDIR)/lib/libqt.lib
14 QMAKE_LIBS_OPENGL= -framework OpenGL -framework AGL
15 QMAKE_LIBS_OPENGL_QT= $$QMAKE_LIBS_OPENGL
diff --git a/mkspecs/mac9-mwerks/qplatformdefs.h b/mkspecs/mac9-mwerks/qplatformdefs.h
new file mode 100644
index 0000000..fdc7d3d
--- a/dev/null
+++ b/mkspecs/mac9-mwerks/qplatformdefs.h
@@ -0,0 +1,62 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <fcntl.h>
21#include <signal.h>
22#include <stat.h>
23
24#if !defined(QT_NO_COMPAT)
25 #define QT_STATBUF struct stat
26 #define QT_STATBUF4TSTATstruct stat
27 #define QT_STAT ::stat
28 #define QT_FSTAT ::fstat
29 #define QT_STAT_REG S_IFREG
30 #define QT_STAT_DIR S_IFDIR
31 #define QT_STAT_MASK S_IFMT
32 #define QT_STAT_LNK S_IFLNK
33 #define QT_FILENO fileno
34 #define QT_OPEN ::open
35 #define QT_CLOSE ::close
36 #define QT_LSEEK ::lseek
37 #define QT_READ ::read
38 #define QT_WRITE ::write
39 #define QT_ACCESS ::access
40 #define QT_GETCWD ::getcwd
41 #define QT_CHDIR ::chdir
42 #define QT_MKDIR ::mkdir
43 #define QT_RMDIR ::rmdir
44 #define QT_OPEN_RDONLY O_RDONLY
45 #define QT_OPEN_WRONLY O_WRONLY
46 #define QT_OPEN_RDWR O_RDWR
47 #define QT_OPEN_CREAT O_CREAT
48 #define QT_OPEN_TRUNC O_TRUNC
49 #define QT_OPEN_APPEND O_APPEND
50#endif
51
52 #define QT_SIGNAL_RETTYPEvoid
53 #define QT_SIGNAL_ARGS
54 #define QT_SIGNAL_IGNORE(void (*)())1
55
56 #define QT_SOCKLEN_T int
57
58 #define QT_SNPRINTF ::snprintf
59 #define QT_VSNPRINTF ::vsnprintf
60
61
62#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/macx-g++/Info.plist.app b/mkspecs/macx-g++/Info.plist.app
new file mode 100644
index 0000000..9d6c42a
--- a/dev/null
+++ b/mkspecs/macx-g++/Info.plist.app
@@ -0,0 +1,16 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
3<plist version="0.9">
4<dict>
5 <key>CFBundleIconFile</key>
6 <string>application.icns</string>
7 <key>CFBundlePackageType</key>
8 <string>APPL</string>
9 <key>CFBundleGetInfoString</key>
10 <string>Created by Qt/QMake</string>
11 <key>CFBundleSignature</key>
12 <string>ttxt</string>
13 <key>NOTE</key>
14 <string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
15</dict>
16</plist>
diff --git a/mkspecs/macx-g++/qmake.conf b/mkspecs/macx-g++/qmake.conf
new file mode 100644
index 0000000..68ec6a1
--- a/dev/null
+++ b/mkspecs/macx-g++/qmake.conf
@@ -0,0 +1,80 @@
1#
2# $Id$
3#
4# qmake configuration for macx-g++ (Mac OS X + command-line compiler)
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release resource_fork incremental global_init_link_order lib_version_first plugin_no_soname
10QMAKE_INCREMENTAL_STYLE = sublibs
11
12 QMAKE_CC = $(TB)cc
13 QMAKE_LEX = flex
14 QMAKE_LEXFLAGS =
15 QMAKE_YACC = yacc
16 QMAKE_YACCFLAGS = -d
17 QMAKE_RESOURCE = /Developer/Tools/Rez
18 QMAKE_CFLAGS = -pipe
19 QMAKE_CFLAGS_DEPS= -M
20 QMAKE_CFLAGS_WARN_ON= -Wall -W
21 QMAKE_CFLAGS_WARN_OFF= -w
22 QMAKE_CFLAGS_RELEASE= -O2
23 QMAKE_CFLAGS_DEBUG= -g
24 QMAKE_CFLAGS_SHLIB= -fPIC
25 QMAKE_EXTENSION_SHLIB= dylib
26 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
27
28 QMAKE_CXX = $(TB)c++
29 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
30 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
31 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
32 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
33 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
34 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
35 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
36 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
37
38 QMAKE_INCDIR = /usr/local/include
39 QMAKE_LIBDIR =
40 QMAKE_INCDIR_QT = $(QTDIR)/include
41 QMAKE_LIBDIR_QT = $(QTDIR)/lib
42 QMAKE_INCDIR_OPENGL= /System/Library/Frameworks/OpenGL.framework/Headers \
43 /System/Library/Frameworks/AGL.framework/Headers/
44
45 QMAKE_LINK = $$QMAKE_CXX
46 QMAKE_LINK_SHLIB= $$QMAKE_CXX
47 QMAKE_LFLAGS =
48#QMAKE_LFLAGS_PREBIND = -prebind -seg1addr 0x90000000
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHAPP= -prebind
52 QMAKE_LFLAGS_SHLIB= -dynamiclib
53QMAKE_LFLAGS_INCREMENTAL = -undefined suppress -flat_namespace
54 QMAKE_LFLAGS_PLUGIN= -bundle
55 QMAKE_LFLAGS_SONAME= -install_name$${LITERAL_WHITESPACE}@executable_path/../Frameworks/
56 QMAKE_LFLAGS_THREAD=
57 QMAKE_RPATH =
58
59 QMAKE_LIBS_DYNLOAD=
60 QMAKE_LIBS_QT = -lqt
61 QMAKE_LIBS_QT_THREAD= -lqt-mt
62 QMAKE_LIBS_OPENGL= -framework OpenGL -framework AGL
63 QMAKE_LIBS_OPENGL_QT= $$QMAKE_LIBS_OPENGL
64 QMAKE_LIBS_THREAD=
65
66 QMAKE_MOC = $(QTDIR)/bin/moc
67 QMAKE_UIC = $(QTDIR)/bin/uic
68
69 QMAKE_AR = ar cq
70 QMAKE_RANLIB = ranlib -s
71
72 QMAKE_TAR = tar -cf
73 QMAKE_GZIP = gzip -9f
74
75 QMAKE_COPY = cp -f
76 QMAKE_COPY_FILE = $$QMAKE_COPY
77 QMAKE_COPY_DIR = $$QMAKE_COPY -r
78 QMAKE_MOVE = mv -f
79 QMAKE_DEL_FILE = rm -f
80 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/macx-g++/qplatformdefs.h b/mkspecs/macx-g++/qplatformdefs.h
new file mode 100644
index 0000000..913d8c0
--- a/dev/null
+++ b/mkspecs/macx-g++/qplatformdefs.h
@@ -0,0 +1,84 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#define QT_NO_LIBRARY_UNLOAD
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/shm.h>
32#include <sys/socket.h>
33#include <sys/stat.h>
34#include <sys/wait.h>
35
36// DNS header files are not fully covered by X/Open specifications.
37// In particular nothing is said about res_* :/
38// On BSDs header files <netinet/in.h> and <arpa/nameser.h> are not
39// included by <resolv.h>. Note that <arpa/nameser.h> must be included
40// before <resolv.h>.
41#include <netinet/in.h>
42#include <arpa/nameser.h>
43#include <resolv.h>
44
45
46#if !defined(QT_NO_COMPAT)
47 #define QT_STATBUF struct stat
48 #define QT_STATBUF4TSTATstruct stat
49 #define QT_STAT ::stat
50 #define QT_FSTAT ::fstat
51 #define QT_STAT_REG S_IFREG
52 #define QT_STAT_DIR S_IFDIR
53 #define QT_STAT_MASK S_IFMT
54 #define QT_STAT_LNK S_IFLNK
55 #define QT_FILENO fileno
56 #define QT_OPEN ::open
57 #define QT_CLOSE ::close
58 #define QT_LSEEK ::lseek
59 #define QT_READ ::read
60 #define QT_WRITE ::write
61 #define QT_ACCESS ::access
62 #define QT_GETCWD ::getcwd
63 #define QT_CHDIR ::chdir
64 #define QT_MKDIR ::mkdir
65 #define QT_RMDIR ::rmdir
66 #define QT_OPEN_RDONLY O_RDONLY
67 #define QT_OPEN_WRONLY O_WRONLY
68 #define QT_OPEN_RDWR O_RDWR
69 #define QT_OPEN_CREAT O_CREAT
70 #define QT_OPEN_TRUNC O_TRUNC
71 #define QT_OPEN_APPEND O_APPEND
72#endif
73
74 #define QT_SIGNAL_RETTYPEvoid
75 #define QT_SIGNAL_ARGS int
76 #define QT_SIGNAL_IGNORE(void (*)(int))1
77
78 #define QT_SOCKLEN_T int
79
80 #define QT_SNPRINTF ::snprintf
81 #define QT_VSNPRINTF ::vsnprintf
82
83
84#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/macx-mwerks/mwerkstmpl.xml b/mkspecs/macx-mwerks/mwerkstmpl.xml
new file mode 100644
index 0000000..462deac
--- a/dev/null
+++ b/mkspecs/macx-mwerks/mwerkstmpl.xml
@@ -0,0 +1,826 @@
1<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2<?codewarrior exportversion="1.0.1" ideversion="4.2" ?>
3
4<!DOCTYPE PROJECT [
5<!ELEMENT PROJECT (TARGETLIST, TARGETORDER, GROUPLIST, DESIGNLIST?)>
6<!ELEMENT TARGETLIST (TARGET+)>
7<!ELEMENT TARGET (NAME, SETTINGLIST, FILELIST?, LINKORDER?, SEGMENTLIST?, OVERLAYGROUPLIST?, SUBTARGETLIST?, SUBPROJECTLIST?, FRAMEWORKLIST)>
8<!ELEMENT NAME (#PCDATA)>
9<!ELEMENT USERSOURCETREETYPE (#PCDATA)>
10<!ELEMENT PATH (#PCDATA)>
11<!ELEMENT FILELIST (FILE*)>
12<!ELEMENT FILE (PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?, ROOTFILEREF?, FILEKIND?, FILEFLAGS?)>
13<!ELEMENT PATHTYPE (#PCDATA)>
14<!ELEMENT PATHROOT (#PCDATA)>
15<!ELEMENT ACCESSPATH (#PCDATA)>
16<!ELEMENT PATHFORMAT (#PCDATA)>
17<!ELEMENT ROOTFILEREF (PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?)>
18<!ELEMENT FILEKIND (#PCDATA)>
19<!ELEMENT FILEFLAGS (#PCDATA)>
20<!ELEMENT FILEREF (TARGETNAME?, PATHTYPE, PATHROOT?, ACCESSPATH?, PATH, PATHFORMAT?)>
21<!ELEMENT TARGETNAME (#PCDATA)>
22<!ELEMENT SETTINGLIST ((SETTING|PANELDATA)+)>
23<!ELEMENT SETTING (NAME?, (VALUE|(SETTING+)))>
24<!ELEMENT PANELDATA (NAME, VALUE)>
25<!ELEMENT VALUE (#PCDATA)>
26<!ELEMENT LINKORDER (FILEREF*)>
27<!ELEMENT SEGMENTLIST (SEGMENT+)>
28<!ELEMENT SEGMENT (NAME, ATTRIBUTES?, FILEREF*)>
29<!ELEMENT ATTRIBUTES (#PCDATA)>
30<!ELEMENT OVERLAYGROUPLIST (OVERLAYGROUP+)>
31<!ELEMENT OVERLAYGROUP (NAME, BASEADDRESS, OVERLAY*)>
32<!ELEMENT BASEADDRESS (#PCDATA)>
33<!ELEMENT OVERLAY (NAME, FILEREF*)>
34<!ELEMENT SUBTARGETLIST (SUBTARGET+)>
35<!ELEMENT SUBTARGET (TARGETNAME, ATTRIBUTES?, FILEREF?)>
36<!ELEMENT SUBPROJECTLIST (SUBPROJECT+)>
37<!ELEMENT SUBPROJECT (FILEREF, SUBPROJECTTARGETLIST)>
38<!ELEMENT SUBPROJECTTARGETLIST (SUBPROJECTTARGET*)>
39<!ELEMENT SUBPROJECTTARGET (TARGETNAME, ATTRIBUTES?, FILEREF?)>
40<!ELEMENT FRAMEWORKLIST (FRAMEWORK+)>
41<!ELEMENT FRAMEWORK (FILEREF, LIBRARYFILE?, VERSION?)>
42<!ELEMENT LIBRARYFILE (FILEREF)>
43<!ELEMENT VERSION (#PCDATA)>
44<!ELEMENT TARGETORDER (ORDEREDTARGET|ORDEREDDESIGN)*>
45<!ELEMENT ORDEREDTARGET (NAME)>
46<!ELEMENT ORDEREDDESIGN (NAME, ORDEREDTARGET+)>
47<!ELEMENT GROUPLIST (GROUP|FILEREF)*>
48<!ELEMENT GROUP (NAME, (GROUP|FILEREF)*)>
49<!ELEMENT DESIGNLIST (DESIGN+)>
50<!ELEMENT DESIGN (NAME, DESIGNDATA)>
51<!ELEMENT DESIGNDATA (#PCDATA)>
52]>
53
54<PROJECT>
55 <TARGETLIST>
56 <TARGET>
57 <NAME>$$TARGET_STEM</NAME>
58 <SETTINGLIST>
59
60 <!-- Settings for "Source Trees" panel -->
61 <SETTING><NAME>UserSourceTrees</NAME><VALUE></VALUE></SETTING>
62
63 <!-- Settings for "Access Paths" panel -->
64 <SETTING><NAME>AlwaysSearchUserPaths</NAME><VALUE>false</VALUE></SETTING>
65 <SETTING><NAME>InterpretDOSAndUnixPaths</NAME><VALUE>true</VALUE></SETTING>
66 <SETTING><NAME>RequireFrameworkStyleIncludes</NAME><VALUE>true</VALUE></SETTING>
67 <SETTING><NAME>UserSearchPaths</NAME>
68 <SETTING>
69 <SETTING><NAME>SearchPath</NAME>
70 <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
71 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
72 <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
73 </SETTING>
74 <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
75 <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
76 </SETTING>
77 </SETTING>
78 <SETTING><NAME>SystemSearchPaths</NAME>
79 <SETTING>
80 <SETTING><NAME>SearchPath</NAME>
81 <SETTING><NAME>Path</NAME><VALUE>:usr:include:</VALUE></SETTING>
82 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
83 <SETTING><NAME>PathRoot</NAME><VALUE>OS X Volume</VALUE></SETTING>
84 </SETTING>
85 <SETTING><NAME>Recursive</NAME><VALUE>false</VALUE></SETTING>
86 <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
87 </SETTING>
88 <SETTING>
89 <SETTING><NAME>SearchPath</NAME>
90 <SETTING><NAME>Path</NAME><VALUE>:usr:include:sys:</VALUE></SETTING>
91 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
92 <SETTING><NAME>PathRoot</NAME><VALUE>OS X Volume</VALUE></SETTING>
93 </SETTING>
94 <SETTING><NAME>Recursive</NAME><VALUE>false</VALUE></SETTING>
95 <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
96 </SETTING>
97 <SETTING>
98 <SETTING><NAME>SearchPath</NAME>
99 <SETTING><NAME>Path</NAME><VALUE>:MSL:MSL_C:MSL_MacOS:Include:</VALUE></SETTING>
100 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
101 <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
102 </SETTING>
103 <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
104 </SETTING>
105 <SETTING>
106 <SETTING><NAME>SearchPath</NAME>
107 <SETTING><NAME>Path</NAME><VALUE>:MSL:MSL_C++:MSL_Common:Include:</VALUE></SETTING>
108 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
109 <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
110 </SETTING>
111 <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
112 </SETTING>
113 <SETTING>
114 <SETTING><NAME>SearchPath</NAME>
115 <SETTING><NAME>Path</NAME><VALUE>:MSL:MSL_C:MSL_Common:Include:</VALUE></SETTING>
116 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
117 <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
118 </SETTING>
119 <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
120 </SETTING>
121$$CODEWARRIOR_DEPENDPATH
122$$CODEWARRIOR_INCLUDEPATH
123 <SETTING>
124 <SETTING><NAME>SearchPath</NAME>
125 <SETTING><NAME>Path</NAME><VALUE>:usr:lib:</VALUE></SETTING>
126 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
127 <SETTING><NAME>PathRoot</NAME><VALUE>OS X Volume</VALUE></SETTING>
128 </SETTING>
129 <SETTING><NAME>Recursive</NAME><VALUE>true</VALUE></SETTING>
130 <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
131 </SETTING>
132 <SETTING>
133 <SETTING><NAME>SearchPath</NAME>
134 <SETTING><NAME>Path</NAME><VALUE>:MacOS X Support:Libraries:Runtime:Libs:</VALUE></SETTING>
135 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
136 <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
137 </SETTING>
138 <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
139 </SETTING>
140 <SETTING>
141 <SETTING><NAME>SearchPath</NAME>
142 <SETTING><NAME>Path</NAME><VALUE>:MSL:MSL_C++:MSL_MacOS:Lib:Mach-O:</VALUE></SETTING>
143 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
144 <SETTING><NAME>PathRoot</NAME><VALUE>CodeWarrior</VALUE></SETTING>
145 </SETTING>
146 <SETTING><NAME>HostFlags</NAME><VALUE>All</VALUE></SETTING>
147 </SETTING>
148$$CODEWARRIOR_FRAMEWORKPATH
149 </SETTING>
150
151
152 <!-- Settings for "Debugger Runtime" panel -->
153 <SETTING><NAME>MWRuntimeSettings_WorkingDirectory</NAME><VALUE></VALUE></SETTING>
154 <SETTING><NAME>MWRuntimeSettings_CommandLine</NAME><VALUE></VALUE></SETTING>
155 <SETTING><NAME>MWRuntimeSettings_HostApplication</NAME>
156 <SETTING><NAME>Path</NAME><VALUE></VALUE></SETTING>
157 <SETTING><NAME>PathFormat</NAME><VALUE>Generic</VALUE></SETTING>
158 <SETTING><NAME>PathRoot</NAME><VALUE>Absolute</VALUE></SETTING>
159 </SETTING>
160 <SETTING><NAME>MWRuntimeSettings_EnvVars</NAME>
161 <SETTING><VALUE>QTDIR=$$CODEWARRIOR_QTDIR</VALUE></SETTING>
162 </SETTING>
163
164 <!-- Settings for "Target Settings" panel -->
165 <SETTING><NAME>Linker</NAME><VALUE>$$CODEWARRIOR_LINKER</VALUE></SETTING>
166 <SETTING><NAME>PreLinker</NAME><VALUE></VALUE></SETTING>
167 <SETTING><NAME>PostLinker</NAME><VALUE></VALUE></SETTING>
168 <SETTING><NAME>Targetname</NAME><VALUE>$$TARGET_STEM</VALUE></SETTING>
169 <SETTING><NAME>OutputDirectory</NAME>
170$$CODEWARRIOR_OUTPUT_DIR
171 </SETTING>
172 <SETTING><NAME>SaveEntriesUsingRelativePaths</NAME><VALUE>false</VALUE></SETTING>
173
174 <!-- Settings for "File Mappings" panel -->
175 <SETTING><NAME>FileMappings</NAME>
176<!--
177 <SETTING>
178 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
179 <SETTING><NAME>FileExtension</NAME><VALUE>.mocs</VALUE></SETTING>
180 <SETTING><NAME>Compiler</NAME><VALUE>McMoc</VALUE></SETTING>
181 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
182 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
183 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
184 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
185 </SETTING>
186 <SETTING>
187 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
188 <SETTING><NAME>FileExtension</NAME><VALUE>.uics</VALUE></SETTING>
189 <SETTING><NAME>Compiler</NAME><VALUE>McMoc</VALUE></SETTING>
190 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
191 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
192 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
193 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
194 </SETTING>
195-->
196 <SETTING>
197 <SETTING><NAME>FileType</NAME><VALUE>APPL</VALUE></SETTING>
198 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
199 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
200 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
201 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
202 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
203 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
204 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
205 </SETTING>
206 <SETTING>
207 <SETTING><NAME>FileType</NAME><VALUE>Appl</VALUE></SETTING>
208 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
209 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
210 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
211 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
212 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
213 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
214 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
215 </SETTING>
216 <SETTING>
217 <SETTING><NAME>FileType</NAME><VALUE>MDYL</VALUE></SETTING>
218 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
219 <SETTING><NAME>Compiler</NAME><VALUE>Lib Import Mach-O</VALUE></SETTING>
220 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
221 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
222 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
223 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
224 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
225 </SETTING>
226 <SETTING>
227 <SETTING><NAME>FileType</NAME><VALUE>MLIB</VALUE></SETTING>
228 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
229 <SETTING><NAME>Compiler</NAME><VALUE>Lib Import Mach-O</VALUE></SETTING>
230 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
231 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
232 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
233 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
234 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
235 </SETTING>
236 <SETTING>
237 <SETTING><NAME>FileType</NAME><VALUE>MMLB</VALUE></SETTING>
238 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
239 <SETTING><NAME>Compiler</NAME><VALUE>Lib Import Mach-O</VALUE></SETTING>
240 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
241 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
242 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
243 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
244 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
245 </SETTING>
246 <SETTING>
247 <SETTING><NAME>FileType</NAME><VALUE>MPLF</VALUE></SETTING>
248 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
249 <SETTING><NAME>Compiler</NAME><VALUE>Lib Import Mach-O</VALUE></SETTING>
250 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
251 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
252 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
253 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
254 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
255 </SETTING>
256 <SETTING>
257 <SETTING><NAME>FileType</NAME><VALUE>MWCD</VALUE></SETTING>
258 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
259 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
260 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
261 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
262 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
263 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
264 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
265 </SETTING>
266 <SETTING>
267 <SETTING><NAME>FileType</NAME><VALUE>RSRC</VALUE></SETTING>
268 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
269 <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
270 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
271 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
272 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
273 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
274 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
275 </SETTING>
276 <SETTING>
277 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
278 <SETTING><NAME>FileExtension</NAME><VALUE>.c</VALUE></SETTING>
279 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ MachPPC</VALUE></SETTING>
280 <SETTING><NAME>EditLanguage</NAME><VALUE>C/C++</VALUE></SETTING>
281 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
282 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
283 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
284 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
285 </SETTING>
286 <SETTING>
287 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
288 <SETTING><NAME>FileExtension</NAME><VALUE>.c++</VALUE></SETTING>
289 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ MachPPC</VALUE></SETTING>
290 <SETTING><NAME>EditLanguage</NAME><VALUE>C/C++</VALUE></SETTING>
291 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
292 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
293 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
294 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
295 </SETTING>
296 <SETTING>
297 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
298 <SETTING><NAME>FileExtension</NAME><VALUE>.cc</VALUE></SETTING>
299 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ MachPPC</VALUE></SETTING>
300 <SETTING><NAME>EditLanguage</NAME><VALUE>C/C++</VALUE></SETTING>
301 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
302 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
303 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
304 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
305 </SETTING>
306 <SETTING>
307 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
308 <SETTING><NAME>FileExtension</NAME><VALUE>.cp</VALUE></SETTING>
309 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ MachPPC</VALUE></SETTING>
310 <SETTING><NAME>EditLanguage</NAME><VALUE>C/C++</VALUE></SETTING>
311 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
312 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
313 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
314 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
315 </SETTING>
316 <SETTING>
317 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
318 <SETTING><NAME>FileExtension</NAME><VALUE>.cpp</VALUE></SETTING>
319 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ MachPPC</VALUE></SETTING>
320 <SETTING><NAME>EditLanguage</NAME><VALUE>C/C++</VALUE></SETTING>
321 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
322 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
323 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
324 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
325 </SETTING>
326 <SETTING>
327 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
328 <SETTING><NAME>FileExtension</NAME><VALUE>.exp</VALUE></SETTING>
329 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
330 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
331 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
332 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
333 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
334 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
335 </SETTING>
336 <SETTING>
337 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
338 <SETTING><NAME>FileExtension</NAME><VALUE>.h</VALUE></SETTING>
339 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ MachPPC</VALUE></SETTING>
340 <SETTING><NAME>EditLanguage</NAME><VALUE>C/C++</VALUE></SETTING>
341 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
342 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
343 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
344 <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
345 </SETTING>
346 <SETTING>
347 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
348 <SETTING><NAME>FileExtension</NAME><VALUE>.pch</VALUE></SETTING>
349 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ MachPPC</VALUE></SETTING>
350 <SETTING><NAME>EditLanguage</NAME><VALUE>C/C++</VALUE></SETTING>
351 <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
352 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
353 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
354 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
355 </SETTING>
356 <SETTING>
357 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
358 <SETTING><NAME>FileExtension</NAME><VALUE>.pch++</VALUE></SETTING>
359 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ MachPPC</VALUE></SETTING>
360 <SETTING><NAME>EditLanguage</NAME><VALUE>C/C++</VALUE></SETTING>
361 <SETTING><NAME>Precompile</NAME><VALUE>true</VALUE></SETTING>
362 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
363 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
364 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
365 </SETTING>
366 <SETTING>
367 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
368 <SETTING><NAME>FileExtension</NAME><VALUE>.r</VALUE></SETTING>
369 <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
370 <SETTING><NAME>EditLanguage</NAME><VALUE>Rez</VALUE></SETTING>
371 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
372 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
373 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
374 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
375 </SETTING>
376 <SETTING>
377 <SETTING><NAME>FileType</NAME><VALUE>docu</VALUE></SETTING>
378 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
379 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
380 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
381 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
382 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
383 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
384 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
385 </SETTING>
386 <SETTING>
387 <SETTING><NAME>FileType</NAME><VALUE>rsrc</VALUE></SETTING>
388 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
389 <SETTING><NAME>Compiler</NAME><VALUE>Rez</VALUE></SETTING>
390 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
391 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
392 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
393 <SETTING><NAME>ResourceFile</NAME><VALUE>true</VALUE></SETTING>
394 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
395 </SETTING>
396 <SETTING>
397 <SETTING><NAME>FileExtension</NAME><VALUE>.doc</VALUE></SETTING>
398 <SETTING><NAME>Compiler</NAME><VALUE></VALUE></SETTING>
399 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
400 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
401 <SETTING><NAME>Launchable</NAME><VALUE>true</VALUE></SETTING>
402 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
403 <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
404 </SETTING>
405 <SETTING>
406 <SETTING><NAME>FileExtension</NAME><VALUE>.lib</VALUE></SETTING>
407 <SETTING><NAME>Compiler</NAME><VALUE>Lib Import Mach-O</VALUE></SETTING>
408 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
409 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
410 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
411 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
412 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
413 </SETTING>
414 <SETTING>
415 <SETTING><NAME>FileType</NAME><VALUE>shlb</VALUE></SETTING>
416 <SETTING><NAME>FileExtension</NAME><VALUE></VALUE></SETTING>
417 <SETTING><NAME>Compiler</NAME><VALUE>PEF Import PPC</VALUE></SETTING>
418 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
419 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
420 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
421 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
422 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
423 </SETTING>
424 <SETTING>
425 <SETTING><NAME>FileExtension</NAME><VALUE>.dylib</VALUE></SETTING>
426 <SETTING><NAME>Compiler</NAME><VALUE>Lib Import Mach-O</VALUE></SETTING>
427 <SETTING><NAME>EditLanguage</NAME><VALUE></VALUE></SETTING>
428 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
429 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
430 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
431 <SETTING><NAME>IgnoredByMake</NAME><VALUE>false</VALUE></SETTING>
432 </SETTING>
433 <SETTING>
434 <SETTING><NAME>FileType</NAME><VALUE>TEXT</VALUE></SETTING>
435 <SETTING><NAME>FileExtension</NAME><VALUE>.moc</VALUE></SETTING>
436 <SETTING><NAME>Compiler</NAME><VALUE>MW C/C++ MachPPC</VALUE></SETTING>
437 <SETTING><NAME>EditLanguage</NAME><VALUE>C/C++</VALUE></SETTING>
438 <SETTING><NAME>Precompile</NAME><VALUE>false</VALUE></SETTING>
439 <SETTING><NAME>Launchable</NAME><VALUE>false</VALUE></SETTING>
440 <SETTING><NAME>ResourceFile</NAME><VALUE>false</VALUE></SETTING>
441 <SETTING><NAME>IgnoredByMake</NAME><VALUE>true</VALUE></SETTING>
442 </SETTING>
443 </SETTING>
444
445 <!-- Settings for "Build Extras" panel -->
446 <SETTING><NAME>CacheModDates</NAME><VALUE>$$CODEWARRIOR_CACHEMODDATES</VALUE></SETTING>
447 <SETTING><NAME>ActivateBrowser</NAME><VALUE>false</VALUE></SETTING>
448 <SETTING><NAME>DumpBrowserInfo</NAME><VALUE>false</VALUE></SETTING>
449 <SETTING><NAME>CacheSubprojects</NAME><VALUE>true</VALUE></SETTING>
450 <SETTING><NAME>UseThirdPartyDebugger</NAME><VALUE>false</VALUE></SETTING>
451
452 <!-- Settings for "Debugger Target" panel -->
453 <SETTING><NAME>LogSystemMessages</NAME><VALUE>false</VALUE></SETTING>
454 <SETTING><NAME>AutoTargetDLLs</NAME><VALUE>false</VALUE></SETTING>
455 <SETTING><NAME>StopAtWatchpoints</NAME><VALUE>true</VALUE></SETTING>
456 <SETTING><NAME>PauseWhileRunning</NAME><VALUE>false</VALUE></SETTING>
457 <SETTING><NAME>PauseInterval</NAME><VALUE>5</VALUE></SETTING>
458 <SETTING><NAME>PauseUIFlags</NAME><VALUE>0</VALUE></SETTING>
459 <SETTING><NAME>AltExePath</NAME>
460 <SETTING><NAME>Path</NAME><VALUE></VALUE></SETTING>
461 <SETTING><NAME>PathFormat</NAME><VALUE>Generic</VALUE></SETTING>
462 <SETTING><NAME>PathRoot</NAME><VALUE>Absolute</VALUE></SETTING>
463 </SETTING>
464 <SETTING><NAME>StopAtTempBPOnLaunch</NAME><VALUE>true</VALUE></SETTING>
465 <SETTING><NAME>CacheSymbolics</NAME><VALUE>true</VALUE></SETTING>
466 <SETTING><NAME>TempBPFunctionName</NAME><VALUE>main</VALUE></SETTING>
467 <SETTING><NAME>TempBPType</NAME><VALUE>false</VALUE></SETTING>
468
469 <!-- Settings for "Remote Debug" panel -->
470 <SETTING><NAME>Enabled</NAME><VALUE>false</VALUE></SETTING>
471 <SETTING><NAME>ConnectionName</NAME><VALUE></VALUE></SETTING>
472 <SETTING><NAME>DownloadPath</NAME><VALUE></VALUE></SETTING>
473 <SETTING><NAME>LaunchRemoteApp</NAME><VALUE>false</VALUE></SETTING>
474 <SETTING><NAME>RemoteAppPath</NAME><VALUE></VALUE></SETTING>
475
476 <!-- Settings for "Custom Keywords" panel -->
477 <SETTING><NAME>CustomColor1</NAME>
478 <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
479 <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
480 <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
481 </SETTING>
482 <SETTING><NAME>CustomColor2</NAME>
483 <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
484 <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
485 <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
486 </SETTING>
487 <SETTING><NAME>CustomColor3</NAME>
488 <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
489 <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
490 <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
491 </SETTING>
492 <SETTING><NAME>CustomColor4</NAME>
493 <SETTING><NAME>Red</NAME><VALUE>0</VALUE></SETTING>
494 <SETTING><NAME>Green</NAME><VALUE>32767</VALUE></SETTING>
495 <SETTING><NAME>Blue</NAME><VALUE>0</VALUE></SETTING>
496 </SETTING>
497
498 <!-- Settings for "PPC CodeGen Mach-O" panel -->
499 <SETTING><NAME>MWCodeGen_MachO_structalignment</NAME><VALUE>PPC</VALUE></SETTING>
500 <SETTING><NAME>MWCodeGen_MachO_tracebacktables</NAME><VALUE>Inline</VALUE></SETTING>
501 <SETTING><NAME>MWCodeGen_MachO_processor</NAME><VALUE>Generic</VALUE></SETTING>
502 <SETTING><NAME>MWCodeGen_MachO_readonlystrings</NAME><VALUE>0</VALUE></SETTING>
503 <SETTING><NAME>MWCodeGen_MachO_profiler</NAME><VALUE>0</VALUE></SETTING>
504 <SETTING><NAME>MWCodeGen_MachO_fpcontract</NAME><VALUE>1</VALUE></SETTING>
505 <SETTING><NAME>MWCodeGen_MachO_schedule</NAME><VALUE>0</VALUE></SETTING>
506 <SETTING><NAME>MWCodeGen_MachO_peephole</NAME><VALUE>0</VALUE></SETTING>
507 <SETTING><NAME>MWCodeGen_MachO_processorspecific</NAME><VALUE>0</VALUE></SETTING>
508 <SETTING><NAME>MWCodeGen_MachO_altivec</NAME><VALUE>0</VALUE></SETTING>
509 <SETTING><NAME>MWCodeGen_MachO_vrsave</NAME><VALUE>1</VALUE></SETTING>
510 <SETTING><NAME>MWCodeGen_MachO_common</NAME><VALUE>0</VALUE></SETTING>
511 <SETTING><NAME>MWCodeGen_MachO_implicit_templates</NAME><VALUE>1</VALUE></SETTING>
512
513 <!-- Settings for "C/C++ Compiler" panel -->
514 <SETTING><NAME>MWFrontEnd_C_cplusplus</NAME><VALUE>1</VALUE></SETTING>
515 <SETTING><NAME>MWFrontEnd_C_checkprotos</NAME><VALUE>0</VALUE></SETTING>
516 <SETTING><NAME>MWFrontEnd_C_arm</NAME><VALUE>0</VALUE></SETTING>
517 <SETTING><NAME>MWFrontEnd_C_trigraphs</NAME><VALUE>0</VALUE></SETTING>
518 <SETTING><NAME>MWFrontEnd_C_onlystdkeywords</NAME><VALUE>0</VALUE></SETTING>
519 <SETTING><NAME>MWFrontEnd_C_enumsalwaysint</NAME><VALUE>0</VALUE></SETTING>
520 <SETTING><NAME>MWFrontEnd_C_mpwpointerstyle</NAME><VALUE>0</VALUE></SETTING>
521 <SETTING><NAME>MWFrontEnd_C_prefixname</NAME><VALUE>$$CODEWARRIOR_PREFIX_HEADER</VALUE></SETTING>
522 <SETTING><NAME>MWFrontEnd_C_ansistrict</NAME><VALUE>0</VALUE></SETTING>
523 <SETTING><NAME>MWFrontEnd_C_mpwcnewline</NAME><VALUE>0</VALUE></SETTING>
524 <SETTING><NAME>MWFrontEnd_C_wchar_type</NAME><VALUE>0</VALUE></SETTING>
525 <SETTING><NAME>MWFrontEnd_C_enableexceptions</NAME><VALUE>0</VALUE></SETTING>
526 <SETTING><NAME>MWFrontEnd_C_dontreusestrings</NAME><VALUE>0</VALUE></SETTING>
527 <SETTING><NAME>MWFrontEnd_C_poolstrings</NAME><VALUE>0</VALUE></SETTING>
528 <SETTING><NAME>MWFrontEnd_C_dontinline</NAME><VALUE>1</VALUE></SETTING>
529 <SETTING><NAME>MWFrontEnd_C_useRTTI</NAME><VALUE>0</VALUE></SETTING>
530 <SETTING><NAME>MWFrontEnd_C_multibyteaware</NAME><VALUE>0</VALUE></SETTING>
531 <SETTING><NAME>MWFrontEnd_C_unsignedchars</NAME><VALUE>0</VALUE></SETTING>
532 <SETTING><NAME>MWFrontEnd_C_autoinline</NAME><VALUE>0</VALUE></SETTING>
533 <SETTING><NAME>MWFrontEnd_C_booltruefalse</NAME><VALUE>1</VALUE></SETTING>
534 <SETTING><NAME>MWFrontEnd_C_direct_to_som</NAME><VALUE>0</VALUE></SETTING>
535 <SETTING><NAME>MWFrontEnd_C_som_env_check</NAME><VALUE>0</VALUE></SETTING>
536 <SETTING><NAME>MWFrontEnd_C_alwaysinline</NAME><VALUE>0</VALUE></SETTING>
537 <SETTING><NAME>MWFrontEnd_C_inlinelevel</NAME><VALUE>0</VALUE></SETTING>
538 <SETTING><NAME>MWFrontEnd_C_ecplusplus</NAME><VALUE>0</VALUE></SETTING>
539 <SETTING><NAME>MWFrontEnd_C_objective_c</NAME><VALUE>0</VALUE></SETTING>
540 <SETTING><NAME>MWFrontEnd_C_defer_codegen</NAME><VALUE>0</VALUE></SETTING>
541
542 <!-- Settings for "C/C++ Warnings" panel -->
543 <SETTING><NAME>MWWarning_C_warn_illpragma</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
544 <SETTING><NAME>MWWarning_C_warn_emptydecl</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
545 <SETTING><NAME>MWWarning_C_warn_possunwant</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
546 <SETTING><NAME>MWWarning_C_warn_unusedvar</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
547 <SETTING><NAME>MWWarning_C_warn_unusedarg</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
548 <SETTING><NAME>MWWarning_C_warn_extracomma</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
549 <SETTING><NAME>MWWarning_C_pedantic</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
550 <SETTING><NAME>MWWarning_C_warningerrors</NAME><VALUE>0</VALUE></SETTING>
551 <SETTING><NAME>MWWarning_C_warn_hidevirtual</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
552 <SETTING><NAME>MWWarning_C_warn_implicitconv</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
553 <SETTING><NAME>MWWarning_C_warn_notinlined</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
554 <SETTING><NAME>MWWarning_C_warn_structclass</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
555
556 <!-- Settings for "FTP Panel" panel -->
557 <SETTING><NAME>MWFTP_Post_hostName</NAME><VALUE></VALUE></SETTING>
558 <SETTING><NAME>MWFTP_Post_username</NAME><VALUE></VALUE></SETTING>
559 <SETTING><NAME>MWFTP_Post_password</NAME><VALUE>0</VALUE></SETTING>
560 <SETTING><NAME>MWFTP_Post_remoteDir</NAME><VALUE></VALUE></SETTING>
561 <SETTING><NAME>MWFTP_Post_ftp_PathVersion</NAME><VALUE>1</VALUE></SETTING>
562 <SETTING><NAME>MWFTP_Post_ftp_PathType</NAME><VALUE>0</VALUE></SETTING>
563 <SETTING><NAME>MWFTP_Post_ftp_PathFormat</NAME><VALUE>0</VALUE></SETTING>
564 <SETTING><NAME>MWFTP_Post_ftp_tree</NAME><VALUE></VALUE></SETTING>
565 <SETTING><NAME>MWFTP_Post_uploadDir</NAME><VALUE></VALUE></SETTING>
566 <SETTING><NAME>MWFTP_Post_ftp_port</NAME><VALUE>21</VALUE></SETTING>
567 <SETTING><NAME>MWFTP_Post_SendBin</NAME><VALUE>1</VALUE></SETTING>
568 <SETTING><NAME>MWFTP_Post_ShouldLog</NAME><VALUE>1</VALUE></SETTING>
569
570 <!-- Settings for "MacOS Merge Panel" panel -->
571 <SETTING><NAME>MWMerge_MacOS_projectType</NAME><VALUE>$$CODEWARRIOR_TEMPLATE</VALUE></SETTING>
572 <SETTING><NAME>MWMerge_MacOS_outputName</NAME><VALUE>Merge Out</VALUE></SETTING>
573 <SETTING><NAME>MWMerge_MacOS_outputCreator</NAME><VALUE>CUTE</VALUE></SETTING>
574 <SETTING><NAME>MWMerge_MacOS_outputType</NAME><VALUE>$$CODEWARRIOR_FILETYPE</VALUE></SETTING>
575 <SETTING><NAME>MWMerge_MacOS_suppressWarning</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
576 <SETTING><NAME>MWMerge_MacOS_copyFragments</NAME><VALUE>1</VALUE></SETTING>
577 <SETTING><NAME>MWMerge_MacOS_copyResources</NAME><VALUE>1</VALUE></SETTING>
578 <SETTING><NAME>MWMerge_MacOS_flattenResource</NAME><VALUE>0</VALUE></SETTING>
579 <SETTING><NAME>MWMerge_MacOS_flatFileName</NAME><VALUE>$$TARGET_STEM.rsrc</VALUE></SETTING>
580 <SETTING><NAME>MWMerge_MacOS_flatFileOutputPath</NAME>
581 <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
582 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
583 <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
584 </SETTING>
585 <SETTING><NAME>MWMerge_MacOS_skipResources</NAME>
586 <SETTING><VALUE>DLGX</VALUE></SETTING>
587 <SETTING><VALUE>ckid</VALUE></SETTING>
588 <SETTING><VALUE>Proj</VALUE></SETTING>
589 <SETTING><VALUE>WSPC</VALUE></SETTING>
590 </SETTING>
591
592 <!-- Settings for "Output Flags" panel -->
593 <SETTING><NAME>FileLocked</NAME><VALUE>false</VALUE></SETTING>
594 <SETTING><NAME>ResourcesMapIsReadOnly</NAME><VALUE>false</VALUE></SETTING>
595 <SETTING><NAME>PrinterDriverIsMultiFinderCompatible</NAME><VALUE>false</VALUE></SETTING>
596 <SETTING><NAME>Invisible</NAME><VALUE>false</VALUE></SETTING>
597 <SETTING><NAME>HasBundle</NAME><VALUE>false</VALUE></SETTING>
598 <SETTING><NAME>NameLocked</NAME><VALUE>false</VALUE></SETTING>
599 <SETTING><NAME>Stationery</NAME><VALUE>false</VALUE></SETTING>
600 <SETTING><NAME>HasCustomIcon</NAME><VALUE>false</VALUE></SETTING>
601 <SETTING><NAME>Shared</NAME><VALUE>false</VALUE></SETTING>
602 <SETTING><NAME>HasBeenInited</NAME><VALUE>false</VALUE></SETTING>
603 <SETTING><NAME>Label</NAME><VALUE>0</VALUE></SETTING>
604 <SETTING><NAME>Comments</NAME><VALUE></VALUE></SETTING>
605
606$$CODEWARRIOR_PACKAGER_PANEL
607
608 <!-- Settings for "PPC CodeGen" panel -->
609 <SETTING><NAME>MWCodeGen_PPC_structalignment</NAME><VALUE>PPC</VALUE></SETTING>
610 <SETTING><NAME>MWCodeGen_PPC_tracebacktables</NAME><VALUE>None</VALUE></SETTING>
611 <SETTING><NAME>MWCodeGen_PPC_processor</NAME><VALUE>Generic</VALUE></SETTING>
612 <SETTING><NAME>MWCodeGen_PPC_readonlystrings</NAME><VALUE>0</VALUE></SETTING>
613 <SETTING><NAME>MWCodeGen_PPC_tocdata</NAME><VALUE>1</VALUE></SETTING>
614 <SETTING><NAME>MWCodeGen_PPC_profiler</NAME><VALUE>0</VALUE></SETTING>
615 <SETTING><NAME>MWCodeGen_PPC_fpcontract</NAME><VALUE>1</VALUE></SETTING>
616 <SETTING><NAME>MWCodeGen_PPC_schedule</NAME><VALUE>1</VALUE></SETTING>
617 <SETTING><NAME>MWCodeGen_PPC_peephole</NAME><VALUE>1</VALUE></SETTING>
618 <SETTING><NAME>MWCodeGen_PPC_processorspecific</NAME><VALUE>0</VALUE></SETTING>
619 <SETTING><NAME>MWCodeGen_PPC_altivec</NAME><VALUE>0</VALUE></SETTING>
620 <SETTING><NAME>MWCodeGen_PPC_vectortocdata</NAME><VALUE>0</VALUE></SETTING>
621 <SETTING><NAME>MWCodeGen_PPC_vrsave</NAME><VALUE>1</VALUE></SETTING>
622
623 <!-- Settings for "PPC CodeGen Mach-O" panel -->
624 <SETTING><NAME>MWCodeGen_MachO_structalignment</NAME><VALUE>PPC</VALUE></SETTING>
625 <SETTING><NAME>MWCodeGen_MachO_tracebacktables</NAME><VALUE>None</VALUE></SETTING>
626 <SETTING><NAME>MWCodeGen_MachO_processor</NAME><VALUE>Generic</VALUE></SETTING>
627 <SETTING><NAME>MWCodeGen_MachO_readonlystrings</NAME><VALUE>0</VALUE></SETTING>
628 <SETTING><NAME>MWCodeGen_MachO_profiler</NAME><VALUE>0</VALUE></SETTING>
629 <SETTING><NAME>MWCodeGen_MachO_fpcontract</NAME><VALUE>1</VALUE></SETTING>
630 <SETTING><NAME>MWCodeGen_MachO_schedule</NAME><VALUE>1</VALUE></SETTING>
631 <SETTING><NAME>MWCodeGen_MachO_peephole</NAME><VALUE>1</VALUE></SETTING>
632 <SETTING><NAME>MWCodeGen_MachO_processorspecific</NAME><VALUE>0</VALUE></SETTING>
633 <SETTING><NAME>MWCodeGen_MachO_altivec</NAME><VALUE>0</VALUE></SETTING>
634 <SETTING><NAME>MWCodeGen_MachO_vrsave</NAME><VALUE>1</VALUE></SETTING>
635 <SETTING><NAME>MWCodeGen_MachO_common</NAME><VALUE>0</VALUE></SETTING>
636 <SETTING><NAME>MWCodeGen_MachO_implicit_templates</NAME><VALUE>1</VALUE></SETTING>
637
638 <!-- Settings for "PPC Disassembler" panel -->
639 <SETTING><NAME>MWDisassembler_PPC_showcode</NAME><VALUE>1</VALUE></SETTING>
640 <SETTING><NAME>MWDisassembler_PPC_extended</NAME><VALUE>1</VALUE></SETTING>
641 <SETTING><NAME>MWDisassembler_PPC_mix</NAME><VALUE>1</VALUE></SETTING>
642 <SETTING><NAME>MWDisassembler_PPC_nohex</NAME><VALUE>0</VALUE></SETTING>
643 <SETTING><NAME>MWDisassembler_PPC_showdata</NAME><VALUE>1</VALUE></SETTING>
644 <SETTING><NAME>MWDisassembler_PPC_showexceptions</NAME><VALUE>1</VALUE></SETTING>
645 <SETTING><NAME>MWDisassembler_PPC_showsym</NAME><VALUE>0</VALUE></SETTING>
646 <SETTING><NAME>MWDisassembler_PPC_shownames</NAME><VALUE>1</VALUE></SETTING>
647
648 <!-- Settings for "PPC Global Optimizer" panel -->
649 <SETTING><NAME>GlobalOptimizer_PPC_optimizationlevel</NAME><VALUE>Level0</VALUE></SETTING>
650 <SETTING><NAME>GlobalOptimizer_PPC_optfor</NAME><VALUE>Speed</VALUE></SETTING>
651
652 <!-- Settings for "PPC Linker" panel -->
653 <SETTING><NAME>MWLinker_PPC_linksym</NAME><VALUE>0</VALUE></SETTING>
654 <SETTING><NAME>MWLinker_PPC_symfullpath</NAME><VALUE>1</VALUE></SETTING>
655 <SETTING><NAME>MWLinker_PPC_linkmap</NAME><VALUE>0</VALUE></SETTING>
656 <SETTING><NAME>MWLinker_PPC_nolinkwarnings</NAME><VALUE>0</VALUE></SETTING>
657 <SETTING><NAME>MWLinker_PPC_dontdeadstripinitcode</NAME><VALUE>0</VALUE></SETTING>
658 <SETTING><NAME>MWLinker_PPC_permitmultdefs</NAME><VALUE>0</VALUE></SETTING>
659 <SETTING><NAME>MWLinker_PPC_linkmode</NAME><VALUE>Fast</VALUE></SETTING>
660 <SETTING><NAME>MWLinker_PPC_initname</NAME><VALUE></VALUE></SETTING>
661 <SETTING><NAME>MWLinker_PPC_mainname</NAME><VALUE>$$CODEWARRIOR_ENTRYPOINT</VALUE></SETTING>
662 <SETTING><NAME>MWLinker_PPC_termname</NAME><VALUE></VALUE></SETTING>
663 <SETTING><NAME>MWLinker_MachO_twolevelnamespace</NAME><VALUE>1</VALUE></SETTING>
664 <SETTING><NAME>MWLinker_MachO_stripdebugsymbols</NAME><VALUE>0</VALUE></SETTING>
665
666 <!-- Settings for "PPC Mach-O Linker" panel -->
667 <SETTING><NAME>MWLinker_MachO_exports</NAME><VALUE>All</VALUE></SETTING>
668 <SETTING><NAME>MWLinker_MachO_mainname</NAME><VALUE>$$CODEWARRIOR_ENTRYPOINT</VALUE></SETTING>
669 <SETTING><NAME>MWLinker_MachO_currentversion</NAME><VALUE>$$CODEWARRIOR_VERSION</VALUE></SETTING>
670 <SETTING><NAME>MWLinker_MachO_compatibleversion</NAME><VALUE>$$CODEWARRIOR_VERSION</VALUE></SETTING>
671 <SETTING><NAME>MWLinker_MachO_symfullpath</NAME><VALUE>0</VALUE></SETTING>
672 <SETTING><NAME>MWLinker_MachO_supresswarnings</NAME><VALUE>$$!CODEWARRIOR_WARNING</VALUE></SETTING>
673 <SETTING><NAME>MWLinker_MachO_multisymerror</NAME><VALUE>0</VALUE></SETTING>
674 <SETTING><NAME>MWLinker_MachO_prebind</NAME><VALUE>0</VALUE></SETTING>
675 <SETTING><NAME>MWLinker_MachO_objectivecsemantics</NAME><VALUE>0</VALUE></SETTING>
676 <SETTING><NAME>MWLinker_MachO_whichfileloaded</NAME><VALUE>0</VALUE></SETTING>
677 <SETTING><NAME>MWLinker_MachO_whyfileloaded</NAME><VALUE>0</VALUE></SETTING>
678 <SETTING><NAME>MWLinker_MachO_readonlyrelocs</NAME><VALUE>Errors</VALUE></SETTING>
679 <SETTING><NAME>MWLinker_MachO_undefinedsymbols</NAME><VALUE>Errors</VALUE></SETTING>
680
681 <!-- Settings for "PPC Mach-O Target" panel -->
682 <SETTING><NAME>MWProject_MachO_type</NAME><VALUE>$$CODEWARRIOR_TEMPLATE</VALUE></SETTING>
683 <SETTING><NAME>MWProject_MachO_outfile</NAME><VALUE>$$TARGET</VALUE></SETTING>
684 <SETTING><NAME>MWProject_MachO_filecreator</NAME><VALUE>CUTE</VALUE></SETTING>
685 <SETTING><NAME>MWProject_MachO_filetype</NAME><VALUE>$$CODEWARRIOR_FILETYPE</VALUE></SETTING>
686 <SETTING><NAME>MWProject_MachO_stacksize</NAME><VALUE>64</VALUE></SETTING>
687 <SETTING><NAME>MWProject_MachO_stackaddress</NAME><VALUE>0</VALUE></SETTING>
688 <SETTING><NAME>MWProject_MachO_flatrsrc</NAME><VALUE>0</VALUE></SETTING>
689 <SETTING><NAME>MWProject_MachO_flatrsrcfilename</NAME><VALUE>$$TARGET_STEM.rsrc</VALUE></SETTING>
690 <SETTING><NAME>MWProject_MachO_flatrsrcoutputdir</NAME>
691 <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
692 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
693 <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
694 </SETTING>
695
696 <!-- Settings for "PPC PEF" panel -->
697 <SETTING><NAME>MWPEF_exports</NAME><VALUE>None</VALUE></SETTING>
698 <SETTING><NAME>MWPEF_libfolder</NAME><VALUE>0</VALUE></SETTING>
699 <SETTING><NAME>MWPEF_sortcode</NAME><VALUE>None</VALUE></SETTING>
700 <SETTING><NAME>MWPEF_expandbss</NAME><VALUE>0</VALUE></SETTING>
701 <SETTING><NAME>MWPEF_sharedata</NAME><VALUE>0</VALUE></SETTING>
702 <SETTING><NAME>MWPEF_olddefversion</NAME><VALUE>0</VALUE></SETTING>
703 <SETTING><NAME>MWPEF_oldimpversion</NAME><VALUE>0</VALUE></SETTING>
704 <SETTING><NAME>MWPEF_currentversion</NAME><VALUE>0</VALUE></SETTING>
705 <SETTING><NAME>MWPEF_fragmentname</NAME><VALUE></VALUE></SETTING>
706 <SETTING><NAME>MWPEF_collapsereloads</NAME><VALUE>1</VALUE></SETTING>
707
708 <!-- Settings for "PPC Project" panel -->
709 <SETTING><NAME>MWProject_PPC_type</NAME><VALUE>$$CODEWARRIOR_TEMPLATE</VALUE></SETTING>
710 <SETTING><NAME>MWProject_PPC_outfile</NAME><VALUE>$$TARGET</VALUE></SETTING>
711 <SETTING><NAME>MWProject_PPC_filecreator</NAME><VALUE>CUTE</VALUE></SETTING>
712 <SETTING><NAME>MWProject_PPC_filetype</NAME><VALUE>$$FILTYPE</VALUE></SETTING>
713 <SETTING><NAME>MWProject_PPC_size</NAME><VALUE>800</VALUE></SETTING>
714 <SETTING><NAME>MWProject_PPC_minsize</NAME><VALUE>600</VALUE></SETTING>
715 <SETTING><NAME>MWProject_PPC_stacksize</NAME><VALUE>64</VALUE></SETTING>
716 <SETTING><NAME>MWProject_PPC_flags</NAME><VALUE>22720</VALUE></SETTING>
717 <SETTING><NAME>MWProject_PPC_symfilename</NAME><VALUE></VALUE></SETTING>
718 <SETTING><NAME>MWProject_PPC_rsrcname</NAME><VALUE></VALUE></SETTING>
719 <SETTING><NAME>MWProject_PPC_rsrcheader</NAME><VALUE>Native</VALUE></SETTING>
720 <SETTING><NAME>MWProject_PPC_rsrctype</NAME><VALUE>????</VALUE></SETTING>
721 <SETTING><NAME>MWProject_PPC_rsrcid</NAME><VALUE>0</VALUE></SETTING>
722 <SETTING><NAME>MWProject_PPC_rsrcflags</NAME><VALUE>0</VALUE></SETTING>
723 <SETTING><NAME>MWProject_PPC_rsrcstore</NAME><VALUE>0</VALUE></SETTING>
724 <SETTING><NAME>MWProject_PPC_rsrcmerge</NAME><VALUE>0</VALUE></SETTING>
725 <SETTING><NAME>MWProject_PPC_flatrsrc</NAME><VALUE>0</VALUE></SETTING>
726 <SETTING><NAME>MWProject_PPC_flatrsrcoutputdir</NAME>
727 <SETTING><NAME>Path</NAME><VALUE>:</VALUE></SETTING>
728 <SETTING><NAME>PathFormat</NAME><VALUE>MacOS</VALUE></SETTING>
729 <SETTING><NAME>PathRoot</NAME><VALUE>Project</VALUE></SETTING>
730 </SETTING>
731 <SETTING><NAME>MWProject_PPC_flatrsrcfilename</NAME><VALUE></VALUE></SETTING>
732
733 <!-- Settings for "PPCAsm Panel" panel -->
734 <SETTING><NAME>MWAssembler_PPC_auxheader</NAME><VALUE>0</VALUE></SETTING>
735 <SETTING><NAME>MWAssembler_PPC_symmode</NAME><VALUE>Mac</VALUE></SETTING>
736 <SETTING><NAME>MWAssembler_PPC_dialect</NAME><VALUE>PPC</VALUE></SETTING>
737 <SETTING><NAME>MWAssembler_PPC_prefixfile</NAME><VALUE></VALUE></SETTING>
738 <SETTING><NAME>MWAssembler_PPC_typecheck</NAME><VALUE>0</VALUE></SETTING>
739 <SETTING><NAME>MWAssembler_PPC_warnings</NAME><VALUE>0</VALUE></SETTING>
740 <SETTING><NAME>MWAssembler_PPC_casesensitive</NAME><VALUE>0</VALUE></SETTING>
741
742 <!-- Settings for "Rez Compiler" panel -->
743 <SETTING><NAME>MWRez_Language_maxwidth</NAME><VALUE>80</VALUE></SETTING>
744 <SETTING><NAME>MWRez_Language_script</NAME><VALUE>Roman</VALUE></SETTING>
745 <SETTING><NAME>MWRez_Language_alignment</NAME><VALUE>Align1</VALUE></SETTING>
746 <SETTING><NAME>MWRez_Language_filtermode</NAME><VALUE>FilterSkip</VALUE></SETTING>
747 <SETTING><NAME>MWRez_Language_suppresswarnings</NAME><VALUE>$$CODEWARRIOR_WARNING</VALUE></SETTING>
748 <SETTING><NAME>MWRez_Language_escapecontrolchars</NAME><VALUE>1</VALUE></SETTING>
749 <SETTING><NAME>MWRez_Language_prefixname</NAME><VALUE></VALUE></SETTING>
750 <SETTING><NAME>MWRez_Language_filteredtypes</NAME><VALUE>'CODE' 'DATA' 'PICT'</VALUE></SETTING>
751 </SETTINGLIST>
752 <FILELIST>
753$$CODEWARRIOR_QPREPROCESS
754$$CODEWARRIOR_QPREPROCESSOUT
755$$CODEWARRIOR_LIBRARIES
756$$CODEWARRIOR_SOURCES
757$$CODEWARRIOR_HEADERS
758 <FILE>
759 <PATHTYPE>Name</PATHTYPE>
760 <PATH>MSL_C++_Mach-O.a</PATH>
761 <PATHFORMAT>MacOS</PATHFORMAT>
762 <FILEKIND>Library</FILEKIND>
763 <FILEFLAGS>Debug</FILEFLAGS>
764 </FILE>
765 <FILE>
766 <PATHTYPE>Name</PATHTYPE>
767 <PATH>MSL_Runtime_Mach-O.a</PATH>
768 <PATHFORMAT>MacOS</PATHFORMAT>
769 <FILEKIND>Library</FILEKIND>
770 <FILEFLAGS>Debug</FILEFLAGS>
771 </FILE>
772 </FILELIST>
773 <LINKORDER>
774$$CODEWARRIOR_QPREPROCESS_LINKORDER
775$$CODEWARRIOR_SOURCES_LINKORDER
776$$CODEWARRIOR_HEADERS_LINKORDER
777$$CODEWARRIOR_LIBRARIES_LINKORDER
778$$CODEWARRIOR_QPREPROCESSOUT_LINKORDER
779 <FILEREF>
780 <PATHTYPE>Name</PATHTYPE>
781 <PATH>MSL_C++_Mach-O.a</PATH>
782 <PATHFORMAT>MacOS</PATHFORMAT>
783 </FILEREF>
784 <FILEREF>
785 <PATHTYPE>Name</PATHTYPE>
786 <PATH>MSL_Runtime_Mach-O.a</PATH>
787 <PATHFORMAT>MacOS</PATHFORMAT>
788 </FILEREF>
789 </LINKORDER>
790 <FRAMEWORKLIST>
791$$CODEWARRIOR_FRAMEWORKS
792 </FRAMEWORKLIST>
793 </TARGET>
794 </TARGETLIST>
795
796 <TARGETORDER>
797 <ORDEREDTARGET><NAME>$$TARGET_STEM</NAME></ORDEREDTARGET>
798 </TARGETORDER>
799
800 <GROUPLIST>
801 <GROUP><NAME>Sources</NAME>
802$$CODEWARRIOR_HEADERS_GROUP
803$$CODEWARRIOR_SOURCES_GROUP
804 </GROUP>
805 <GROUP><NAME>Libraries</NAME>
806$$CODEWARRIOR_LIBRARIES_GROUP
807 <FILEREF>
808 <TARGETNAME>$$TARGET_STEM</TARGETNAME>
809 <PATHTYPE>Name</PATHTYPE>
810 <PATH>MSL_C++_Mach-O.a</PATH>
811 <PATHFORMAT>MacOS</PATHFORMAT>
812 </FILEREF>
813 <FILEREF>
814 <TARGETNAME>$$TARGET_STEM</TARGETNAME>
815 <PATHTYPE>Name</PATHTYPE>
816 <PATH>MSL_Runtime_Mach-O.a</PATH>
817 <PATHFORMAT>MacOS</PATHFORMAT>
818 </FILEREF>
819 </GROUP>
820 <GROUP><Name>QtGenerated</NAME>
821$$CODEWARRIOR_QPREPROCESS_GROUP
822$$CODEWARRIOR_QPREPROCESSOUT_GROUP
823 </GROUP>
824 </GROUPLIST>
825</PROJECT>
826
diff --git a/mkspecs/macx-mwerks/qmake.conf b/mkspecs/macx-mwerks/qmake.conf
new file mode 100644
index 0000000..7f2770e
--- a/dev/null
+++ b/mkspecs/macx-mwerks/qmake.conf
@@ -0,0 +1,24 @@
1#
2# $Id$
3#
4# qmake configuration for macx-mwerks (Mac OS X + Metrowerks compiler)
5#
6
7 MAKEFILE_GENERATOR= METROWERKS
8 TEMPLATE = app
9 CONFIG += qt release warn_off separate_volume
10
11 DEFINES += QT_NO_STL __MACOSX__ __CF_USE_FRAMEWORK_INCLUDES__
12
13 CODEWARRIOR_LINKER= Mach-O PPC Linker
14 QMAKE_EXTENSION_SHLIB= dylib
15 QMAKE_VOLUMENAME= OS X Volume
16 FRAMEWORKPATH = {System}/Library/Frameworks/
17 QMAKE_CRT_OBJECTS= crt1.o
18 QMAKE_INCDIR_QT = $(QTDIR)/include
19 QMAKE_LIBS = -framework System
20 QMAKE_LIBS_QT = -L$(QTDIR)/lib/ -lqt
21 QMAKE_INCDIR_OPENGL= /System/Library/Frameworks/OpenGL.framework/Headers \
22 /System/Library/Frameworks/AGL.framework/Headers/
23 QMAKE_LIBS_OPENGL= -framework OpenGL -framework AGL
24 QMAKE_LIBS_OPENGL_QT= $$QMAKE_LIBS_OPENGL
diff --git a/mkspecs/macx-mwerks/qplatformdefs.h b/mkspecs/macx-mwerks/qplatformdefs.h
new file mode 100644
index 0000000..d7d895f
--- a/dev/null
+++ b/mkspecs/macx-mwerks/qplatformdefs.h
@@ -0,0 +1,79 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <stat.h>
25#include <socket.h>
26#include <ioctl.h>
27#include <wait.h>
28#include <signal.h>
29#define QT_NO_LIBRARY_UNLOAD
30
31// DNS header files are not fully covered by X/Open specifications.
32// In particular nothing is said about res_* :/
33// On BSDs header files <netinet/in.h> and <arpa/nameser.h> are not
34// included by <resolv.h>. Note that <arpa/nameser.h> must be included
35// before <resolv.h>.
36#include <nameser.h>
37#include <netinet/in.h>
38#include <resolv.h>
39
40
41#if !defined(QT_NO_COMPAT)
42 #define QT_STATBUF struct stat
43 #define QT_STATBUF4TSTATstruct stat
44 #define QT_STAT ::stat
45 #define QT_FSTAT ::fstat
46 #define QT_STAT_REG S_IFREG
47 #define QT_STAT_DIR S_IFDIR
48 #define QT_STAT_MASK S_IFMT
49 #define QT_STAT_LNK S_IFLNK
50 #define QT_FILENO fileno
51 #define QT_OPEN ::open
52 #define QT_CLOSE ::close
53 #define QT_LSEEK ::lseek
54 #define QT_READ ::read
55 #define QT_WRITE ::write
56 #define QT_ACCESS ::access
57 #define QT_GETCWD ::getcwd
58 #define QT_CHDIR ::chdir
59 #define QT_MKDIR ::mkdir
60 #define QT_RMDIR ::rmdir
61 #define QT_OPEN_RDONLY O_RDONLY
62 #define QT_OPEN_WRONLY O_WRONLY
63 #define QT_OPEN_RDWR O_RDWR
64 #define QT_OPEN_CREAT O_CREAT
65 #define QT_OPEN_TRUNC O_TRUNC
66 #define QT_OPEN_APPEND O_APPEND
67#endif
68
69 #define QT_SIGNAL_RETTYPEvoid
70 #define QT_SIGNAL_ARGS int
71 #define QT_SIGNAL_IGNORE(QT_SIGNAL_RETTYPE (*)(QT_SIGNAL_ARGS))1
72
73 #define QT_SOCKLEN_T int
74
75 #define QT_SNPRINTF ::snprintf
76 #define QT_VSNPRINTF ::vsnprintf
77
78
79#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/macx-pbuilder/Info.plist.app b/mkspecs/macx-pbuilder/Info.plist.app
new file mode 100755
index 0000000..9d6c42a
--- a/dev/null
+++ b/mkspecs/macx-pbuilder/Info.plist.app
@@ -0,0 +1,16 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
3<plist version="0.9">
4<dict>
5 <key>CFBundleIconFile</key>
6 <string>application.icns</string>
7 <key>CFBundlePackageType</key>
8 <string>APPL</string>
9 <key>CFBundleGetInfoString</key>
10 <string>Created by Qt/QMake</string>
11 <key>CFBundleSignature</key>
12 <string>ttxt</string>
13 <key>NOTE</key>
14 <string>Please, do NOT change this file -- It was generated by Qt/QMake.</string>
15</dict>
16</plist>
diff --git a/mkspecs/macx-pbuilder/qmake.conf b/mkspecs/macx-pbuilder/qmake.conf
new file mode 100755
index 0000000..31c8663
--- a/dev/null
+++ b/mkspecs/macx-pbuilder/qmake.conf
@@ -0,0 +1,79 @@
1#
2# $Id$
3#
4# qmake configuration for macx-pbuilder (Mac OS X + Project Builder)
5#
6
7 MAKEFILE_GENERATOR= PROJECTBUILDER
8 TEMPLATE = app
9 CONFIG += qt warn_on release lib_version_first incremental resource_fork plugin_no_soname
10
11 QMAKE_CC = cc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_RESOURCE = /Developer/Tools/Rez
17 QMAKE_CFLAGS = -pipe
18 QMAKE_CFLAGS_DEPS= -M
19 QMAKE_CFLAGS_WARN_ON= -Wall -W
20 QMAKE_CFLAGS_WARN_OFF=
21 QMAKE_CFLAGS_RELEASE= -O3
22 QMAKE_CFLAGS_DEBUG= -g
23 QMAKE_CFLAGS_SHLIB= -fPIC
24 QMAKE_EXTENSION_SHLIB= dylib
25 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
26
27 QMAKE_CXX = c++
28 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
29 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
30 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
31 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
32 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
33 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
34 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
35 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
36
37 QMAKE_INCDIR = /usr/local/include \
38 /System/Library/Frameworks/CarbonCore.framework/Headers
39 QMAKE_LIBDIR =
40 QMAKE_INCDIR_QT = $(QTDIR)/include
41 QMAKE_LIBDIR_QT = $(QTDIR)/lib
42 QMAKE_INCDIR_OPENGL= /System/Library/Frameworks/OpenGL.framework/Headers \
43 /System/Library/Frameworks/AGL.framework/Headers/
44
45 QMAKE_LINK = c++
46 QMAKE_LINK_SHLIB= c++
47 QMAKE_LFLAGS =
48 QMAKE_LFLAGS_RELEASE=
49 QMAKE_LFLAGS_DEBUG=
50 QMAKE_LFLAGS_SHAPP= -prebind
51 QMAKE_LFLAGS_SHLIB= -dynamiclib
52QMAKE_LFLAGS_INCREMENTAL = -undefined suppress -flat_namespace
53 QMAKE_LFLAGS_PLUGIN= -bundle
54 QMAKE_LFLAGS_SONAME= -install_name$${LITERAL_WHITESPACE}@executable_path/../Frameworks/
55 QMAKE_LFLAGS_THREAD=
56 QMAKE_RPATH =
57
58 QMAKE_LIBS_DYNLOAD=
59 QMAKE_LIBS_QT = -lqt
60 QMAKE_LIBS_QT_THREAD= -lqt-mt
61 QMAKE_LIBS_THREAD=
62 QMAKE_LIBS_OPENGL= -framework OpenGL -framework AGL
63 QMAKE_LIBS_OPENGL_QT= $$QMAKE_LIBS_OPENGL
64
65 QMAKE_MOC = $(QTDIR)/bin/moc
66 QMAKE_UIC = $(QTDIR)/bin/uic
67
68 QMAKE_AR = ar cq
69 QMAKE_RANLIB = ranlib -s
70
71 QMAKE_TAR = tar -cf
72 QMAKE_GZIP = gzip -9f
73
74 QMAKE_COPY = cp -f
75 QMAKE_COPY_FILE = $$QMAKE_COPY
76 QMAKE_COPY_DIR = $$QMAKE_COPY -r
77 QMAKE_MOVE = mv -f
78 QMAKE_DEL_FILE = rm -f
79 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/macx-pbuilder/qplatformdefs.h b/mkspecs/macx-pbuilder/qplatformdefs.h
new file mode 100644
index 0000000..913d8c0
--- a/dev/null
+++ b/mkspecs/macx-pbuilder/qplatformdefs.h
@@ -0,0 +1,84 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#define QT_NO_LIBRARY_UNLOAD
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/shm.h>
32#include <sys/socket.h>
33#include <sys/stat.h>
34#include <sys/wait.h>
35
36// DNS header files are not fully covered by X/Open specifications.
37// In particular nothing is said about res_* :/
38// On BSDs header files <netinet/in.h> and <arpa/nameser.h> are not
39// included by <resolv.h>. Note that <arpa/nameser.h> must be included
40// before <resolv.h>.
41#include <netinet/in.h>
42#include <arpa/nameser.h>
43#include <resolv.h>
44
45
46#if !defined(QT_NO_COMPAT)
47 #define QT_STATBUF struct stat
48 #define QT_STATBUF4TSTATstruct stat
49 #define QT_STAT ::stat
50 #define QT_FSTAT ::fstat
51 #define QT_STAT_REG S_IFREG
52 #define QT_STAT_DIR S_IFDIR
53 #define QT_STAT_MASK S_IFMT
54 #define QT_STAT_LNK S_IFLNK
55 #define QT_FILENO fileno
56 #define QT_OPEN ::open
57 #define QT_CLOSE ::close
58 #define QT_LSEEK ::lseek
59 #define QT_READ ::read
60 #define QT_WRITE ::write
61 #define QT_ACCESS ::access
62 #define QT_GETCWD ::getcwd
63 #define QT_CHDIR ::chdir
64 #define QT_MKDIR ::mkdir
65 #define QT_RMDIR ::rmdir
66 #define QT_OPEN_RDONLY O_RDONLY
67 #define QT_OPEN_WRONLY O_WRONLY
68 #define QT_OPEN_RDWR O_RDWR
69 #define QT_OPEN_CREAT O_CREAT
70 #define QT_OPEN_TRUNC O_TRUNC
71 #define QT_OPEN_APPEND O_APPEND
72#endif
73
74 #define QT_SIGNAL_RETTYPEvoid
75 #define QT_SIGNAL_ARGS int
76 #define QT_SIGNAL_IGNORE(void (*)(int))1
77
78 #define QT_SOCKLEN_T int
79
80 #define QT_SNPRINTF ::snprintf
81 #define QT_VSNPRINTF ::vsnprintf
82
83
84#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/netbsd-g++/qmake.conf b/mkspecs/netbsd-g++/qmake.conf
new file mode 100644
index 0000000..5a06456
--- a/dev/null
+++ b/mkspecs/netbsd-g++/qmake.conf
@@ -0,0 +1,80 @@
1#
2# $Id$
3#
4# qmake configuration for netbsd-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -fPIC
23 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
24 QMAKE_CFLAGS_THREAD= -pthread
25
26 QMAKE_CXX = g++
27 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR = /usr/local/include
38 QMAKE_LIBDIR = /usr/local/lib
39 QMAKE_INCDIR_X11= /usr/X11R6/include
40 QMAKE_LIBDIR_X11= /usr/X11R6/lib
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
44 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
45
46 QMAKE_LINK = g++
47 QMAKE_LINK_SHLIB= g++
48QMAKE_LINK_SHLIB_CMD = $$QMAKE_LINK_SHLIB $$QMAKE_LFLAGS_SHLIB $(LFLAGS) $$QMAKE_LFLAGS -o $(TARGETD) $(OBJECTS) $(OBJMOC) $(LIBS)
49 QMAKE_LFLAGS =
50 QMAKE_LFLAGS_RELEASE=
51 QMAKE_LFLAGS_DEBUG=
52 QMAKE_LFLAGS_SHLIB= -shared
53 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
54 QMAKE_LFLAGS_SONAME= -Wl,-soname,
55 QMAKE_LFLAGS_THREAD= -pthread
56 QMAKE_RPATH = -Wl,-rpath,
57
58 QMAKE_LIBS =
59 QMAKE_LIBS_DYNLOAD=
60 QMAKE_LIBS_X11 = -lXext -lX11 -lm
61 QMAKE_LIBS_X11SM= -lSM -lICE
62 QMAKE_LIBS_QT = -lqt
63 QMAKE_LIBS_QT_THREAD= -lqt-mt
64 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
65 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
66 QMAKE_LIBS_THREAD=
67
68 QMAKE_MOC = $(QTDIR)/bin/moc
69 QMAKE_UIC = $(QTDIR)/bin/uic
70
71 QMAKE_AR = ar cqs
72 QMAKE_RANLIB = ranlib
73
74 QMAKE_TAR = tar -cf
75 QMAKE_GZIP = gzip -9f
76
77 QMAKE_COPY = cp -f
78 QMAKE_MOVE = mv -f
79 QMAKE_DEL_FILE = rm -f
80 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/netbsd-g++/qplatformdefs.h b/mkspecs/netbsd-g++/qplatformdefs.h
new file mode 100644
index 0000000..2665708
--- a/dev/null
+++ b/mkspecs/netbsd-g++/qplatformdefs.h
@@ -0,0 +1,91 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/shm.h>
32#include <sys/socket.h>
33#include <sys/stat.h>
34#include <sys/wait.h>
35
36// DNS header files are not fully covered by X/Open specifications.
37// In particular nothing is said about res_* :/
38// On BSDs header files <netinet/in.h> and <arpa/nameser.h> are not
39// included by <resolv.h>. Note that <arpa/nameser.h> must be included
40// before <resolv.h>.
41#include <netinet/in.h>
42#include <arpa/nameser.h>
43#include <resolv.h>
44
45
46#if !defined(QT_NO_COMPAT)
47 #define QT_STATBUF struct stat
48 #define QT_STATBUF4TSTATstruct stat
49 #define QT_STAT ::stat
50 #define QT_FSTAT ::fstat
51 #define QT_STAT_REG S_IFREG
52 #define QT_STAT_DIR S_IFDIR
53 #define QT_STAT_MASK S_IFMT
54 #define QT_STAT_LNK S_IFLNK
55 #define QT_FILENO fileno
56 #define QT_OPEN ::open
57 #define QT_CLOSE ::close
58 #define QT_LSEEK ::lseek
59 #define QT_READ ::read
60 #define QT_WRITE ::write
61 #define QT_ACCESS ::access
62 #define QT_GETCWD ::getcwd
63 #define QT_CHDIR ::chdir
64 #define QT_MKDIR ::mkdir
65 #define QT_RMDIR ::rmdir
66 #define QT_OPEN_RDONLY O_RDONLY
67 #define QT_OPEN_WRONLY O_WRONLY
68 #define QT_OPEN_RDWR O_RDWR
69 #define QT_OPEN_CREAT O_CREAT
70 #define QT_OPEN_TRUNC O_TRUNC
71 #define QT_OPEN_APPEND O_APPEND
72#endif
73
74 #define QT_SIGNAL_RETTYPEvoid
75 #define QT_SIGNAL_ARGS int
76 #define QT_SIGNAL_IGNORESIG_IGN
77
78 // NetBSD 1.0 - 1.3.3 int
79 // NetBSD 1.4 - 1.5 socklen_t
80 #define QT_SOCKLEN_T socklen_t
81
82 #define QT_SNPRINTF ::snprintf
83 #define QT_VSNPRINTF ::vsnprintf
84
85// Older NetBSD versions may still use the a.out format instead of ELF.
86#ifndef __ELF__
87#define QT_AOUT_UNDERSCORE
88#endif
89
90
91#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/openbsd-g++/qmake.conf b/mkspecs/openbsd-g++/qmake.conf
new file mode 100644
index 0000000..5f75405
--- a/dev/null
+++ b/mkspecs/openbsd-g++/qmake.conf
@@ -0,0 +1,81 @@
1#
2# $Id$
3#
4# qmake configuration for openbsd-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -fPIC
23 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
24 QMAKE_CFLAGS_THREAD= -pthread
25
26 QMAKE_CXX = g++
27 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR = /usr/local/include
38 QMAKE_LIBDIR = /usr/local/lib
39 QMAKE_INCDIR_X11= /usr/X11R6/include
40 QMAKE_LIBDIR_X11= /usr/X11R6/lib
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
44 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
45
46 QMAKE_LINK = g++
47 QMAKE_LINK_SHLIB= g++
48 QMAKE_LINK_SHLIB_CMD= $$QMAKE_LINK_SHLIB $(LFLAGS) \
49 $$QMAKE_CFLAGS_SHLIB $$QMAKE_LFLAGS \
50 -o $(TARGETD) $(OBJECTS) $(OBJMOC) $(LIBS)
51 QMAKE_LFLAGS =
52 QMAKE_LFLAGS_RELEASE=
53 QMAKE_LFLAGS_DEBUG=
54 QMAKE_LFLAGS_SHLIB= -shared
55 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
56 QMAKE_LFLAGS_SONAME= -Wl,-soname,
57 QMAKE_LFLAGS_THREAD= -pthread
58
59 QMAKE_LIBS =
60 QMAKE_LIBS_DYNLOAD=
61 QMAKE_LIBS_X11 = -lXext -lX11 -lm
62 QMAKE_LIBS_X11SM= -lSM -lICE
63 QMAKE_LIBS_QT = -lqt
64 QMAKE_LIBS_QT_THREAD= -lqt-mt
65 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
66 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
67 QMAKE_LIBS_THREAD=
68
69 QMAKE_MOC = $(QTDIR)/bin/moc
70 QMAKE_UIC = $(QTDIR)/bin/uic
71
72 QMAKE_AR = ar q
73 QMAKE_RANLIB = ranlib
74
75 QMAKE_TAR = tar -cf
76 QMAKE_GZIP = gzip -9f
77
78 QMAKE_COPY = cp -f
79 QMAKE_MOVE = mv -f
80 QMAKE_DEL_FILE = rm -f
81 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/openbsd-g++/qplatformdefs.h b/mkspecs/openbsd-g++/qplatformdefs.h
new file mode 100644
index 0000000..9075abe
--- a/dev/null
+++ b/mkspecs/openbsd-g++/qplatformdefs.h
@@ -0,0 +1,91 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/shm.h>
32#include <sys/socket.h>
33#include <sys/stat.h>
34#include <sys/wait.h>
35
36// DNS header files are not fully covered by X/Open specifications.
37// In particular nothing is said about res_* :/
38// On BSDs header files <netinet/in.h> and <arpa/nameser.h> are not
39// included by <resolv.h>. Note that <arpa/nameser.h> must be included
40// before <resolv.h>.
41#include <netinet/in.h>
42#include <arpa/nameser.h>
43#include <resolv.h>
44
45
46#if !defined(QT_NO_COMPAT)
47 #define QT_STATBUF struct stat
48 #define QT_STATBUF4TSTATstruct stat
49 #define QT_STAT ::stat
50 #define QT_FSTAT ::fstat
51 #define QT_STAT_REG S_IFREG
52 #define QT_STAT_DIR S_IFDIR
53 #define QT_STAT_MASK S_IFMT
54 #define QT_STAT_LNK S_IFLNK
55 #define QT_FILENO fileno
56 #define QT_OPEN ::open
57 #define QT_CLOSE ::close
58 #define QT_LSEEK ::lseek
59 #define QT_READ ::read
60 #define QT_WRITE ::write
61 #define QT_ACCESS ::access
62 #define QT_GETCWD ::getcwd
63 #define QT_CHDIR ::chdir
64 #define QT_MKDIR ::mkdir
65 #define QT_RMDIR ::rmdir
66 #define QT_OPEN_RDONLY O_RDONLY
67 #define QT_OPEN_WRONLY O_WRONLY
68 #define QT_OPEN_RDWR O_RDWR
69 #define QT_OPEN_CREAT O_CREAT
70 #define QT_OPEN_TRUNC O_TRUNC
71 #define QT_OPEN_APPEND O_APPEND
72#endif
73
74 #define QT_SIGNAL_RETTYPEvoid
75 #define QT_SIGNAL_ARGS int
76 #define QT_SIGNAL_IGNORESIG_IGN
77
78 // OpenBSD 2.2 - 2.4 int
79 // OpenBSD 2.5 - 2.8 socklen_t
80 #define QT_SOCKLEN_T socklen_t
81
82 #define QT_SNPRINTF ::snprintf
83 #define QT_VSNPRINTF ::vsnprintf
84
85// Older OpenBSD versions may still use the a.out format instead of ELF.
86#ifndef __ELF__
87#define QT_AOUT_UNDERSCORE
88#endif
89
90
91#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/qnx-g++/qmake.conf b/mkspecs/qnx-g++/qmake.conf
new file mode 100644
index 0000000..31afdfa
--- a/dev/null
+++ b/mkspecs/qnx-g++/qmake.conf
@@ -0,0 +1,81 @@
1#
2# $Id$
3#
4# qmake configuration for qnx-g++
5#
6# QNX RTOS v6 with X11
7#
8
9 MAKEFILE_GENERATOR= UNIX
10 TEMPLATE = app
11 CONFIG += qt warn_on release
12
13 QMAKE_CC = gcc
14 QMAKE_LEX = flex
15 QMAKE_LEXFLAGS =
16 QMAKE_YACC = yacc
17 QMAKE_YACCFLAGS = -d
18 QMAKE_CFLAGS = -pipe -fno-inline -fno-pack-struct
19 QMAKE_CFLAGS_DEPS= -M
20 QMAKE_CFLAGS_WARN_ON= -Wall -W
21 QMAKE_CFLAGS_WARN_OFF= -w
22 QMAKE_CFLAGS_RELEASE= -O
23 QMAKE_CFLAGS_DEBUG= -g
24 QMAKE_CFLAGS_SHLIB= -fPIC
25 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses -fno-inline -fno-pack-struct
26 QMAKE_CFLAGS_THREAD= -D_REENTRANT
27
28 QMAKE_CXX = g++
29 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
30 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
31 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
32 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
33 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
34 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
35 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
36 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
37 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
38
39 QMAKE_INCDIR =
40 QMAKE_LIBDIR =
41 QMAKE_INCDIR_X11= /usr/X11R6/include
42 QMAKE_LIBDIR_X11= /usr/X11R6/lib
43 QMAKE_INCDIR_QT = $(QTDIR)/include
44 QMAKE_LIBDIR_QT = $(QTDIR)/lib
45 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
46 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
47
48 QMAKE_LINK = g++
49 QMAKE_LINK_SHLIB= g++
50 QMAKE_LFLAGS =
51 QMAKE_LFLAGS_RELEASE=
52 QMAKE_LFLAGS_DEBUG=
53 QMAKE_LFLAGS_SHLIB= -shared
54 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
55 QMAKE_LFLAGS_SONAME= -Wl,-soname,
56 QMAKE_LFLAGS_THREAD=
57 QMAKE_RPATH = -Wl,-rpath,
58
59 QMAKE_LIBS = -lunix
60 QMAKE_LIBS_DYNLOAD= -ldl
61 QMAKE_LIBS_X11 = -lXext -lX11 -lm
62 QMAKE_LIBS_X11SM= -lSM -lICE
63 QMAKE_LIBS_QT = -lqt
64 QMAKE_LIBS_QT_THREAD= -lqt-mt
65 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
66 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
67 QMAKE_LIBS_THREAD=
68
69 QMAKE_MOC = $(QTDIR)/bin/moc
70 QMAKE_UIC = $(QTDIR)/bin/uic
71
72 QMAKE_AR = ar cqs
73 QMAKE_RANLIB =
74
75 QMAKE_TAR = tar -cf
76 QMAKE_GZIP = gzip -9f
77
78 QMAKE_COPY = cp -f
79 QMAKE_MOVE = mv -f
80 QMAKE_DEL_FILE = rm -f
81 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/qnx-g++/qplatformdefs.h b/mkspecs/qnx-g++/qplatformdefs.h
new file mode 100644
index 0000000..e77f807
--- a/dev/null
+++ b/mkspecs/qnx-g++/qplatformdefs.h
@@ -0,0 +1,86 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25
26#include <sys/types.h>
27#include <sys/ioctl.h>
28#include <sys/ipc.h>
29#include <sys/time.h>
30// QNX doesn't have the System V <sys/shm.h> header. This is not a standard
31// POSIX header, it's only documented in the Single UNIX Specification.
32// The preferred POSIX compliant way to share memory is to use the functions
33// in <sys/mman.h> that comply with the POSIX Real Time Interface (1003.1b).
34#include <sys/socket.h>
35#include <sys/stat.h>
36#include <sys/wait.h>
37
38// DNS header files are not fully covered by X/Open specifications.
39// In particular nothing is said about res_* :/
40// Header files <netinet/in.h> and <arpa/nameser.h> are not included
41// by <resolv.h> on older versions of the GNU C library. Note that
42// <arpa/nameser.h> must be included before <resolv.h>.
43#include <netinet/in.h>
44#include <arpa/nameser.h>
45#include <resolv.h>
46
47
48#if !defined(QT_NO_COMPAT)
49 #define QT_STATBUF struct stat
50 #define QT_STATBUF4TSTATstruct stat
51 #define QT_STAT ::stat
52 #define QT_FSTAT ::fstat
53 #define QT_STAT_REG S_IFREG
54 #define QT_STAT_DIR S_IFDIR
55 #define QT_STAT_MASK S_IFMT
56 #define QT_STAT_LNK S_IFLNK
57 #define QT_FILENO fileno
58 #define QT_OPEN ::open
59 #define QT_CLOSE ::close
60 #define QT_LSEEK ::lseek
61 #define QT_READ ::read
62 #define QT_WRITE ::write
63 #define QT_ACCESS ::access
64 #define QT_GETCWD ::getcwd
65 #define QT_CHDIR ::chdir
66 #define QT_MKDIR ::mkdir
67 #define QT_RMDIR ::rmdir
68 #define QT_OPEN_RDONLY O_RDONLY
69 #define QT_OPEN_WRONLY O_WRONLY
70 #define QT_OPEN_RDWR O_RDWR
71 #define QT_OPEN_CREAT O_CREAT
72 #define QT_OPEN_TRUNC O_TRUNC
73 #define QT_OPEN_APPEND O_APPEND
74#endif
75
76 #define QT_SIGNAL_RETTYPEvoid
77 #define QT_SIGNAL_ARGS int
78 #define QT_SIGNAL_IGNORESIG_IGN
79
80 #define QT_SOCKLEN_T size_t
81
82 #define QT_SNPRINTF ::snprintf
83 #define QT_VSNPRINTF ::vsnprintf
84
85
86#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/qws/freebsd-generic-g++/qmake.conf b/mkspecs/qws/freebsd-generic-g++/qmake.conf
new file mode 100644
index 0000000..3588caf
--- a/dev/null
+++ b/mkspecs/qws/freebsd-generic-g++/qmake.conf
@@ -0,0 +1,71 @@
1#
2# $Id$
3#
4# qmake configuration for freebsd-g++ with Qt/Embedded
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O2 -fno-default-inline
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -fPIC
23 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
24 QMAKE_CFLAGS_THREAD= -pthread -D_THREAD_SAFE
25
26 QMAKE_CXX = g++
27QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
28 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQT_NO_QWS_LINUXFB -DQT_NO_QWS_TRANSFORMED -DQWS -fno-exceptions -fno-rtti
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37# Addon software goes into /usr/local on the BSDs, by default we will look there
38 QMAKE_INCDIR = /usr/local/include
39 QMAKE_LIBDIR = /usr/local/lib
40 QMAKE_INCDIR_QT = $(QTDIR)/include
41 QMAKE_LIBDIR_QT = $(QTDIR)/lib
42
43 QMAKE_LINK = g++
44 QMAKE_LINK_SHLIB= g++
45 QMAKE_LFLAGS =
46 QMAKE_LFLAGS_RELEASE=
47 QMAKE_LFLAGS_DEBUG=
48QMAKE_LFLAGS_SHLIB = -shared
49QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
50QMAKE_LFLAGS_SONAME = -Wl,-soname,
51QMAKE_LFLAGS_THREAD = -pthread
52QMAKE_RPATH = -Wl,-rpath,
53
54 QMAKE_LIBS =
55 QMAKE_LIBS_QT = -lqte
56QMAKE_LIBS_QT_THREAD = -lqte-mt
57QMAKE_LIBS_THREAD =
58
59 QMAKE_MOC = $(QTDIR)/bin/moc
60 QMAKE_UIC = $(QTDIR)/bin/uic
61
62 QMAKE_AR = ar cqs
63 QMAKE_RANLIB =
64
65 QMAKE_TAR = tar -cf
66 QMAKE_GZIP = gzip -9f
67
68 QMAKE_COPY = cp -f
69 QMAKE_MOVE = mv -f
70 QMAKE_DEL_FILE = rm -f
71 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/qws/linux-arm-g++/qmake.conf b/mkspecs/qws/linux-arm-g++/qmake.conf
new file mode 100644
index 0000000..7927ac5
--- a/dev/null
+++ b/mkspecs/qws/linux-arm-g++/qmake.conf
@@ -0,0 +1,76 @@
1#
2# $Id$
3#
4# qmake configuration for linux-g++ using the arm-linux-g++ crosscompiler
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = arm-linux-gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_WARN_ON= -Wall -W
18 QMAKE_CFLAGS_WARN_OFF=
19 QMAKE_CFLAGS_RELEASE= -O2
20 QMAKE_CFLAGS_DEBUG= -g
21 QMAKE_CFLAGS_SHLIB= -fPIC
22 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
23 QMAKE_CFLAGS_THREAD= -D_REENTRANT
24
25 QMAKE_CXX = arm-linux-g++
26 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS -fno-exceptions -fno-rtti
27 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
28 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
29 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
30 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
31 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
32 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
33 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
34
35 QMAKE_INCDIR =
36 QMAKE_LIBDIR =
37 QMAKE_INCDIR_X11=
38 QMAKE_LIBDIR_X11=
39 QMAKE_INCDIR_QT = $(QTDIR)/include
40 QMAKE_LIBDIR_QT = $(QTDIR)/lib
41 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
42 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
43
44 QMAKE_LINK = arm-linux-g++
45 QMAKE_LINK_SHLIB= arm-linux-g++
46 QMAKE_LFLAGS =
47 QMAKE_LFLAGS_RELEASE=
48 QMAKE_LFLAGS_DEBUG=
49QMAKE_LFLAGS_SHLIB = -shared
50QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
51QMAKE_LFLAGS_SONAME = -Wl,-soname,
52QMAKE_LFLAGS_THREAD =
53QMAKE_RPATH = -Wl,-rpath,
54
55 QMAKE_LIBS =
56QMAKE_LIBS_DYNLOAD = -ldl
57 QMAKE_LIBS_X11 =
58 QMAKE_LIBS_X11SM=
59 QMAKE_LIBS_QT = -lqte
60QMAKE_LIBS_QT_THREAD = -lqte-mt
61 QMAKE_LIBS_QT_OPENGL= -lqgl
62QMAKE_LIBS_THREAD = -lpthread
63
64 QMAKE_MOC = $(QTDIR)/bin/moc
65 QMAKE_UIC = $(QTDIR)/bin/uic
66
67 QMAKE_AR = ar cqs
68 QMAKE_RANLIB =
69
70 QMAKE_TAR = tar -cf
71 QMAKE_GZIP = gzip -9f
72
73 QMAKE_COPY = cp -f
74 QMAKE_MOVE = mv -f
75 QMAKE_DEL_FILE = rm -f
76 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/qws/linux-generic-g++/qmake.conf b/mkspecs/qws/linux-generic-g++/qmake.conf
new file mode 100644
index 0000000..69b14dc
--- a/dev/null
+++ b/mkspecs/qws/linux-generic-g++/qmake.conf
@@ -0,0 +1,76 @@
1#
2# $Id$
3#
4# qmake configuration for linux-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_WARN_ON= -Wall -W
18 QMAKE_CFLAGS_WARN_OFF=
19 QMAKE_CFLAGS_RELEASE= -O2
20 QMAKE_CFLAGS_DEBUG= -g
21 QMAKE_CFLAGS_SHLIB= -fPIC
22 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
23 QMAKE_CFLAGS_THREAD= -D_REENTRANT
24
25 QMAKE_CXX = g++
26 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS -fno-exceptions -fno-rtti
27 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
28 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
29 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
30 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
31 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
32 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
33 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
34
35 QMAKE_INCDIR =
36 QMAKE_LIBDIR =
37 QMAKE_INCDIR_X11=
38 QMAKE_LIBDIR_X11=
39 QMAKE_INCDIR_QT = $(QTDIR)/include
40 QMAKE_LIBDIR_QT = $(QTDIR)/lib
41 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
42 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
43
44 QMAKE_LINK = g++
45 QMAKE_LINK_SHLIB= g++
46 QMAKE_LFLAGS =
47 QMAKE_LFLAGS_RELEASE=
48 QMAKE_LFLAGS_DEBUG=
49QMAKE_LFLAGS_SHLIB = -shared
50QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
51QMAKE_LFLAGS_SONAME = -Wl,-soname,
52QMAKE_LFLAGS_THREAD =
53QMAKE_RPATH = -Wl,-rpath,
54
55 QMAKE_LIBS =
56QMAKE_LIBS_DYNLOAD = -ldl
57 QMAKE_LIBS_X11 =
58 QMAKE_LIBS_X11SM=
59 QMAKE_LIBS_QT = -lqte
60QMAKE_LIBS_QT_THREAD = -lqte-mt
61 QMAKE_LIBS_QT_OPENGL= -lqgl
62QMAKE_LIBS_THREAD = -lpthread
63
64 QMAKE_MOC = $(QTDIR)/bin/moc
65 QMAKE_UIC = $(QTDIR)/bin/uic
66
67 QMAKE_AR = ar cqs
68 QMAKE_RANLIB =
69
70 QMAKE_TAR = tar -cf
71 QMAKE_GZIP = gzip -9f
72
73 QMAKE_COPY = cp -f
74 QMAKE_MOVE = mv -f
75 QMAKE_DEL_FILE = rm -f
76 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/qws/linux-ipaq-g++/qmake.conf b/mkspecs/qws/linux-ipaq-g++/qmake.conf
new file mode 100644
index 0000000..ac27d2a
--- a/dev/null
+++ b/mkspecs/qws/linux-ipaq-g++/qmake.conf
@@ -0,0 +1,76 @@
1#
2# $Id$
3#
4# qmake configuration for linux-g++ using the arm-linux-g++ crosscompiler
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = arm-linux-gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_WARN_ON= -Wall -W
18 QMAKE_CFLAGS_WARN_OFF=
19 QMAKE_CFLAGS_RELEASE= -O2
20 QMAKE_CFLAGS_DEBUG= -g
21 QMAKE_CFLAGS_SHLIB= -fPIC
22 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
23 QMAKE_CFLAGS_THREAD= -D_REENTRANT
24
25 QMAKE_CXX = arm-linux-g++ -DQT_QWS_IPAQ
26 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS -fno-exceptions -fno-rtti
27 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
28 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
29 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
30 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
31 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
32 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
33 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
34
35 QMAKE_INCDIR =
36 QMAKE_LIBDIR =
37 QMAKE_INCDIR_X11=
38 QMAKE_LIBDIR_X11=
39 QMAKE_INCDIR_QT = $(QTDIR)/include
40 QMAKE_LIBDIR_QT = $(QTDIR)/lib
41 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
42 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
43
44 QMAKE_LINK = arm-linux-g++
45 QMAKE_LINK_SHLIB= arm-linux-g++
46 QMAKE_LFLAGS =
47 QMAKE_LFLAGS_RELEASE=
48 QMAKE_LFLAGS_DEBUG=
49QMAKE_LFLAGS_SHLIB = -shared
50QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
51QMAKE_LFLAGS_SONAME = -Wl,-soname,
52QMAKE_LFLAGS_THREAD =
53QMAKE_RPATH = -Wl,-rpath,
54
55 QMAKE_LIBS =
56QMAKE_LIBS_DYNLOAD = -ldl
57 QMAKE_LIBS_X11 =
58 QMAKE_LIBS_X11SM=
59 QMAKE_LIBS_QT = -lqte
60QMAKE_LIBS_QT_THREAD = -lqte-mt
61 QMAKE_LIBS_QT_OPENGL= -lqgl
62QMAKE_LIBS_THREAD = -lpthread
63
64 QMAKE_MOC = $(QTDIR)/bin/moc
65 QMAKE_UIC = $(QTDIR)/bin/uic
66
67 QMAKE_AR = ar cqs
68 QMAKE_RANLIB =
69
70 QMAKE_TAR = tar -cf
71 QMAKE_GZIP = gzip -9f
72
73 QMAKE_COPY = cp -f
74 QMAKE_MOVE = mv -f
75 QMAKE_DEL_FILE = rm -f
76 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/qws/linux-mips-g++/qmake.conf b/mkspecs/qws/linux-mips-g++/qmake.conf
new file mode 100644
index 0000000..a748f52
--- a/dev/null
+++ b/mkspecs/qws/linux-mips-g++/qmake.conf
@@ -0,0 +1,76 @@
1#
2# $Id$
3#
4# qmake configuration for linux-g++ using the mipsel-linux-g++ crosscompiler
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = mipsel-linux-gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_WARN_ON= -Wall -W
18 QMAKE_CFLAGS_WARN_OFF=
19 QMAKE_CFLAGS_RELEASE= -O2
20 QMAKE_CFLAGS_DEBUG= -g
21 QMAKE_CFLAGS_SHLIB= -fPIC
22 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
23 QMAKE_CFLAGS_THREAD= -D_REENTRANT
24
25 QMAKE_CXX = mipsel-linux-g++
26 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS -fno-exceptions -fno-rtti
27 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
28 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
29 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
30 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
31 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
32 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
33 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
34
35 QMAKE_INCDIR =
36 QMAKE_LIBDIR =
37 QMAKE_INCDIR_X11=
38 QMAKE_LIBDIR_X11=
39 QMAKE_INCDIR_QT = $(QTDIR)/include
40 QMAKE_LIBDIR_QT = $(QTDIR)/lib
41 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
42 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
43
44 QMAKE_LINK = mipsel-linux-g++
45 QMAKE_LINK_SHLIB= mipsel-linux-g++
46 QMAKE_LFLAGS =
47 QMAKE_LFLAGS_RELEASE=
48 QMAKE_LFLAGS_DEBUG=
49QMAKE_LFLAGS_SHLIB = -shared
50QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
51QMAKE_LFLAGS_SONAME = -Wl,-soname,
52QMAKE_LFLAGS_THREAD =
53QMAKE_RPATH = -Wl,-rpath,
54
55 QMAKE_LIBS =
56QMAKE_LIBS_DYNLOAD = -ldl
57 QMAKE_LIBS_X11 =
58 QMAKE_LIBS_X11SM=
59 QMAKE_LIBS_QT = -lqte
60QMAKE_LIBS_QT_THREAD = -lqte-mt
61 QMAKE_LIBS_QT_OPENGL= -lqgl
62QMAKE_LIBS_THREAD = -lpthread
63
64 QMAKE_MOC = $(QTDIR)/bin/moc
65 QMAKE_UIC = $(QTDIR)/bin/uic
66
67 QMAKE_AR = ar cqs
68 QMAKE_RANLIB =
69
70 QMAKE_TAR = tar -cf
71 QMAKE_GZIP = gzip -9f
72
73 QMAKE_COPY = cp -f
74 QMAKE_MOVE = mv -f
75 QMAKE_DEL_FILE = rm -f
76 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/qws/linux-sharp-g++/qmake.conf b/mkspecs/qws/linux-sharp-g++/qmake.conf
new file mode 100644
index 0000000..4744fee
--- a/dev/null
+++ b/mkspecs/qws/linux-sharp-g++/qmake.conf
@@ -0,0 +1,76 @@
1#
2# $Id$
3#
4# qmake configuration for linux-g++ using the arm-linux-g++ crosscompiler
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = arm-linux-gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_WARN_ON= -Wall -W
18 QMAKE_CFLAGS_WARN_OFF=
19 QMAKE_CFLAGS_RELEASE= -O2
20 QMAKE_CFLAGS_DEBUG= -g
21 QMAKE_CFLAGS_SHLIB= -fPIC
22 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
23 QMAKE_CFLAGS_THREAD= -D_REENTRANT
24
25 QMAKE_CXX = arm-linux-g++ -DQT_QWS_SHARP -DQT_QWS_EBX
26 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS -fno-exceptions -fno-rtti
27 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
28 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
29 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
30 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
31 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
32 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
33 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
34
35 QMAKE_INCDIR =
36 QMAKE_LIBDIR =
37 QMAKE_INCDIR_X11=
38 QMAKE_LIBDIR_X11=
39 QMAKE_INCDIR_QT = $(QTDIR)/include
40 QMAKE_LIBDIR_QT = $(QTDIR)/lib
41 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
42 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
43
44 QMAKE_LINK = arm-linux-g++
45 QMAKE_LINK_SHLIB= arm-linux-g++
46 QMAKE_LFLAGS =
47 QMAKE_LFLAGS_RELEASE=
48 QMAKE_LFLAGS_DEBUG=
49QMAKE_LFLAGS_SHLIB = -shared
50QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
51QMAKE_LFLAGS_SONAME = -Wl,-soname,
52QMAKE_LFLAGS_THREAD =
53QMAKE_RPATH = -Wl,-rpath,
54
55 QMAKE_LIBS =
56QMAKE_LIBS_DYNLOAD = -ldl
57 QMAKE_LIBS_X11 =
58 QMAKE_LIBS_X11SM=
59 QMAKE_LIBS_QT = -lqte
60QMAKE_LIBS_QT_THREAD = -lqte-mt
61 QMAKE_LIBS_QT_OPENGL= -lqgl
62QMAKE_LIBS_THREAD = -lpthread
63
64 QMAKE_MOC = $(QTDIR)/bin/moc
65 QMAKE_UIC = $(QTDIR)/bin/uic
66
67 QMAKE_AR = ar cqs
68 QMAKE_RANLIB =
69
70 QMAKE_TAR = tar -cf
71 QMAKE_GZIP = gzip -9f
72
73 QMAKE_COPY = cp -f
74 QMAKE_MOVE = mv -f
75 QMAKE_DEL_FILE = rm -f
76 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/qws/linux-sharp-g++/qplatformdefs.h b/mkspecs/qws/linux-sharp-g++/qplatformdefs.h
new file mode 100644
index 0000000..8fea644
--- a/dev/null
+++ b/mkspecs/qws/linux-sharp-g++/qplatformdefs.h
@@ -0,0 +1,103 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10// DNS system header files are a mess!
11// <resolv.h> includes <arpa/nameser.h>. <arpa/nameser.h> is using
12// 'u_char' and includes <sys/types.h>. Now the problem is that
13// <sys/types.h> defines 'u_char' only if __USE_BSD is defined.
14// __USE_BSD is defined in <features.h> if _BSD_SOURCE is defined.
15#ifndef _BSD_SOURCE
16# define _BSD_SOURCE
17#endif
18
19// 1) need to reset default environment if _BSD_SOURCE is defined
20// 2) need to specify POSIX thread interfaces explicitly in glibc 2.0
21// 3) it seems older glibc need this to include the X/Open stuff
22#ifndef _GNU_SOURCE
23# define _GNU_SOURCE
24#endif
25
26#include <unistd.h>
27
28
29// We are hot - unistd.h should have turned on the specific APIs we requested
30
31
32#ifdef QT_THREAD_SUPPORT
33#include <pthread.h>
34#endif
35
36#include <dirent.h>
37#include <fcntl.h>
38#include <grp.h>
39#include <pwd.h>
40#include <signal.h>
41#include <dlfcn.h>
42 #define QT_RTLD_FLAGSRTLD_LAZY|RTLD_GLOBAL
43
44#include <sys/types.h>
45#include <sys/ioctl.h>
46#include <sys/ipc.h>
47#include <sys/time.h>
48#include <sys/shm.h>
49#include <sys/socket.h>
50#include <sys/stat.h>
51#include <sys/wait.h>
52
53// DNS header files are not fully covered by X/Open specifications.
54// In particular nothing is said about res_* :/
55// Header files <netinet/in.h> and <arpa/nameser.h> are not included
56// by <resolv.h> on older versions of the GNU C library. Note that
57// <arpa/nameser.h> must be included before <resolv.h>.
58#include <netinet/in.h>
59#include <arpa/nameser.h>
60#include <resolv.h>
61
62
63#if !defined(QT_NO_COMPAT)
64 #define QT_STATBUF struct stat
65 #define QT_STATBUF4TSTATstruct stat
66 #define QT_STAT ::stat
67 #define QT_FSTAT ::fstat
68 #define QT_STAT_REG S_IFREG
69 #define QT_STAT_DIR S_IFDIR
70 #define QT_STAT_MASK S_IFMT
71 #define QT_STAT_LNK S_IFLNK
72 #define QT_FILENO fileno
73 #define QT_OPEN ::open
74 #define QT_CLOSE ::close
75 #define QT_LSEEK ::lseek
76 #define QT_READ ::read
77 #define QT_WRITE ::write
78 #define QT_ACCESS ::access
79 #define QT_GETCWD ::getcwd
80 #define QT_CHDIR ::chdir
81 #define QT_MKDIR ::mkdir
82 #define QT_RMDIR ::rmdir
83 #define QT_OPEN_RDONLY O_RDONLY
84 #define QT_OPEN_WRONLY O_WRONLY
85 #define QT_OPEN_RDWR O_RDWR
86 #define QT_OPEN_CREAT O_CREAT
87 #define QT_OPEN_TRUNC O_TRUNC
88 #define QT_OPEN_APPEND O_APPEND
89#endif
90
91 #define QT_SIGNAL_RETTYPEvoid
92 #define QT_SIGNAL_ARGS int
93 #define QT_SIGNAL_IGNORESIG_IGN
94
95 #define QT_SOCKLEN_T socklen_t
96
97#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
98 #define QT_SNPRINTF ::snprintf
99 #define QT_VSNPRINTF ::vsnprintf
100#endif
101
102
103#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/qws/linux-x86-g++/qmake.conf b/mkspecs/qws/linux-x86-g++/qmake.conf
new file mode 100644
index 0000000..e9e4352
--- a/dev/null
+++ b/mkspecs/qws/linux-x86-g++/qmake.conf
@@ -0,0 +1,76 @@
1#
2# $Id$
3#
4# qmake configuration for linux-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_WARN_ON= -Wall -W
18 QMAKE_CFLAGS_WARN_OFF=
19 QMAKE_CFLAGS_RELEASE= -O2
20 QMAKE_CFLAGS_DEBUG= -g
21 QMAKE_CFLAGS_SHLIB= -fPIC
22 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
23 QMAKE_CFLAGS_THREAD= -D_REENTRANT
24
25 QMAKE_CXX = g++
26 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS -fno-exceptions -fno-rtti
27 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
28 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
29 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
30 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
31 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
32 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
33 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
34
35 QMAKE_INCDIR =
36 QMAKE_LIBDIR =
37 QMAKE_INCDIR_X11=
38 QMAKE_LIBDIR_X11=
39 QMAKE_INCDIR_QT = $(QTDIR)/include
40 QMAKE_LIBDIR_QT = $(QTDIR)/lib
41 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
42 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
43
44 QMAKE_LINK = g++
45 QMAKE_LINK_SHLIB= g++
46 QMAKE_LFLAGS =
47 QMAKE_LFLAGS_RELEASE=
48 QMAKE_LFLAGS_DEBUG=
49QMAKE_LFLAGS_SHLIB = -shared
50QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
51QMAKE_LFLAGS_SONAME = -Wl,-soname,
52QMAKE_LFLAGS_THREAD =
53QMAKE_RPATH = -Wl,-rpath,
54
55 QMAKE_LIBS =
56QMAKE_LIBS_DYNLOAD = -ldl
57 QMAKE_LIBS_X11 =
58 QMAKE_LIBS_X11SM=
59 QMAKE_LIBS_QT = -lqte
60QMAKE_LIBS_QT_THREAD = -lqte-mt
61 QMAKE_LIBS_QT_OPENGL= -lqgl
62QMAKE_LIBS_THREAD = -lpthread
63
64 QMAKE_MOC = $(QTDIR)/bin/moc
65 QMAKE_UIC = $(QTDIR)/bin/uic
66
67 QMAKE_AR = ar cqs
68 QMAKE_RANLIB =
69
70 QMAKE_TAR = tar -cf
71 QMAKE_GZIP = gzip -9f
72
73 QMAKE_COPY = cp -f
74 QMAKE_MOVE = mv -f
75 QMAKE_DEL_FILE = rm -f
76 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/qws/macx-generic-g++/qmake.conf b/mkspecs/qws/macx-generic-g++/qmake.conf
new file mode 100644
index 0000000..d361bdc
--- a/dev/null
+++ b/mkspecs/qws/macx-generic-g++/qmake.conf
@@ -0,0 +1,80 @@
1#
2# $Id$
3#
4# qmake configuration for macx-g++ with Qt/Embedded
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10 QMAKE_EXTENSION_SHLIB= dylib
11
12 QMAKE_CC = $(TB)cc
13 QMAKE_LEX = flex
14 QMAKE_LEXFLAGS =
15 QMAKE_YACC = yacc
16 QMAKE_YACCFLAGS = -d
17 QMAKE_CFLAGS = -pipe
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF=
20 QMAKE_CFLAGS_RELEASE= -O2 -fno-default-inline
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -fPIC
23 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
24 QMAKE_CFLAGS_THREAD= -D_REENTRANT
25
26 QMAKE_CXX = $(TB)c++
27 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQT_NO_QWS_TRANSFORMED -DQWS -fno-exceptions -fno-rtti
28 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
29 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
30 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
31 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
32 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
33 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
34 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
35
36 QMAKE_INCDIR =
37 QMAKE_LIBDIR =
38 QMAKE_INCDIR_X11=
39 QMAKE_LIBDIR_X11=
40 QMAKE_INCDIR_QT = $(QTDIR)/include
41 QMAKE_LIBDIR_QT = $(QTDIR)/lib
42 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
43 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
44
45 QMAKE_LINK = $$QMAKE_CXX
46 QMAKE_LINK_SHLIB= $$QMAKE_CXX
47 QMAKE_LFLAGS =
48 QMAKE_LFLAGS_RELEASE=
49 QMAKE_LFLAGS_DEBUG=
50 QMAKE_LFLAGS_SHLIB= -dynamiclib
51QMAKE_LFLAGS_INCREMENTAL = -undefined suppress -flat_namespace
52 QMAKE_LFLAGS_PLUGIN= -bundle
53 QMAKE_LFLAGS_SONAME=
54 QMAKE_LFLAGS_THREAD=
55 QMAKE_RPATH =
56
57 QMAKE_LIBS =
58 QMAKE_LIBS_X11 =
59 QMAKE_LIBS_X11SM=
60 QMAKE_LIBS_QT = -lqte
61 QMAKE_LIBS_QT_THREAD= -lqte-mt
62 QMAKE_LIBS_QT_OPENGL= -lqgl
63 QMAKE_LIBS_THREAD=
64
65 QMAKE_MOC = $(QTDIR)/bin/moc
66 QMAKE_UIC = $(QTDIR)/bin/uic
67
68 QMAKE_AR = ar cqs
69 QMAKE_RANLIB =
70
71 QMAKE_TAR = tar -cf
72 QMAKE_GZIP = gzip -9f
73
74 QMAKE_COPY = cp -f
75 QMAKE_MOVE = mv -f
76 QMAKE_DEL_FILE = rm -f
77 QMAKE_DEL_DIR = rmdir
78
79
80
diff --git a/mkspecs/qws/macx-generic-g++/qplatformdefs.h b/mkspecs/qws/macx-generic-g++/qplatformdefs.h
new file mode 100644
index 0000000..0bb71b4
--- a/dev/null
+++ b/mkspecs/qws/macx-generic-g++/qplatformdefs.h
@@ -0,0 +1,92 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8
9// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
10
11#include <unistd.h>
12
13
14// We are hot - unistd.h should have turned on the specific APIs we requested
15
16
17#ifdef QT_THREAD_SUPPORT
18#include <pthread.h>
19#endif
20
21#include <ctype.h>
22#include <dirent.h>
23#include <errno.h>
24#include <fcntl.h>
25#include <grp.h>
26#include <limits.h>
27#include <locale.h>
28#include <pwd.h>
29#include <signal.h>
30#include <stdlib.h>
31#include <stdio.h>
32#include <time.h>
33
34#include <sys/types.h>
35#include <sys/ioctl.h>
36#include <sys/ipc.h>
37#include <sys/time.h>
38#include <sys/shm.h>
39#include <sys/socket.h>
40#include <sys/stat.h>
41#include <sys/wait.h>
42#define QT_NO_LIBRARY_UNLOAD
43
44// DNS header files are not fully covered by X/Open specifications.
45// In particular nothing is said about res_* :/
46// On BSDs header files <netinet/in.h> and <arpa/nameser.h> are not
47// included by <resolv.h>. Note that <arpa/nameser.h> must be included
48// before <resolv.h>.
49#include <netinet/in.h>
50#include <arpa/nameser.h>
51#include <resolv.h>
52
53
54#if !defined(QT_NO_COMPAT)
55 #define QT_STATBUF struct stat
56 #define QT_STATBUF4TSTATstruct stat
57 #define QT_STAT ::stat
58 #define QT_FSTAT ::fstat
59 #define QT_STAT_REG S_IFREG
60 #define QT_STAT_DIR S_IFDIR
61 #define QT_STAT_MASK S_IFMT
62 #define QT_STAT_LNK S_IFLNK
63 #define QT_FILENO fileno
64 #define QT_OPEN ::open
65 #define QT_CLOSE ::close
66 #define QT_LSEEK ::lseek
67 #define QT_READ ::read
68 #define QT_WRITE ::write
69 #define QT_ACCESS ::access
70 #define QT_GETCWD ::getcwd
71 #define QT_CHDIR ::chdir
72 #define QT_MKDIR ::mkdir
73 #define QT_RMDIR ::rmdir
74 #define QT_OPEN_RDONLY O_RDONLY
75 #define QT_OPEN_WRONLY O_WRONLY
76 #define QT_OPEN_RDWR O_RDWR
77 #define QT_OPEN_CREAT O_CREAT
78 #define QT_OPEN_TRUNC O_TRUNC
79 #define QT_OPEN_APPEND O_APPEND
80#endif
81
82 #define QT_SIGNAL_RETTYPEvoid
83 #define QT_SIGNAL_ARGS int
84 #define QT_SIGNAL_IGNORE(void (*)(int))1
85
86 #define QT_SOCKLEN_T int
87
88 #define QT_SNPRINTF ::snprintf
89 #define QT_VSNPRINTF ::vsnprintf
90
91
92#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/qws/qnx4-cc/qmake.conf b/mkspecs/qws/qnx4-cc/qmake.conf
new file mode 100644
index 0000000..a756b60
--- a/dev/null
+++ b/mkspecs/qws/qnx4-cc/qmake.conf
@@ -0,0 +1,70 @@
1#
2# $Id$
3#
4# qmake configuration for qnx4-gcc
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release no_mocdepend
10
11 QMAKE_CC = cc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -WC,-sg
17QMAKE_CFLAGS_WARN_ON = -w1
18QMAKE_CFLAGS_WARN_OFF = -w0
19QMAKE_CFLAGS_RELEASE = -O
20 QMAKE_CFLAGS_DEBUG= -g2d
21 QMAKE_CFLAGS_SHLIB=
22 QMAKE_CFLAGS_YACC=
23 QMAKE_CFLAGS_THREAD= -D_REENTRANT -WC,-bm
24
25 QMAKE_CXX = cc
26 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS
27 DEFINES += QT_NO_SOUND QT_CLEAN_NAMESPACE QT_NO_QWS_TRANSFORMED QT_NO_QWS_MOUSE_AUTO QT_NO_QWS_MOUSE_MANUAL QT_NO_QWS_LINUXFB
28 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
29 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
30 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
31 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
32 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
33 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
34 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
35
36 QMAKE_INCDIR = /usr/local/include /usr/include/graphics
37 QMAKE_LIBDIR = /usr/local/lib $(QTDIR)/lib
38 QMAKE_INCDIR_QT = $(QTDIR)/include
39 QMAKE_LIBDIR_QT = $(QTDIR)/lib
40
41 QMAKE_LINK = cc
42 QMAKE_LINK_SHLIB= cc
43 QMAKE_LFLAGS = -lsocket
44 QMAKE_LFLAGS_RELEASE=
45 QMAKE_LFLAGS_DEBUG= -g2d
46 QMAKE_LFLAGS_SHLIB= -d
47 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
48 QMAKE_LFLAGS_SONAME=
49 QMAKE_LFLAGS_THREAD=
50 QMAKE_RPATH =
51
52 QMAKE_LIBS = -lsocket
53 QMAKE_LIBS_DYNLOAD=
54 QMAKE_LIBS_QT = -T 1 -lqte
55 QMAKE_LIBS_QT_THREAD= -lqte-mt
56 QMAKE_LIBS_THREAD=
57
58 QMAKE_MOC = $(QTDIR)/util/scripts/qnx4moc.sh $(CXXFLAGS) $(INCPATH)
59 QMAKE_UIC = $(QTDIR)/bin/uic
60
61 QMAKE_AR = wlib -n -c
62 QMAKE_RANLIB =
63
64 QMAKE_TAR = tar -cf
65 QMAKE_GZIP = gzip -9f
66
67 QMAKE_COPY = cp -f
68 QMAKE_MOVE = mv -f
69 QMAKE_DEL_FILE = rm -f
70 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/qws/qnx4-cc/qplatformdefs.h b/mkspecs/qws/qnx4-cc/qplatformdefs.h
new file mode 100644
index 0000000..7c170fb
--- a/dev/null
+++ b/mkspecs/qws/qnx4-cc/qplatformdefs.h
@@ -0,0 +1,78 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5#include "qglobal.h"
6
7#include <unix.h>
8
9#ifdef QT_THREAD_SUPPORT
10#include <pthread.h>
11#endif
12
13#include <dirent.h>
14#include <fcntl.h>
15#include <grp.h>
16#include <pwd.h>
17#include <signal.h>
18
19#include <sys/types.h>
20#include <sys/ioctl.h>
21#include <sys/select.h>
22#include <sys/time.h>
23#include <sys/socket.h>
24#include <sys/stat.h>
25#include <sys/wait.h>
26
27// DNS header files are not fully covered by X/Open specifications.
28// In particular nothing is said about res_* :/
29// Header files <netinet/in.h> and <arpa/nameser.h> are not included
30// by <resolv.h> on older versions of the GNU C library. Note that
31// <arpa/nameser.h> must be included before <resolv.h>.
32#include <netinet/in.h>
33#include <arpa/nameser.h>
34#define class c_class
35extern "C" {
36#include <resolv.h>
37}
38#undef class
39
40
41 #define QT_STATBUF struct stat
42 #define QT_STATBUF4TSTATstruct stat
43 #define QT_STAT ::stat
44 #define QT_FSTAT ::fstat
45 #define QT_STAT_REG S_IFREG
46 #define QT_STAT_DIR S_IFDIR
47 #define QT_STAT_MASK S_IFMT
48 #define QT_STAT_LNK S_IFLNK
49 #define QT_FILENO fileno
50 #define QT_OPEN ::open
51 #define QT_CLOSE ::close
52 #define QT_LSEEK ::lseek
53 #define QT_READ ::read
54 #define QT_WRITE ::write
55 #define QT_ACCESS ::access
56 #define QT_GETCWD ::getcwd
57 #define QT_CHDIR ::chdir
58 #define QT_MKDIR ::mkdir
59 #define QT_RMDIR ::rmdir
60 #define QT_OPEN_RDONLY O_RDONLY
61 #define QT_OPEN_WRONLY O_WRONLY
62 #define QT_OPEN_RDWR O_RDWR
63 #define QT_OPEN_CREAT O_CREAT
64 #define QT_OPEN_TRUNC O_TRUNC
65 #define QT_OPEN_APPEND O_APPEND
66
67 #define QT_SIGNAL_RETTYPEvoid
68 #define QT_SIGNAL_ARGS int
69 #define QT_SIGNAL_IGNORESIG_IGN
70
71 #define QT_SOCKLEN_T int
72
73#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
74 #define QT_SNPRINTF ::snprintf
75 #define QT_VSNPRINTF ::vsnprintf
76#endif
77
78#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/qws/qnx6-generic-cc/qmake.conf b/mkspecs/qws/qnx6-generic-cc/qmake.conf
new file mode 100644
index 0000000..b0bacf0
--- a/dev/null
+++ b/mkspecs/qws/qnx6-generic-cc/qmake.conf
@@ -0,0 +1,77 @@
1#
2# $Id$
3#
4# qmake configuration for qnx-rtp-gcc
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = cc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -Bstatic -fPIC -pipe -fno-inline -fno-pack-struct -fhonor-std -fno-builtins -fexceptions -D_STRINGS_H_INCLUDED
17 QMAKE_CFLAGS_WARN_ON= -Wall
18 QMAKE_CFLAGS_WARN_OFF= -w
19 QMAKE_CFLAGS_RELEASE= -O
20 QMAKE_CFLAGS_DEBUG= -g
21 QMAKE_CFLAGS_SHLIB=
22 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses -fno-inline -fno-pack-struct
23 QMAKE_CFLAGS_THREAD= -D_REENTRANT
24
25 QMAKE_CXX = cc
26 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS -DQT_POSIX_QSHM -DQT_NO_SOUND -DQT_CLEAN_NAMESPACE -DQT_NO_QWS_TRANSFORMED -DQT_NO_QWS_MOUSE_AUTO -DQT_NO_QWS_MOUSE_MANUAL -DQT_NO_QWS_VFB -DQT_NO_QWS_LINUXFB -DQT_NO_QWS_MULTIPROCESS
27 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
28 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
29 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
30 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
31 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
32 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
33 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
34
35 QMAKE_INCDIR = /usr/local/include /usr/include/graphics
36 QMAKE_LIBDIR = /usr/local/lib $(QTDIR)/lib
37 QMAKE_INCDIR_X11= $(CVSDIR)/hardware/devg/public/graphics/
38 QMAKE_LIBDIR_X11=
39 QMAKE_INCDIR_QT = $(QTDIR)/include
40 QMAKE_LIBDIR_QT = $(QTDIR)/lib
41 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
42 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
43
44 QMAKE_LINK = cc
45 QMAKE_LINK_SHLIB= cc
46 QMAKE_LFLAGS = -lsocket -ldisputil
47 QMAKE_LFLAGS_RELEASE=
48 QMAKE_LFLAGS_DEBUG=
49 QMAKE_LFLAGS_SHLIB= -shared
50 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
51 QMAKE_LFLAGS_SONAME= -Wl,-soname,
52 QMAKE_LFLAGS_THREAD=
53 QMAKE_RPATH = -Wl,-rpath,
54
55 QMAKE_LIBS = -lsocket -lcpp
56 QMAKE_LIBS_DYNLOAD=
57 QMAKE_LIBS_X11 = -ldisputil -lm
58 QMAKE_LIBS_X11SM=
59 QMAKE_LIBS_QT = -lqte
60 QMAKE_LIBS_QT_THREAD= -lqte-mt
61 QMAKE_LIBS_QT_OPENGL= -lqgl
62 QMAKE_LIBS_THREAD= -lpthread
63
64 QMAKE_MOC = $(QTDIR)/bin/moc
65 QMAKE_UIC = $(QTDIR)/bin/uic
66
67 QMAKE_AR = ar cqs
68 QMAKE_RANLIB =
69
70 QMAKE_TAR = tar -cf
71 QMAKE_GZIP = gzip -9f
72
73 QMAKE_COPY = cp -f
74 QMAKE_MOVE = mv -f
75 QMAKE_DEL_FILE = rm -f
76 QMAKE_DEL_DIR = rmdir
77
diff --git a/mkspecs/qws/qnx6-generic-cc/qplatformdefs.h b/mkspecs/qws/qnx6-generic-cc/qplatformdefs.h
new file mode 100644
index 0000000..303e44c
--- a/dev/null
+++ b/mkspecs/qws/qnx6-generic-cc/qplatformdefs.h
@@ -0,0 +1,82 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25
26#include <sys/types.h>
27#include <sys/ioctl.h>
28#include <sys/ipc.h>
29#include <sys/time.h>
30#include <sys/socket.h>
31#include <sys/stat.h>
32#include <sys/wait.h>
33
34// DNS header files are not fully covered by X/Open specifications.
35// In particular nothing is said about res_* :/
36// Header files <netinet/in.h> and <arpa/nameser.h> are not included
37// by <resolv.h> on older versions of the GNU C library. Note that
38// <arpa/nameser.h> must be included before <resolv.h>.
39#include <netinet/in.h>
40#include <arpa/nameser.h>
41#include <resolv.h>
42
43
44#if !defined(QT_NO_COMPAT)
45 #define QT_STATBUF struct stat
46 #define QT_STATBUF4TSTATstruct stat
47 #define QT_STAT ::stat
48 #define QT_FSTAT ::fstat
49 #define QT_STAT_REG S_IFREG
50 #define QT_STAT_DIR S_IFDIR
51 #define QT_STAT_MASK S_IFMT
52 #define QT_STAT_LNK S_IFLNK
53 #define QT_FILENO fileno
54 #define QT_OPEN ::open
55 #define QT_CLOSE ::close
56 #define QT_LSEEK ::lseek
57 #define QT_READ ::read
58 #define QT_WRITE ::write
59 #define QT_ACCESS ::access
60 #define QT_GETCWD ::getcwd
61 #define QT_CHDIR ::chdir
62 #define QT_MKDIR ::mkdir
63 #define QT_RMDIR ::rmdir
64 #define QT_OPEN_RDONLY O_RDONLY
65 #define QT_OPEN_WRONLY O_WRONLY
66 #define QT_OPEN_RDWR O_RDWR
67 #define QT_OPEN_CREAT O_CREAT
68 #define QT_OPEN_TRUNC O_TRUNC
69 #define QT_OPEN_APPEND O_APPEND
70#endif
71
72 #define QT_SIGNAL_RETTYPEvoid
73 #define QT_SIGNAL_ARGS int
74 #define QT_SIGNAL_IGNORESIG_IGN
75
76 #define QT_SOCKLEN_T size_t
77
78 #define QT_SNPRINTF ::snprintf
79 #define QT_VSNPRINTF ::vsnprintf
80
81
82#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/qws/qnx6-generic-g++/qmake.conf b/mkspecs/qws/qnx6-generic-g++/qmake.conf
new file mode 100644
index 0000000..065a9fa
--- a/dev/null
+++ b/mkspecs/qws/qnx6-generic-g++/qmake.conf
@@ -0,0 +1,77 @@
1#
2# $Id$
3#
4# qmake configuration for qnx-rtp-gcc
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = cc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe -fno-inline -fno-pack-struct -fhonor-std -fexceptions -D_STRINGS_H_INCLUDED
17 QMAKE_CFLAGS_WARN_ON= -Wall
18 QMAKE_CFLAGS_WARN_OFF= -w
19 QMAKE_CFLAGS_RELEASE= -O
20 QMAKE_CFLAGS_DEBUG= -g
21 QMAKE_CFLAGS_SHLIB= -fPIC
22 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses -fno-inline -fno-pack-struct
23 QMAKE_CFLAGS_THREAD= -D_REENTRANT
24
25 QMAKE_CXX = cc
26 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQWS -DQT_POSIX_QSHM -DQT_NO_QWS_MULTIPROCESS -DQT_NO_SOUND -DQT_CLEAN_NAMESPACE -DQT_NO_QWS_TRANSFORMED -DQT_NO_QWS_MOUSE_AUTO -DQT_NO_QWS_MOUSE_MANUAL -DQT_NO_PROCESS -DQT_NO_QWS_VFB -DQT_NO_QWS_LINUXFB
27 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
28 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
29 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
30 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
31 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
32 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
33 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
34
35 QMAKE_INCDIR = /usr/local/include /usr/include/graphics
36 QMAKE_LIBDIR = /usr/local/lib $(QTDIR)/lib
37 QMAKE_INCDIR_X11= $(CVSDIR)/hardware/devg/public/graphics/
38 QMAKE_LIBDIR_X11=
39 QMAKE_INCDIR_QT = $(QTDIR)/include
40 QMAKE_LIBDIR_QT = $(QTDIR)/lib
41 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
42 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
43
44 QMAKE_LINK = cc -fhonor-std
45 QMAKE_LINK_SHLIB= cc -fhonor-std
46 QMAKE_LFLAGS = -lsocket -ldisputil
47 QMAKE_LFLAGS_RELEASE=
48 QMAKE_LFLAGS_DEBUG=
49 QMAKE_LFLAGS_SHLIB= -shared
50 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
51 QMAKE_LFLAGS_SONAME= -Wl,-soname,
52 QMAKE_LFLAGS_THREAD=
53 QMAKE_RPATH = -Wl,-rpath,
54
55 QMAKE_LIBS = -lsocket
56 QMAKE_LIBS_DYNLOAD=
57 QMAKE_LIBS_X11 = -ldisputil -lm
58 QMAKE_LIBS_X11SM=
59 QMAKE_LIBS_QT = -lqte
60 QMAKE_LIBS_QT_THREAD= -lqte-mt
61 QMAKE_LIBS_QT_OPENGL= -lqgl
62 QMAKE_LIBS_THREAD= -lpthread
63
64 QMAKE_MOC = $(QTDIR)/bin/moc
65 QMAKE_UIC = $(QTDIR)/bin/uic
66
67 QMAKE_AR = ar cqs
68 QMAKE_RANLIB =
69
70 QMAKE_TAR = tar -cf
71 QMAKE_GZIP = gzip -9f
72
73 QMAKE_COPY = cp -f
74 QMAKE_MOVE = mv -f
75 QMAKE_DEL_FILE = rm -f
76 QMAKE_DEL_DIR = rmdir
77
diff --git a/mkspecs/qws/qnx6-generic-g++/qplatformdefs.h b/mkspecs/qws/qnx6-generic-g++/qplatformdefs.h
new file mode 100644
index 0000000..303e44c
--- a/dev/null
+++ b/mkspecs/qws/qnx6-generic-g++/qplatformdefs.h
@@ -0,0 +1,82 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25
26#include <sys/types.h>
27#include <sys/ioctl.h>
28#include <sys/ipc.h>
29#include <sys/time.h>
30#include <sys/socket.h>
31#include <sys/stat.h>
32#include <sys/wait.h>
33
34// DNS header files are not fully covered by X/Open specifications.
35// In particular nothing is said about res_* :/
36// Header files <netinet/in.h> and <arpa/nameser.h> are not included
37// by <resolv.h> on older versions of the GNU C library. Note that
38// <arpa/nameser.h> must be included before <resolv.h>.
39#include <netinet/in.h>
40#include <arpa/nameser.h>
41#include <resolv.h>
42
43
44#if !defined(QT_NO_COMPAT)
45 #define QT_STATBUF struct stat
46 #define QT_STATBUF4TSTATstruct stat
47 #define QT_STAT ::stat
48 #define QT_FSTAT ::fstat
49 #define QT_STAT_REG S_IFREG
50 #define QT_STAT_DIR S_IFDIR
51 #define QT_STAT_MASK S_IFMT
52 #define QT_STAT_LNK S_IFLNK
53 #define QT_FILENO fileno
54 #define QT_OPEN ::open
55 #define QT_CLOSE ::close
56 #define QT_LSEEK ::lseek
57 #define QT_READ ::read
58 #define QT_WRITE ::write
59 #define QT_ACCESS ::access
60 #define QT_GETCWD ::getcwd
61 #define QT_CHDIR ::chdir
62 #define QT_MKDIR ::mkdir
63 #define QT_RMDIR ::rmdir
64 #define QT_OPEN_RDONLY O_RDONLY
65 #define QT_OPEN_WRONLY O_WRONLY
66 #define QT_OPEN_RDWR O_RDWR
67 #define QT_OPEN_CREAT O_CREAT
68 #define QT_OPEN_TRUNC O_TRUNC
69 #define QT_OPEN_APPEND O_APPEND
70#endif
71
72 #define QT_SIGNAL_RETTYPEvoid
73 #define QT_SIGNAL_ARGS int
74 #define QT_SIGNAL_IGNORESIG_IGN
75
76 #define QT_SOCKLEN_T size_t
77
78 #define QT_SNPRINTF ::snprintf
79 #define QT_VSNPRINTF ::vsnprintf
80
81
82#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/qws/solaris-generic-g++/qmake.conf b/mkspecs/qws/solaris-generic-g++/qmake.conf
new file mode 100644
index 0000000..d9e0866
--- a/dev/null
+++ b/mkspecs/qws/solaris-generic-g++/qmake.conf
@@ -0,0 +1,76 @@
1#
2# $Id$
3#
4# qmake configuration for solaris-g++ with Qt/Embedded
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -pipe
17 QMAKE_CFLAGS_WARN_ON= -Wall -W
18 QMAKE_CFLAGS_WARN_OFF=
19 QMAKE_CFLAGS_RELEASE= -O2 -fno-default-inline
20 QMAKE_CFLAGS_DEBUG= -g
21 QMAKE_CFLAGS_SHLIB= -fPIC
22 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
23 QMAKE_CFLAGS_THREAD= -D_REENTRANT
24
25 QMAKE_CXX = g++
26 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -DQT_NO_SOUND -DQT_NO_QWS_LINUXFB -DQT_NO_QWS_TRANSFORMED -DQWS -fno-exceptions -fno-rtti
27 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
28 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
29 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
30 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
31 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
32 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
33 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
34
35 QMAKE_INCDIR =
36 QMAKE_LIBDIR =
37 QMAKE_INCDIR_X11=
38 QMAKE_LIBDIR_X11=
39 QMAKE_INCDIR_QT = $(QTDIR)/include
40 QMAKE_LIBDIR_QT = $(QTDIR)/lib
41 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
42 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
43
44 QMAKE_LINK = g++
45 QMAKE_LINK_SHLIB= g++
46 QMAKE_LFLAGS =
47 QMAKE_LFLAGS_RELEASE=
48 QMAKE_LFLAGS_DEBUG=
49 QMAKE_LFLAGS_SHLIB= -shared
50 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
51 QMAKE_LFLAGS_SONAME= -Wl,-soname,
52 QMAKE_LFLAGS_THREAD=
53 QMAKE_RPATH = -Wl,-rpath,
54
55 QMAKE_LIBS = -lsocket -lnsl -lresolv
56 QMAKE_LIBS_DYNLOAD= -ldl
57 QMAKE_LIBS_X11 =
58 QMAKE_LIBS_X11SM=
59 QMAKE_LIBS_QT = -lqte
60 QMAKE_LIBS_QT_THREAD= -lqte-mt
61 QMAKE_LIBS_QT_OPENGL= -lqgl
62 QMAKE_LIBS_THREAD= -lthread -lrt
63
64 QMAKE_MOC = $(QTDIR)/bin/moc
65 QMAKE_UIC = $(QTDIR)/bin/uic
66
67 QMAKE_AR = ar cq
68 QMAKE_RANLIB =
69
70 QMAKE_TAR = tar -cf
71 QMAKE_GZIP = gzip -9f
72
73 QMAKE_COPY = cp -f
74 QMAKE_MOVE = mv -f
75 QMAKE_DEL_FILE = rm -f
76 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/qws/solaris-generic-g++/qplatformdefs.h b/mkspecs/qws/solaris-generic-g++/qplatformdefs.h
new file mode 100644
index 0000000..a4ca615
--- a/dev/null
+++ b/mkspecs/qws/solaris-generic-g++/qplatformdefs.h
@@ -0,0 +1,110 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/filio.h>
30#include <sys/ipc.h>
31#include <sys/time.h>
32#include <sys/shm.h>
33#include <sys/socket.h>
34#include <sys/stat.h>
35#include <sys/wait.h>
36
37// DNS header files are not fully covered by X/Open specifications.
38// In particular nothing is said about res_* :/
39// On Solaris header files <netinet/in.h> and <arpa/nameser.h> are not
40// included by <resolv.h>. Note that <arpa/nameser.h> must be included
41// before <resolv.h>.
42#include <netinet/in.h>
43#include <arpa/nameser.h>
44#include <resolv.h>
45
46
47#if !defined(QT_NO_COMPAT)
48 #define QT_STATBUF struct stat
49 #define QT_STATBUF4TSTATstruct stat
50 #define QT_STAT ::stat
51 #define QT_FSTAT ::fstat
52 #define QT_STAT_REG S_IFREG
53 #define QT_STAT_DIR S_IFDIR
54 #define QT_STAT_MASK S_IFMT
55 #define QT_STAT_LNK S_IFLNK
56 #define QT_FILENO fileno
57 #define QT_OPEN ::open
58 #define QT_CLOSE ::close
59 #define QT_LSEEK ::lseek
60 #define QT_READ ::read
61 #define QT_WRITE ::write
62 #define QT_ACCESS ::access
63 #define QT_GETCWD ::getcwd
64 #define QT_CHDIR ::chdir
65 #define QT_MKDIR ::mkdir
66 #define QT_RMDIR ::rmdir
67 #define QT_OPEN_RDONLY O_RDONLY
68 #define QT_OPEN_WRONLY O_WRONLY
69 #define QT_OPEN_RDWR O_RDWR
70 #define QT_OPEN_CREAT O_CREAT
71 #define QT_OPEN_TRUNC O_TRUNC
72 #define QT_OPEN_APPEND O_APPEND
73#endif
74
75 #define QT_SIGNAL_RETTYPEvoid
76 #define QT_SIGNAL_ARGS int
77 #define QT_SIGNAL_IGNORESIG_IGN
78
79#if !defined(_XOPEN_UNIX)
80// Function usleep() is in C library but not in header files on Solaris 2.5.1.
81// Not really a surprise, usleep() is specified by XPG4v2 and XPG4v2 is only
82// supported by Solaris 2.6 and better.
83// So we are trying to detect Solaris 2.5.1 using macro _XOPEN_UNIX which is
84// not defined by <unistd.h> when XPG4v2 is not supported.
85typedef unsigned int useconds_t;
86extern "C" int usleep(useconds_t);
87#endif
88
89#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500) && (_XOPEN_VERSION-0 >= 500)
90// on Solaris 7 and better with specific feature test macros
91 #define QT_SOCKLEN_T socklen_t
92#elif defined(_XOPEN_SOURCE_EXTENDED) && defined(_XOPEN_UNIX)
93// on Solaris 2.6 and better with specific feature test macros
94 #define QT_SOCKLEN_T size_t
95#else
96// always this case in practice
97 #define QT_SOCKLEN_T int
98#endif
99
100#if defined(_XOPEN_UNIX)
101// Supported by Solaris 2.6 and better. XPG4v2 and XPG4v2 is also supported
102// by Solaris 2.6 and better. So we are trying to detect Solaris 2.6 using
103// macro _XOPEN_UNIX which is not defined by <unistd.h> when XPG4v2 is not
104// supported.
105 #define QT_SNPRINTF ::snprintf
106 #define QT_VSNPRINTF ::vsnprintf
107#endif
108
109
110#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/reliant-cds-64/qmake.conf b/mkspecs/reliant-cds-64/qmake.conf
new file mode 100644
index 0000000..1cc3088
--- a/dev/null
+++ b/mkspecs/reliant-cds-64/qmake.conf
@@ -0,0 +1,81 @@
1#
2# $Id$
3#
4# tmake configuration for Reliant UNIX 5.45 using the CDS++ C/C++ compiler V2.0C
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = cc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -Klp64
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -v
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -KPIC
23 QMAKE_CFLAGS_YACC=
24 QMAKE_CFLAGS_THREAD= -K pthread
25
26 QMAKE_CXX = CC
27 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11= /opt/X/include/X11
40 QMAKE_LIBDIR_X11= /opt/X/lib
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL=
44 QMAKE_LIBDIR_OPENGL=
45
46 QMAKE_LINK = CC
47 QMAKE_LINK_SHLIB= CC
48 QMAKE_LFLAGS = -Klp64
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHLIB= -G
52 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
53 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE
54 QMAKE_LFLAGS_THREAD= -K pthread
55 QMAKE_RPATH = -Wl,-Brpath=,
56
57 QMAKE_LIBS =
58 QMAKE_LIBS_DYNLOAD= -ldl
59 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl -lm
60 QMAKE_LIBS_X11SM= -lSM -lICE
61 QMAKE_LIBS_QT = -lqt
62 QMAKE_LIBS_QT_THREAD= -lqt-mt
63 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
64 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
65 QMAKE_LIBS_THREAD=
66
67 QMAKE_MOC = $(QTDIR)/bin/moc
68 QMAKE_UIC = $(QTDIR)/bin/uic
69
70 QMAKE_AR = CC -xar -o
71 QMAKE_RANLIB =
72
73 QMAKE_CLEAN = -r $(OBJECTS_DIR)/Templates.DB
74
75 QMAKE_TAR = tar -cf
76 QMAKE_GZIP = gzip -9f
77
78 QMAKE_COPY = cp -f
79 QMAKE_MOVE = mv -f
80 QMAKE_DEL_FILE = rm -f
81 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/reliant-cds-64/qplatformdefs.h b/mkspecs/reliant-cds-64/qplatformdefs.h
new file mode 100644
index 0000000..a6731b5
--- a/dev/null
+++ b/mkspecs/reliant-cds-64/qplatformdefs.h
@@ -0,0 +1,86 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/filio.h>
30#include <sys/ipc.h>
31#include <sys/time.h>
32#include <sys/shm.h>
33#include <sys/socket.h>
34#include <sys/stat.h>
35#include <sys/wait.h>
36
37// DNS header files are not fully covered by X/Open specifications.
38// In particular nothing is said about res_* :/
39#include <resolv.h>
40
41
42#if !defined(QT_NO_COMPAT)
43 #define QT_STATBUF struct stat
44 #define QT_STATBUF4TSTATstruct stat
45 #define QT_STAT ::stat
46 #define QT_FSTAT ::fstat
47 #define QT_STAT_REG S_IFREG
48 #define QT_STAT_DIR S_IFDIR
49 #define QT_STAT_MASK S_IFMT
50 #define QT_STAT_LNK S_IFLNK
51 #define QT_FILENO fileno
52 #define QT_OPEN ::open
53 #define QT_CLOSE ::close
54 #define QT_LSEEK ::lseek
55 #define QT_READ ::read
56 #define QT_WRITE ::write
57 #define QT_ACCESS ::access
58 #define QT_GETCWD ::getcwd
59 #define QT_CHDIR ::chdir
60 #define QT_MKDIR ::mkdir
61 #define QT_RMDIR ::rmdir
62 #define QT_OPEN_RDONLY O_RDONLY
63 #define QT_OPEN_WRONLY O_WRONLY
64 #define QT_OPEN_RDWR O_RDWR
65 #define QT_OPEN_CREAT O_CREAT
66 #define QT_OPEN_TRUNC O_TRUNC
67 #define QT_OPEN_APPEND O_APPEND
68#endif
69
70 #define QT_SIGNAL_RETTYPEvoid
71 #define QT_SIGNAL_ARGS int
72 #define QT_SIGNAL_IGNORESIG_IGN
73
74// on Reliant 5.45 and if __LP64__ *is* defined:
75// - socket functions use 'int'
76// - if _SOCKLEN_T is defined 'socklen_t' is typedef'ed to 'unsigned int'
77// which seems to be wrong so let's always use 'int' instead!
78 #define QT_SOCKLEN_T int
79
80#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE-0 >= 500)
81 #define QT_SNPRINTF ::snprintf
82 #define QT_VSNPRINTF ::vsnprintf
83#endif
84
85
86#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/reliant-cds/qmake.conf b/mkspecs/reliant-cds/qmake.conf
new file mode 100644
index 0000000..7bd074f
--- a/dev/null
+++ b/mkspecs/reliant-cds/qmake.conf
@@ -0,0 +1,81 @@
1#
2# $Id$
3#
4# tmake configuration for Reliant UNIX 5.45 using the CDS++ C/C++ compiler V2.0C
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = cc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS =
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -v
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -KPIC
23 QMAKE_CFLAGS_YACC=
24 QMAKE_CFLAGS_THREAD= -K pthread
25
26 QMAKE_CXX = CC
27 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11= /opt/X/include/X11
40 QMAKE_LIBDIR_X11= /opt/X/lib
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL=
44 QMAKE_LIBDIR_OPENGL=
45
46 QMAKE_LINK = CC
47 QMAKE_LINK_SHLIB= CC
48 QMAKE_LFLAGS =
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHLIB= -G
52 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
53 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE
54 QMAKE_LFLAGS_THREAD= -K pthread
55 QMAKE_RPATH = -Wl,-Brpath=,
56
57 QMAKE_LIBS =
58 QMAKE_LIBS_DYNLOAD= -ldl
59 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl -lm
60 QMAKE_LIBS_X11SM= -lSM -lICE
61 QMAKE_LIBS_QT = -lqt
62 QMAKE_LIBS_QT_THREAD= -lqt-mt
63 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
64 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
65 QMAKE_LIBS_THREAD=
66
67 QMAKE_MOC = $(QTDIR)/bin/moc
68 QMAKE_UIC = $(QTDIR)/bin/uic
69
70 QMAKE_AR = CC -xar -o
71 QMAKE_RANLIB =
72
73 QMAKE_CLEAN = -r $(OBJECTS_DIR)/Templates.DB
74
75 QMAKE_TAR = tar -cf
76 QMAKE_GZIP = gzip -9f
77
78 QMAKE_COPY = cp -f
79 QMAKE_MOVE = mv -f
80 QMAKE_DEL_FILE = rm -f
81 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/reliant-cds/qplatformdefs.h b/mkspecs/reliant-cds/qplatformdefs.h
new file mode 100644
index 0000000..76a9cfd
--- a/dev/null
+++ b/mkspecs/reliant-cds/qplatformdefs.h
@@ -0,0 +1,90 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/filio.h>
30#include <sys/ipc.h>
31#include <sys/time.h>
32#include <sys/shm.h>
33#include <sys/socket.h>
34#include <sys/stat.h>
35#include <sys/wait.h>
36
37// DNS header files are not fully covered by X/Open specifications.
38// In particular nothing is said about res_* :/
39#include <resolv.h>
40
41
42#if !defined(QT_NO_COMPAT)
43 #define QT_STATBUF struct stat
44 #define QT_STATBUF4TSTATstruct stat
45 #define QT_STAT ::stat
46 #define QT_FSTAT ::fstat
47 #define QT_STAT_REG S_IFREG
48 #define QT_STAT_DIR S_IFDIR
49 #define QT_STAT_MASK S_IFMT
50 #define QT_STAT_LNK S_IFLNK
51 #define QT_FILENO fileno
52 #define QT_OPEN ::open
53 #define QT_CLOSE ::close
54 #define QT_LSEEK ::lseek
55 #define QT_READ ::read
56 #define QT_WRITE ::write
57 #define QT_ACCESS ::access
58 #define QT_GETCWD ::getcwd
59 #define QT_CHDIR ::chdir
60 #define QT_MKDIR ::mkdir
61 #define QT_RMDIR ::rmdir
62 #define QT_OPEN_RDONLY O_RDONLY
63 #define QT_OPEN_WRONLY O_WRONLY
64 #define QT_OPEN_RDWR O_RDWR
65 #define QT_OPEN_CREAT O_CREAT
66 #define QT_OPEN_TRUNC O_TRUNC
67 #define QT_OPEN_APPEND O_APPEND
68#endif
69
70 #define QT_SIGNAL_RETTYPEvoid
71 #define QT_SIGNAL_ARGS int
72 #define QT_SIGNAL_IGNORESIG_IGN
73
74// on Reliant 5.45 and if __LP64__ is *not* defined:
75// - socket functions use 'size_t'
76// - if _SOCKLEN_T is defined 'socklen_t' is typedef'ed to 'size_t'
77// note that 'size_t' would always be a good choice in this context
78#if defined(_SOCKLEN_T)
79 # define QT_SOCKLEN_T socklen_t
80#else
81 # define QT_SOCKLEN_T size_t
82#endif
83
84#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) || (_XOPEN_SOURCE-0 >= 500)
85 #define QT_SNPRINTF ::snprintf
86 #define QT_VSNPRINTF ::vsnprintf
87#endif
88
89
90#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/sco-cc/qmake.conf b/mkspecs/sco-cc/qmake.conf
new file mode 100644
index 0000000..43388f0
--- a/dev/null
+++ b/mkspecs/sco-cc/qmake.conf
@@ -0,0 +1,81 @@
1#
2# $Id$
3#
4# qmake configuration for sco-cc
5#
6# -Wf,--diag_suppress,838
7 # turns off warning about missing return types in X headers
8#
9
10 MAKEFILE_GENERATOR= UNIX
11 TEMPLATE = app
12 CONFIG += qt warn_on release
13
14 QMAKE_CC = cc
15 QMAKE_LEX = flex
16 QMAKE_LEXFLAGS =
17 QMAKE_YACC = yacc
18 QMAKE_YACCFLAGS = -d
19 QMAKE_CFLAGS =
20 QMAKE_CFLAGS_WARN_ON=
21 QMAKE_CFLAGS_WARN_OFF= -w
22 QMAKE_CFLAGS_RELEASE= -O
23 QMAKE_CFLAGS_DEBUG= -g
24 QMAKE_CFLAGS_SHLIB= -KPIC
25 QMAKE_CFLAGS_YACC= -Wf,--diag_suppress,111 -Wf,--diag_suppress,177
26 QMAKE_CFLAGS_THREAD= -Kthread
27
28 QMAKE_CXX = CC
29 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -Wf,--display_error_number -Wf,--diag_suppress,838
30 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
31 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
32 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE -Tused
33 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
34 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
35 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
36 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
37
38 QMAKE_INCDIR =
39 QMAKE_LIBDIR =
40 QMAKE_INCDIR_X11=
41 QMAKE_LIBDIR_X11= /usr/X/lib
42 QMAKE_INCDIR_QT = $(QTDIR)/include
43 QMAKE_LIBDIR_QT = $(QTDIR)/lib
44 QMAKE_INCDIR_OPENGL=
45 QMAKE_LIBDIR_OPENGL=
46
47 QMAKE_LINK = CC
48 QMAKE_LINK_SHLIB= CC
49 QMAKE_LFLAGS =
50 QMAKE_LFLAGS_RELEASE=
51 QMAKE_LFLAGS_DEBUG=
52 QMAKE_LFLAGS_SHLIB= -G
53 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
54 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE
55 QMAKE_LFLAGS_THREAD= -Kthread
56
57 QMAKE_LIBS =
58 QMAKE_LIBS_DYNLOAD= -ldl
59 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl -lm
60 QMAKE_LIBS_X11SM= -lSM -lICE
61 QMAKE_LIBS_QT = -lqt
62 QMAKE_LIBS_QT_THREAD= -lqt-mt
63
64 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu -lXt -lSM -lICE
65 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
66
67 QMAKE_LIBS_THREAD=
68
69 QMAKE_MOC = $(QTDIR)/bin/moc
70 QMAKE_UIC = $(QTDIR)/bin/uic
71
72 QMAKE_AR = ar cqs
73 QMAKE_RANLIB =
74
75 QMAKE_TAR = tar -cf
76 QMAKE_GZIP = gzip -9f
77
78 QMAKE_COPY = cp -f
79 QMAKE_MOVE = mv -f
80 QMAKE_DEL_FILE = rm -f
81 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/sco-cc/qplatformdefs.h b/mkspecs/sco-cc/qplatformdefs.h
new file mode 100644
index 0000000..4201ed6
--- a/dev/null
+++ b/mkspecs/sco-cc/qplatformdefs.h
@@ -0,0 +1,89 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10// This is to have PATH_MAX defined in <limits.h>
11#ifndef _IBCS2
12# define _IBCS2
13#endif
14
15#include <unistd.h>
16
17
18// We are hot - unistd.h should have turned on the specific APIs we requested
19
20
21#ifdef QT_THREAD_SUPPORT
22#include <pthread.h>
23#endif
24
25#include <dirent.h>
26#include <fcntl.h>
27#include <grp.h>
28#include <pwd.h>
29#include <signal.h>
30#include <dlfcn.h>
31
32#include <sys/types.h>
33#include <sys/ioctl.h>
34#include <sys/ipc.h>
35#include <sys/time.h>
36#include <sys/shm.h>
37#include <sys/socket.h>
38#include <sys/stat.h>
39#include <sys/wait.h>
40
41// DNS header files are not fully covered by X/Open specifications.
42// In particular nothing is said about res_* :/
43// On Unixware header files <netinet/in.h> and <arpa/nameser.h> are not
44// included by <resolv.h>. Note that <arpa/nameser.h> must be included
45// before <resolv.h>.
46#include <netinet/in.h>
47#include <arpa/nameser.h>
48#include <resolv.h>
49
50
51#if !defined(QT_NO_COMPAT)
52 #define QT_STATBUF struct stat
53 #define QT_STATBUF4TSTATstruct stat
54 #define QT_STAT ::stat
55 #define QT_FSTAT ::fstat
56 #define QT_STAT_REG S_IFREG
57 #define QT_STAT_DIR S_IFDIR
58 #define QT_STAT_MASK S_IFMT
59 #define QT_STAT_LNK S_IFLNK
60 #define QT_FILENO fileno
61 #define QT_OPEN ::open
62 #define QT_CLOSE ::close
63 #define QT_LSEEK ::lseek
64 #define QT_READ ::read
65 #define QT_WRITE ::write
66 #define QT_ACCESS ::access
67 #define QT_GETCWD ::getcwd
68 #define QT_CHDIR ::chdir
69 #define QT_MKDIR ::mkdir
70 #define QT_RMDIR ::rmdir
71 #define QT_OPEN_RDONLY O_RDONLY
72 #define QT_OPEN_WRONLY O_WRONLY
73 #define QT_OPEN_RDWR O_RDWR
74 #define QT_OPEN_CREAT O_CREAT
75 #define QT_OPEN_TRUNC O_TRUNC
76 #define QT_OPEN_APPEND O_APPEND
77#endif
78
79 #define QT_SIGNAL_RETTYPEvoid
80 #define QT_SIGNAL_ARGS int
81 #define QT_SIGNAL_IGNORESIG_IGN
82
83 #define QT_SOCKLEN_T int
84
85 #define QT_SNPRINTF ::snprintf
86 #define QT_VSNPRINTF ::vsnprintf
87
88
89#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/sco-g++/qmake.conf b/mkspecs/sco-g++/qmake.conf
new file mode 100644
index 0000000..8a4fb62
--- a/dev/null
+++ b/mkspecs/sco-g++/qmake.conf
@@ -0,0 +1,76 @@
1#
2# $Id$
3#
4# qmake configuration for sco-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS =
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -fPIC
23 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
24 QMAKE_CFLAGS_THREAD= -D_REENTRANT
25
26 QMAKE_CXX = g++
27 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11=
40 QMAKE_LIBDIR_X11=
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL=
44 QMAKE_LIBDIR_OPENGL=
45
46 QMAKE_LINK = g++
47 QMAKE_LINK_SHLIB= g++
48 QMAKE_LFLAGS =
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHLIB= -G
52 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
53 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE
54 QMAKE_RPATH =
55
56 QMAKE_LIBS =
57 QMAKE_LIBS_DYNLOAD= -ldl
58 QMAKE_LIBS_X11 = -lXext -lX11 -lsocket -lm
59 QMAKE_LIBS_QT = -lqt
60
61 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
62 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
63
64 QMAKE_MOC = $(QTDIR)/bin/moc
65 QMAKE_UIC = $(QTDIR)/bin/uic
66
67 QMAKE_AR = ar cqs
68 QMAKE_RANLIB =
69
70 QMAKE_TAR = tar -cf
71 QMAKE_GZIP = gzip -9f
72
73 QMAKE_COPY = cp -f
74 QMAKE_MOVE = mv -f
75 QMAKE_DEL_FILE = rm -f
76 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/sco-g++/qplatformdefs.h b/mkspecs/sco-g++/qplatformdefs.h
new file mode 100644
index 0000000..0fc27cb
--- a/dev/null
+++ b/mkspecs/sco-g++/qplatformdefs.h
@@ -0,0 +1,91 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10// This is to have PATH_MAX defined in <limits.h>
11#ifndef _IBCS2
12# define _IBCS2
13#endif
14
15#include <unistd.h>
16
17
18// We are hot - unistd.h should have turned on the specific APIs we requested
19
20
21#ifdef QT_THREAD_SUPPORT
22#include <pthread.h>
23#endif
24
25#include <dirent.h>
26#include <fcntl.h>
27#include <grp.h>
28#include <pwd.h>
29#include <signal.h>
30#include <dlfcn.h>
31
32#include <sys/types.h>
33#include <sys/ioctl.h>
34#include <sys/ipc.h>
35#include <sys/time.h>
36#include <sys/shm.h>
37#include <sys/socket.h>
38#include <sys/stat.h>
39#include <sys/wait.h>
40
41// DNS header files are not fully covered by X/Open specifications.
42// In particular nothing is said about res_* :/
43// On Unixware header files <netinet/in.h> and <arpa/nameser.h> are not
44// included by <resolv.h>. Note that <arpa/nameser.h> must be included
45// before <resolv.h>.
46#include <netinet/in.h>
47#define class r_class // SCO OpenServer 5.0.6
48#include <arpa/nameser.h>
49#undef class
50#include <resolv.h>
51
52
53#if !defined(QT_NO_COMPAT)
54 #define QT_STATBUF struct stat
55 #define QT_STATBUF4TSTATstruct stat
56 #define QT_STAT ::stat
57 #define QT_FSTAT ::fstat
58 #define QT_STAT_REG S_IFREG
59 #define QT_STAT_DIR S_IFDIR
60 #define QT_STAT_MASK S_IFMT
61 #define QT_STAT_LNK S_IFLNK
62 #define QT_FILENO fileno
63 #define QT_OPEN ::open
64 #define QT_CLOSE ::close
65 #define QT_LSEEK ::lseek
66 #define QT_READ ::read
67 #define QT_WRITE ::write
68 #define QT_ACCESS ::access
69 #define QT_GETCWD ::getcwd
70 #define QT_CHDIR ::chdir
71 #define QT_MKDIR ::mkdir
72 #define QT_RMDIR ::rmdir
73 #define QT_OPEN_RDONLY O_RDONLY
74 #define QT_OPEN_WRONLY O_WRONLY
75 #define QT_OPEN_RDWR O_RDWR
76 #define QT_OPEN_CREAT O_CREAT
77 #define QT_OPEN_TRUNC O_TRUNC
78 #define QT_OPEN_APPEND O_APPEND
79#endif
80
81 #define QT_SIGNAL_RETTYPEvoid
82 #define QT_SIGNAL_ARGS int
83 #define QT_SIGNAL_IGNORESIG_IGN
84
85 #define QT_SOCKLEN_T int
86
87 #define QT_SNPRINTF ::snprintf
88 #define QT_VSNPRINTF ::vsnprintf
89
90
91#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/solaris-cc-64/qmake.conf b/mkspecs/solaris-cc-64/qmake.conf
new file mode 100644
index 0000000..17b26b0
--- a/dev/null
+++ b/mkspecs/solaris-cc-64/qmake.conf
@@ -0,0 +1,100 @@
1#
2# $Id$
3#
4# qmake configuration for Sun WorkShop 5.0, Forte Developer 6,
5 # and Sun ONE Studio 7 on Solaris
6#
7# From the standards(5) manual page:
8 # The XNS4 specification is safe for use only in ILP32 (32-bit)
9 # environments and should not be used for LP64 (64-bit)
10 # application environments. Use XNS5, which has LP64-clean
11 # interfaces that are portable across ILP32 and LP64 environments.
12 # [...]
13 # For platforms supporting the LP64 (64-bit) programming environment
14 # where the SC5.0 Compilers have been installed, SUSv2-conforming LP64
15 # applications using XNS5 library calls should be built with command
16 # lines of the form:
17 # c89 $(getconf XBS5_LP64_OFF64_CFLAGS) -D_XOPEN_SOURCE=500 \
18 # $(getconf XBS5_LP64_OFF64_LDFLAGS) foo.c -o foo \
19 # $(getconf XBS5_LP64_OFF64_LIBS) -lxnet
20# So it appears that _XOPEN_SOURCE=500 should be defined when building
21# 64-bit applications (on Solaris 7 and better). But then __EXTENSIONS__
22# should be defined as well to recover all the default system interface.
23#
24
25 MAKEFILE_GENERATOR= UNIX
26 TEMPLATE = app
27 CONFIG += qt warn_on release
28
29 QMAKE_CC = cc
30 QMAKE_LEX = flex
31 QMAKE_LEXFLAGS =
32 QMAKE_YACC = yacc
33 QMAKE_YACCFLAGS = -d
34 QMAKE_CFLAGS = -xarch=v9 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
35 QMAKE_CFLAGS_DEPS= -xM
36 QMAKE_CFLAGS_WARN_ON=
37 QMAKE_CFLAGS_WARN_OFF= -w
38 QMAKE_CFLAGS_RELEASE= -O
39 QMAKE_CFLAGS_DEBUG= -g
40 QMAKE_CFLAGS_SHLIB= -KPIC
41 QMAKE_CFLAGS_YACC=
42 QMAKE_CFLAGS_THREAD= -mt
43
44 QMAKE_CXX = CC
45 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
46 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
47 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
48 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
49 QMAKE_CXXFLAGS_RELEASE= -O2
50 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
51 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
52 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
53 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
54
55 QMAKE_INCDIR =
56 QMAKE_LIBDIR =
57 QMAKE_INCDIR_X11= /usr/openwin/include
58 QMAKE_LIBDIR_X11= /usr/openwin/lib
59 QMAKE_INCDIR_QT = $(QTDIR)/include
60 QMAKE_LIBDIR_QT = $(QTDIR)/lib
61 QMAKE_INCDIR_OPENGL= /usr/openwin/include
62 QMAKE_LIBDIR_OPENGL= /usr/openwin/lib
63
64 QMAKE_LINK = CC
65 QMAKE_LINK_SHLIB= CC
66 QMAKE_LFLAGS = -xarch=v9
67 QMAKE_LFLAGS_RELEASE=
68 QMAKE_LFLAGS_DEBUG=
69 QMAKE_LFLAGS_SHLIB= -G
70 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
71 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE
72 QMAKE_LFLAGS_THREAD= -mt
73 QMAKE_RPATH = -R
74
75 QMAKE_LIBS =
76 QMAKE_LIBS_DYNLOAD= -ldl
77 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl
78 QMAKE_LIBS_X11SM= -lSM -lICE
79 QMAKE_LIBS_NIS =
80 QMAKE_LIBS_QT = -lqt
81 QMAKE_LIBS_QT_THREAD= -lqt-mt
82 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
83 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
84 QMAKE_LIBS_THREAD= -lpthread
85
86 QMAKE_MOC = $(QTDIR)/bin/moc
87 QMAKE_UIC = $(QTDIR)/bin/uic
88
89 QMAKE_AR = CC -xar -o
90 QMAKE_RANLIB =
91
92 QMAKE_CLEAN = -r $(OBJECTS_DIR)Templates.DB $(OBJECTS_DIR)SunWS_cache
93
94 QMAKE_TAR = tar -cf
95 QMAKE_GZIP = gzip -9f
96
97 QMAKE_COPY = cp -f
98 QMAKE_MOVE = mv -f
99 QMAKE_DEL_FILE = rm -f
100 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/solaris-cc-64/qplatformdefs.h b/mkspecs/solaris-cc-64/qplatformdefs.h
new file mode 100644
index 0000000..30bc56d
--- a/dev/null
+++ b/mkspecs/solaris-cc-64/qplatformdefs.h
@@ -0,0 +1,87 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/filio.h>
30#include <sys/ipc.h>
31#include <sys/time.h>
32#include <sys/shm.h>
33#include <sys/socket.h>
34#include <sys/stat.h>
35#include <sys/wait.h>
36
37// DNS header files are not fully covered by X/Open specifications.
38// In particular nothing is said about res_* :/
39// On Solaris header files <netinet/in.h> and <arpa/nameser.h> are not
40// included by <resolv.h>. Note that <arpa/nameser.h> must be included
41// before <resolv.h>.
42#include <netinet/in.h>
43#include <arpa/nameser.h>
44#include <resolv.h>
45
46
47#if !defined(QT_NO_COMPAT)
48 #define QT_STATBUF struct stat
49 #define QT_STATBUF4TSTATstruct stat
50 #define QT_STAT ::stat
51 #define QT_FSTAT ::fstat
52 #define QT_STAT_REG S_IFREG
53 #define QT_STAT_DIR S_IFDIR
54 #define QT_STAT_MASK S_IFMT
55 #define QT_STAT_LNK S_IFLNK
56 #define QT_FILENO fileno
57 #define QT_OPEN ::open
58 #define QT_CLOSE ::close
59 #define QT_LSEEK ::lseek
60 #define QT_READ ::read
61 #define QT_WRITE ::write
62 #define QT_ACCESS ::access
63 #define QT_GETCWD ::getcwd
64 #define QT_CHDIR ::chdir
65 #define QT_MKDIR ::mkdir
66 #define QT_RMDIR ::rmdir
67 #define QT_OPEN_RDONLY O_RDONLY
68 #define QT_OPEN_WRONLY O_WRONLY
69 #define QT_OPEN_RDWR O_RDWR
70 #define QT_OPEN_CREAT O_CREAT
71 #define QT_OPEN_TRUNC O_TRUNC
72 #define QT_OPEN_APPEND O_APPEND
73#endif
74
75 #define QT_SIGNAL_RETTYPEvoid
76 #define QT_SIGNAL_ARGS int
77 #define QT_SIGNAL_IGNORESIG_IGN
78
79// On 64-bit platforms (Solaris 7 and better) sockets use socklen_t.
80 #define QT_SOCKLEN_T socklen_t
81
82// Supported on 64-bit platforms (Solaris 7 and better).
83 #define QT_SNPRINTF ::snprintf
84 #define QT_VSNPRINTF ::vsnprintf
85
86
87#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/solaris-cc/qmake.conf b/mkspecs/solaris-cc/qmake.conf
new file mode 100644
index 0000000..0aa1097
--- a/dev/null
+++ b/mkspecs/solaris-cc/qmake.conf
@@ -0,0 +1,83 @@
1#
2# $Id$
3#
4# qmake configuration for Sun WorkShop 5.0, Forte Developer 6,
5 # and Sun ONE Studio 7 on Solaris
6#
7
8 MAKEFILE_GENERATOR= UNIX
9 TEMPLATE = app
10 CONFIG += qt warn_on release
11
12 QMAKE_CC = cc
13 QMAKE_LEX = flex
14 QMAKE_LEXFLAGS =
15 QMAKE_YACC = yacc
16 QMAKE_YACCFLAGS = -d
17 QMAKE_CFLAGS =
18 QMAKE_CFLAGS_DEPS= -xM
19 QMAKE_CFLAGS_WARN_ON=
20 QMAKE_CFLAGS_WARN_OFF= -w
21 QMAKE_CFLAGS_RELEASE= -O
22 QMAKE_CFLAGS_DEBUG= -g
23 QMAKE_CFLAGS_SHLIB= -KPIC
24 QMAKE_CFLAGS_YACC=
25 QMAKE_CFLAGS_THREAD= -mt
26
27 QMAKE_CXX = CC
28 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
29 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
30 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
31 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
32 QMAKE_CXXFLAGS_RELEASE= -O2
33 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
34 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
35 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
36 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
37
38 QMAKE_INCDIR =
39 QMAKE_LIBDIR =
40 QMAKE_INCDIR_X11= /usr/openwin/include
41 QMAKE_LIBDIR_X11= /usr/openwin/lib
42 QMAKE_INCDIR_QT = $(QTDIR)/include
43 QMAKE_LIBDIR_QT = $(QTDIR)/lib
44 QMAKE_INCDIR_OPENGL= /usr/openwin/include
45 QMAKE_LIBDIR_OPENGL= /usr/openwin/lib
46
47 QMAKE_LINK = CC
48 QMAKE_LINK_SHLIB= CC
49 QMAKE_LFLAGS = -R$(QTDIR)/lib
50 QMAKE_LFLAGS_RELEASE=
51 QMAKE_LFLAGS_DEBUG=
52 QMAKE_LFLAGS_SHLIB= -G
53 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
54 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE
55 QMAKE_LFLAGS_THREAD= -mt
56 QMAKE_RPATH = -R
57
58 QMAKE_LIBS =
59 QMAKE_LIBS_DYNLOAD= -ldl
60 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl
61 QMAKE_LIBS_X11SM= -lSM -lICE
62 QMAKE_LIBS_NIS =
63 QMAKE_LIBS_QT = -lqt
64 QMAKE_LIBS_QT_THREAD= -lqt-mt
65 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
66 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
67 QMAKE_LIBS_THREAD= -lpthread
68
69 QMAKE_MOC = $(QTDIR)/bin/moc
70 QMAKE_UIC = $(QTDIR)/bin/uic
71
72 QMAKE_AR = CC -xar -o
73 QMAKE_RANLIB =
74
75 QMAKE_CLEAN = -r $(OBJECTS_DIR)Templates.DB $(OBJECTS_DIR)SunWS_cache
76
77 QMAKE_TAR = tar -cf
78 QMAKE_GZIP = gzip -9f
79
80 QMAKE_COPY = cp -f
81 QMAKE_MOVE = mv -f
82 QMAKE_DEL_FILE = rm -f
83 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/solaris-cc/qplatformdefs.h b/mkspecs/solaris-cc/qplatformdefs.h
new file mode 100644
index 0000000..f9480a9
--- a/dev/null
+++ b/mkspecs/solaris-cc/qplatformdefs.h
@@ -0,0 +1,110 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/filio.h>
30#include <sys/ipc.h>
31#include <sys/time.h>
32#include <sys/shm.h>
33#include <sys/socket.h>
34#include <sys/stat.h>
35#include <sys/wait.h>
36
37// DNS header files are not fully covered by X/Open specifications.
38// In particular nothing is said about res_* :/
39// On Solaris header files <netinet/in.h> and <arpa/nameser.h> are not
40// included by <resolv.h>. Note that <arpa/nameser.h> must be included
41// before <resolv.h>.
42#include <netinet/in.h>
43#include <arpa/nameser.h>
44#include <resolv.h>
45
46
47#if !defined(QT_NO_COMPAT)
48 #define QT_STATBUF struct stat
49 #define QT_STATBUF4TSTATstruct stat
50 #define QT_STAT ::stat
51 #define QT_FSTAT ::fstat
52 #define QT_STAT_REG S_IFREG
53 #define QT_STAT_DIR S_IFDIR
54 #define QT_STAT_MASK S_IFMT
55 #define QT_STAT_LNK S_IFLNK
56 #define QT_FILENO fileno
57 #define QT_OPEN ::open
58 #define QT_CLOSE ::close
59 #define QT_LSEEK ::lseek
60 #define QT_READ ::read
61 #define QT_WRITE ::write
62 #define QT_ACCESS ::access
63 #define QT_GETCWD ::getcwd
64 #define QT_CHDIR ::chdir
65 #define QT_MKDIR ::mkdir
66 #define QT_RMDIR ::rmdir
67 #define QT_OPEN_RDONLY O_RDONLY
68 #define QT_OPEN_WRONLY O_WRONLY
69 #define QT_OPEN_RDWR O_RDWR
70 #define QT_OPEN_CREAT O_CREAT
71 #define QT_OPEN_TRUNC O_TRUNC
72 #define QT_OPEN_APPEND O_APPEND
73#endif
74
75 #define QT_SIGNAL_RETTYPEvoid
76 #define QT_SIGNAL_ARGS int
77 #define QT_SIGNAL_IGNORESIG_IGN
78
79#if !defined(_XOPEN_UNIX)
80// Function usleep() is in C library but not in header files on Solaris 2.5.1.
81// Not really a surprise, usleep() is specified by XPG4v2 and XPG4v2 is only
82// supported by Solaris 2.6 and better.
83// So we are trying to detect Solaris 2.5.1 using macro _XOPEN_UNIX which is
84// not defined by <unistd.h> when XPG4v2 is not supported.
85typedef unsigned int useconds_t;
86extern "C" int usleep(useconds_t);
87#endif
88
89#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500) && (_XOPEN_VERSION-0 >= 500)
90// on Solaris 7 and better with specific feature test macros
91 #define QT_SOCKLEN_T socklen_t
92#elif defined(_XOPEN_SOURCE_EXTENDED) && (_XOPEN_VERSION-0 >= 4)
93// on Solaris 2.6 and better with specific feature test macros
94 #define QT_SOCKLEN_T size_t
95#else
96// always this case in practice
97 #define QT_SOCKLEN_T int
98#endif
99
100#if defined(_XOPEN_UNIX)
101// Supported by Solaris 2.6 and better. XPG4v2 and XPG4v2 is also supported
102// by Solaris 2.6 and better. So we are trying to detect Solaris 2.6 using
103// macro _XOPEN_UNIX which is not defined by <unistd.h> when XPG4v2 is not
104// supported.
105 #define QT_SNPRINTF ::snprintf
106 #define QT_VSNPRINTF ::vsnprintf
107#endif
108
109
110#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/solaris-g++-64/qmake.conf b/mkspecs/solaris-g++-64/qmake.conf
new file mode 100644
index 0000000..05853ad
--- a/dev/null
+++ b/mkspecs/solaris-g++-64/qmake.conf
@@ -0,0 +1,103 @@
1#
2# $Id$
3#
4# qmake configuration for solaris-g++64
5#
6# The X11 header files used to be broken on Solaris until patches were
7# released in early 2001 for Solaris 2.6, 7, and 8. On Solaris 2.5.1
8# or non-patched systems -fpermissive works around the incompatibility
9# between GCC 2.95 or better and Solaris - but we still get warnings
10# because we don't use -isystem.
11#
12# From the standards(5) manual page:
13 # The XNS4 specification is safe for use only in ILP32 (32-bit)
14 # environments and should not be used for LP64 (64-bit)
15 # application environments. Use XNS5, which has LP64-clean
16 # interfaces that are portable across ILP32 and LP64 environments.
17 # [...]
18 # For platforms supporting the LP64 (64-bit) programming environment
19 # where the SC5.0 Compilers have been installed, SUSv2-conforming LP64
20 # applications using XNS5 library calls should be built with command
21 # lines of the form:
22 # c89 $(getconf XBS5_LP64_OFF64_CFLAGS) -D_XOPEN_SOURCE=500 \
23 # $(getconf XBS5_LP64_OFF64_LDFLAGS) foo.c -o foo \
24 # $(getconf XBS5_LP64_OFF64_LIBS) -lxnet
25# So it appears that _XOPEN_SOURCE=500 should be defined when building
26# 64-bit applications (on Solaris 7 and better). But then __EXTENSIONS__
27# should be defined as well to recover all the default system interface.
28#
29
30 MAKEFILE_GENERATOR= UNIX
31 TEMPLATE = app
32 CONFIG += qt warn_on release
33
34 QMAKE_CC = gcc
35 QMAKE_LEX = flex
36 QMAKE_LEXFLAGS =
37 QMAKE_YACC = yacc
38 QMAKE_YACCFLAGS = -d
39 QMAKE_CFLAGS = -m64 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
40 QMAKE_CFLAGS_DEPS= -M
41 QMAKE_CFLAGS_WARN_ON= -Wall -W
42 QMAKE_CFLAGS_WARN_OFF= -w
43 QMAKE_CFLAGS_RELEASE= -O2
44 QMAKE_CFLAGS_DEBUG= -g
45 QMAKE_CFLAGS_SHLIB= -fPIC
46 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
47 QMAKE_CFLAGS_THREAD= -D_REENTRANT
48
49 QMAKE_CXX = g++
50 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
51 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
52 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
53 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
54 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
55 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
56 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
57 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
58 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
59
60 QMAKE_INCDIR =
61 QMAKE_LIBDIR =
62 QMAKE_INCDIR_X11= /usr/openwin/include
63 QMAKE_LIBDIR_X11= /usr/openwin/lib
64 QMAKE_INCDIR_QT = $(QTDIR)/include
65 QMAKE_LIBDIR_QT = $(QTDIR)/lib
66 QMAKE_INCDIR_OPENGL= /usr/openwin/include
67 QMAKE_LIBDIR_OPENGL= /usr/openwin/lib
68
69 QMAKE_LINK = g++
70 QMAKE_LINK_SHLIB= g++
71 QMAKE_LFLAGS = -m64
72 QMAKE_LFLAGS_RELEASE=
73 QMAKE_LFLAGS_DEBUG= -g
74 QMAKE_LFLAGS_SHLIB= -shared
75 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
76 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE
77 QMAKE_LFLAGS_THREAD=
78 QMAKE_RPATH = -Wl,-R,
79
80 QMAKE_LIBS =
81 QMAKE_LIBS_DYNLOAD= -ldl
82 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl
83 QMAKE_LIBS_X11SM= -lSM -lICE
84 QMAKE_LIBS_NIS =
85 QMAKE_LIBS_QT = -lqt
86 QMAKE_LIBS_QT_THREAD= -lqt-mt
87 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
88 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
89 QMAKE_LIBS_THREAD= -lthread
90
91 QMAKE_MOC = $(QTDIR)/bin/moc
92 QMAKE_UIC = $(QTDIR)/bin/uic
93
94 QMAKE_AR = ar cq
95 QMAKE_RANLIB =
96
97 QMAKE_TAR = tar -cf
98 QMAKE_GZIP = gzip -9f
99
100 QMAKE_COPY = cp -f
101 QMAKE_MOVE = mv -f
102 QMAKE_DEL_FILE = rm -f
103 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/solaris-g++-64/qplatformdefs.h b/mkspecs/solaris-g++-64/qplatformdefs.h
new file mode 100644
index 0000000..e8e43d9
--- a/dev/null
+++ b/mkspecs/solaris-g++-64/qplatformdefs.h
@@ -0,0 +1,84 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <thread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25
26#include <sys/types.h>
27#include <sys/ioctl.h>
28#include <sys/filio.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/shm.h>
32#include <sys/socket.h>
33#include <sys/stat.h>
34#include <sys/wait.h>
35
36// DNS header files are not fully covered by X/Open specifications.
37// In particular nothing is said about res_* :/
38// On Solaris header files <netinet/in.h> and <arpa/nameser.h> are not
39// included by <resolv.h>. Note that <arpa/nameser.h> must be included
40// before <resolv.h>.
41#include <netinet/in.h>
42#include <arpa/nameser.h>
43#include <resolv.h>
44
45
46 #define QT_STATBUF struct stat
47 #define QT_STATBUF4TSTATstruct stat
48 #define QT_STAT ::stat
49 #define QT_FSTAT ::fstat
50 #define QT_STAT_REG S_IFREG
51 #define QT_STAT_DIR S_IFDIR
52 #define QT_STAT_MASK S_IFMT
53 #define QT_STAT_LNK S_IFLNK
54 #define QT_FILENO fileno
55 #define QT_OPEN ::open
56 #define QT_CLOSE ::close
57 #define QT_LSEEK ::lseek
58 #define QT_READ ::read
59 #define QT_WRITE ::write
60 #define QT_ACCESS ::access
61 #define QT_GETCWD ::getcwd
62 #define QT_CHDIR ::chdir
63 #define QT_MKDIR ::mkdir
64 #define QT_RMDIR ::rmdir
65 #define QT_OPEN_RDONLY O_RDONLY
66 #define QT_OPEN_WRONLY O_WRONLY
67 #define QT_OPEN_RDWR O_RDWR
68 #define QT_OPEN_CREAT O_CREAT
69 #define QT_OPEN_TRUNC O_TRUNC
70 #define QT_OPEN_APPEND O_APPEND
71
72 #define QT_SIGNAL_RETTYPEvoid
73 #define QT_SIGNAL_ARGS int
74 #define QT_SIGNAL_IGNORESIG_IGN
75
76// On 64-bit platforms (Solaris 7 and better) sockets use socklen_t.
77 #define QT_SOCKLEN_T socklen_t
78
79// Supported on 64-bit platforms (Solaris 7 and better).
80 #define QT_SNPRINTF ::snprintf
81 #define QT_VSNPRINTF ::vsnprintf
82
83
84#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/solaris-g++/qmake.conf b/mkspecs/solaris-g++/qmake.conf
new file mode 100644
index 0000000..c2b4709
--- a/dev/null
+++ b/mkspecs/solaris-g++/qmake.conf
@@ -0,0 +1,86 @@
1#
2# $Id$
3#
4# qmake configuration for solaris-g++
5#
6# The X11 header files used to be broken on Solaris until patches were
7# released in early 2001 for Solaris 2.6, 7, and 8. On Solaris 2.5.1
8# or non-patched systems -fpermissive works around the incompatibility
9# between GCC 2.95 or better and Solaris - but we still get warnings
10# because we don't use -isystem.
11#
12
13 MAKEFILE_GENERATOR= UNIX
14 TEMPLATE = app
15 CONFIG += qt warn_on release
16
17 QMAKE_CC = gcc
18 QMAKE_LEX = flex
19 QMAKE_LEXFLAGS =
20 QMAKE_YACC = yacc
21 QMAKE_YACCFLAGS = -d
22 QMAKE_CFLAGS =
23 QMAKE_CFLAGS_DEPS= -M
24 QMAKE_CFLAGS_WARN_ON= -Wall -W
25 QMAKE_CFLAGS_WARN_OFF= -w
26 QMAKE_CFLAGS_RELEASE= -O2
27 QMAKE_CFLAGS_DEBUG= -g
28 QMAKE_CFLAGS_SHLIB= -fPIC
29 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
30 QMAKE_CFLAGS_THREAD= -D_REENTRANT
31
32 QMAKE_CXX = g++
33 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
34 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
35 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
36 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
37 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
38 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
39 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
40 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
41 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
42
43 QMAKE_INCDIR =
44 QMAKE_LIBDIR =
45 QMAKE_INCDIR_X11= /usr/openwin/include
46 QMAKE_LIBDIR_X11= /usr/openwin/lib
47 QMAKE_INCDIR_QT = $(QTDIR)/include
48 QMAKE_LIBDIR_QT = $(QTDIR)/lib
49 QMAKE_INCDIR_OPENGL= /usr/openwin/include
50 QMAKE_LIBDIR_OPENGL= /usr/openwin/lib
51
52 QMAKE_LINK = g++
53 QMAKE_LINK_SHLIB= g++
54 QMAKE_LFLAGS =
55 QMAKE_LFLAGS_RELEASE=
56 QMAKE_LFLAGS_DEBUG= -g
57 QMAKE_LFLAGS_SHLIB= -shared
58 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
59 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE
60 QMAKE_LFLAGS_THREAD=
61 QMAKE_RPATH = -Wl,-R,
62
63 QMAKE_LIBS =
64 QMAKE_LIBS_DYNLOAD= -ldl
65 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl
66 QMAKE_LIBS_X11SM= -lSM -lICE
67 QMAKE_LIBS_NIS =
68 QMAKE_LIBS_QT = -lqt
69 QMAKE_LIBS_QT_THREAD= -lqt-mt
70 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
71 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
72 QMAKE_LIBS_THREAD= -lpthread
73
74 QMAKE_MOC = $(QTDIR)/bin/moc
75 QMAKE_UIC = $(QTDIR)/bin/uic
76
77 QMAKE_AR = ar cq
78 QMAKE_RANLIB =
79
80 QMAKE_TAR = tar -cf
81 QMAKE_GZIP = gzip -9f
82
83 QMAKE_COPY = cp -f
84 QMAKE_MOVE = mv -f
85 QMAKE_DEL_FILE = rm -f
86 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/solaris-g++/qplatformdefs.h b/mkspecs/solaris-g++/qplatformdefs.h
new file mode 100644
index 0000000..a4ca615
--- a/dev/null
+++ b/mkspecs/solaris-g++/qplatformdefs.h
@@ -0,0 +1,110 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/filio.h>
30#include <sys/ipc.h>
31#include <sys/time.h>
32#include <sys/shm.h>
33#include <sys/socket.h>
34#include <sys/stat.h>
35#include <sys/wait.h>
36
37// DNS header files are not fully covered by X/Open specifications.
38// In particular nothing is said about res_* :/
39// On Solaris header files <netinet/in.h> and <arpa/nameser.h> are not
40// included by <resolv.h>. Note that <arpa/nameser.h> must be included
41// before <resolv.h>.
42#include <netinet/in.h>
43#include <arpa/nameser.h>
44#include <resolv.h>
45
46
47#if !defined(QT_NO_COMPAT)
48 #define QT_STATBUF struct stat
49 #define QT_STATBUF4TSTATstruct stat
50 #define QT_STAT ::stat
51 #define QT_FSTAT ::fstat
52 #define QT_STAT_REG S_IFREG
53 #define QT_STAT_DIR S_IFDIR
54 #define QT_STAT_MASK S_IFMT
55 #define QT_STAT_LNK S_IFLNK
56 #define QT_FILENO fileno
57 #define QT_OPEN ::open
58 #define QT_CLOSE ::close
59 #define QT_LSEEK ::lseek
60 #define QT_READ ::read
61 #define QT_WRITE ::write
62 #define QT_ACCESS ::access
63 #define QT_GETCWD ::getcwd
64 #define QT_CHDIR ::chdir
65 #define QT_MKDIR ::mkdir
66 #define QT_RMDIR ::rmdir
67 #define QT_OPEN_RDONLY O_RDONLY
68 #define QT_OPEN_WRONLY O_WRONLY
69 #define QT_OPEN_RDWR O_RDWR
70 #define QT_OPEN_CREAT O_CREAT
71 #define QT_OPEN_TRUNC O_TRUNC
72 #define QT_OPEN_APPEND O_APPEND
73#endif
74
75 #define QT_SIGNAL_RETTYPEvoid
76 #define QT_SIGNAL_ARGS int
77 #define QT_SIGNAL_IGNORESIG_IGN
78
79#if !defined(_XOPEN_UNIX)
80// Function usleep() is in C library but not in header files on Solaris 2.5.1.
81// Not really a surprise, usleep() is specified by XPG4v2 and XPG4v2 is only
82// supported by Solaris 2.6 and better.
83// So we are trying to detect Solaris 2.5.1 using macro _XOPEN_UNIX which is
84// not defined by <unistd.h> when XPG4v2 is not supported.
85typedef unsigned int useconds_t;
86extern "C" int usleep(useconds_t);
87#endif
88
89#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500) && (_XOPEN_VERSION-0 >= 500)
90// on Solaris 7 and better with specific feature test macros
91 #define QT_SOCKLEN_T socklen_t
92#elif defined(_XOPEN_SOURCE_EXTENDED) && defined(_XOPEN_UNIX)
93// on Solaris 2.6 and better with specific feature test macros
94 #define QT_SOCKLEN_T size_t
95#else
96// always this case in practice
97 #define QT_SOCKLEN_T int
98#endif
99
100#if defined(_XOPEN_UNIX)
101// Supported by Solaris 2.6 and better. XPG4v2 and XPG4v2 is also supported
102// by Solaris 2.6 and better. So we are trying to detect Solaris 2.6 using
103// macro _XOPEN_UNIX which is not defined by <unistd.h> when XPG4v2 is not
104// supported.
105 #define QT_SNPRINTF ::snprintf
106 #define QT_VSNPRINTF ::vsnprintf
107#endif
108
109
110#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/solaris-kcc/qmake.conf b/mkspecs/solaris-kcc/qmake.conf
new file mode 100644
index 0000000..274f815
--- a/dev/null
+++ b/mkspecs/solaris-kcc/qmake.conf
@@ -0,0 +1,94 @@
1#
2# $Id$
3#
4# qmake configuration for KAI C++ 4.0f for Solaris
5#
6# From the KAI C++ man page for Solaris:
7# --[no_]thread_safe
8 # [Waive or] Request thread-safe handling of system-allocated objects.
9 # To guarantee thread safety, this option must be used when both
10 # compiling and linking. Thread-safe C++ is not link-compatible with
11 # (the default) non-thread-safe C++.
12# -mt
13 # Solaris-only synonym for the portable option --thread_safe.
14# -h libname
15 # Solaris-only synonym for the portable --soname option.
16#
17
18 MAKEFILE_GENERATOR= UNIX
19 TEMPLATE = app
20 CONFIG += qt warn_on release
21
22 QMAKE_CC = KCC
23 QMAKE_LEX = flex
24 QMAKE_LEXFLAGS =
25 QMAKE_YACC = yacc
26 QMAKE_YACCFLAGS = -d
27 QMAKE_CFLAGS = --c --display_error_number
28 QMAKE_CFLAGS_DEPS= -M
29 QMAKE_CFLAGS_WARN_ON=
30 QMAKE_CFLAGS_WARN_OFF= -w
31 QMAKE_CFLAGS_RELEASE= +K2
32 QMAKE_CFLAGS_DEBUG= +K0
33 QMAKE_CFLAGS_SHLIB= -KPIC
34 QMAKE_CFLAGS_YACC= --diag_suppress 111,177
35 QMAKE_CFLAGS_THREAD= -mt
36
37 QMAKE_CXX = KCC
38 QMAKE_CXXFLAGS = --display_error_number --diag_suppress 611,1142
39 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
40 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
41 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
42 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
43 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
44 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
45 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
46 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
47
48 QMAKE_INCDIR =
49 QMAKE_LIBDIR =
50 QMAKE_INCDIR_X11= /usr/openwin/include
51 QMAKE_LIBDIR_X11= /usr/openwin/lib
52 QMAKE_INCDIR_QT = $(QTDIR)/include
53 QMAKE_LIBDIR_QT = $(QTDIR)/lib
54 QMAKE_INCDIR_OPENGL= /usr/openwin/include
55 QMAKE_LIBDIR_OPENGL= /usr/openwin/lib
56
57 QMAKE_LINK = KCC
58 QMAKE_LINK_SHLIB= KCC
59 QMAKE_LFLAGS =
60 QMAKE_LFLAGS_RELEASE=
61 QMAKE_LFLAGS_DEBUG=
62 QMAKE_LFLAGS_SHLIB=
63 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
64 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE
65 QMAKE_LFLAGS_THREAD= -mt
66 QMAKE_RPATH = -R$$LITERAL_WHITESPACE
67
68 QMAKE_LIBS =
69 QMAKE_LIBS_DYNLOAD= -ldl
70 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl
71 QMAKE_LIBS_X11SM= -lSM -lICE
72 QMAKE_LIBS_NIS =
73 QMAKE_LIBS_QT = -lqt
74 QMAKE_LIBS_QT_THREAD= -lqt-mt
75 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
76 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
77 QMAKE_LIBS_THREAD=
78
79 QMAKE_MOC = $(QTDIR)/bin/moc
80 QMAKE_UIC = $(QTDIR)/bin/uic
81
82 QMAKE_AR = ar cq
83 QMAKE_RANLIB =
84
85 QMAKE_CLEAN = -r $(OBJECTS_DIR)ti_files
86
87 QMAKE_TAR = tar -cf
88 QMAKE_GZIP = gzip -9f
89
90 QMAKE_COPY = cp -f
91 QMAKE_MOVE = mv -f
92 QMAKE_DEL_FILE = rm -f
93 QMAKE_DEL_DIR = rmdir
94
diff --git a/mkspecs/solaris-kcc/qplatformdefs.h b/mkspecs/solaris-kcc/qplatformdefs.h
new file mode 100644
index 0000000..db8bf71
--- a/dev/null
+++ b/mkspecs/solaris-kcc/qplatformdefs.h
@@ -0,0 +1,113 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26// KAI C++ has at the moment problems with unloading the Qt plugins.
27// So don't unload them as a workaround for now.
28#define QT_NO_LIBRARY_UNLOAD
29
30#include <sys/types.h>
31#include <sys/ioctl.h>
32#include <sys/filio.h>
33#include <sys/ipc.h>
34#include <sys/time.h>
35#include <sys/shm.h>
36#include <sys/socket.h>
37#include <sys/stat.h>
38#include <sys/wait.h>
39
40// DNS header files are not fully covered by X/Open specifications.
41// In particular nothing is said about res_* :/
42// On Solaris header files <netinet/in.h> and <arpa/nameser.h> are not
43// included by <resolv.h>. Note that <arpa/nameser.h> must be included
44// before <resolv.h>.
45#include <netinet/in.h>
46#include <arpa/nameser.h>
47#include <resolv.h>
48
49
50#if !defined(QT_NO_COMPAT)
51 #define QT_STATBUF struct stat
52 #define QT_STATBUF4TSTATstruct stat
53 #define QT_STAT ::stat
54 #define QT_FSTAT ::fstat
55 #define QT_STAT_REG S_IFREG
56 #define QT_STAT_DIR S_IFDIR
57 #define QT_STAT_MASK S_IFMT
58 #define QT_STAT_LNK S_IFLNK
59 #define QT_FILENO fileno
60 #define QT_OPEN ::open
61 #define QT_CLOSE ::close
62 #define QT_LSEEK ::lseek
63 #define QT_READ ::read
64 #define QT_WRITE ::write
65 #define QT_ACCESS ::access
66 #define QT_GETCWD ::getcwd
67 #define QT_CHDIR ::chdir
68 #define QT_MKDIR ::mkdir
69 #define QT_RMDIR ::rmdir
70 #define QT_OPEN_RDONLY O_RDONLY
71 #define QT_OPEN_WRONLY O_WRONLY
72 #define QT_OPEN_RDWR O_RDWR
73 #define QT_OPEN_CREAT O_CREAT
74 #define QT_OPEN_TRUNC O_TRUNC
75 #define QT_OPEN_APPEND O_APPEND
76#endif
77
78 #define QT_SIGNAL_RETTYPEvoid
79 #define QT_SIGNAL_ARGS int
80 #define QT_SIGNAL_IGNORESIG_IGN
81
82#if !defined(_XOPEN_UNIX)
83// Function usleep() is in C library but not in header files on Solaris 2.5.1.
84// Not really a surprise, usleep() is specified by XPG4v2 and XPG4v2 is only
85// supported by Solaris 2.6 and better.
86// So we are trying to detect Solaris 2.5.1 using macro _XOPEN_UNIX which is
87// not defined by <unistd.h> when XPG4v2 is not supported.
88typedef unsigned int useconds_t;
89extern "C" int usleep(useconds_t);
90#endif
91
92#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500) && (_XOPEN_VERSION-0 >= 500)
93// on Solaris 7 and better with specific feature test macros
94 #define QT_SOCKLEN_T socklen_t
95#elif defined(_XOPEN_SOURCE_EXTENDED) && defined(_XOPEN_UNIX)
96// on Solaris 2.6 and better with specific feature test macros
97 #define QT_SOCKLEN_T size_t
98#else
99// always this case in practice
100 #define QT_SOCKLEN_T int
101#endif
102
103#if defined(_XOPEN_UNIX)
104// Supported by Solaris 2.6 and better. XPG4v2 and XPG4v2 is also supported
105// by Solaris 2.6 and better. So we are trying to detect Solaris 2.6 using
106// macro _XOPEN_UNIX which is not defined by <unistd.h> when XPG4v2 is not
107// supported.
108 #define QT_SNPRINTF ::snprintf
109 #define QT_VSNPRINTF ::vsnprintf
110#endif
111
112
113#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/tru64-cxx/qmake.conf b/mkspecs/tru64-cxx/qmake.conf
new file mode 100644
index 0000000..f699d7b
--- a/dev/null
+++ b/mkspecs/tru64-cxx/qmake.conf
@@ -0,0 +1,79 @@
1#
2# $Id$
3#
4# tmake configuration for tru64-cxx
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = cxx
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS =
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON=
19 QMAKE_CFLAGS_WARN_OFF=
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB=
23 QMAKE_CFLAGS_YACC= -Olimit 1000
24 QMAKE_CFLAGS_THREAD= -pthread
25
26 QMAKE_CXX = cxx
27 QMAKE_CXXFLAGS = -x cxx $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11=
40 QMAKE_LIBDIR_X11=
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL=
44 QMAKE_LIBDIR_OPENGL=
45
46 QMAKE_LINK = cxx
47 QMAKE_LINK_SHLIB= cxx
48 QMAKE_LFLAGS =
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHLIB= -shared
52 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
53 QMAKE_LFLAGS_THREAD= -pthread
54 QMAKE_LFLAGS_SONAME= -soname$$LITERAL_WHITESPACE
55QMAKE_RPATH = -rpath$$LITERAL_WHITESPACE
56
57 QMAKE_LIBS =
58 QMAKE_LIBS_DYNLOAD=
59 QMAKE_LIBS_X11 = -lXext -lX11 -lm
60 QMAKE_LIBS_X11SM= -lSM -lICE
61 QMAKE_LIBS_QT = -lqt
62 QMAKE_LIBS_QT_THREAD= -lqt-mt
63 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
64 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
65 QMAKE_LIBS_THREAD=
66
67 QMAKE_MOC = $(QTDIR)/bin/moc
68 QMAKE_UIC = $(QTDIR)/bin/uic
69
70 QMAKE_AR = ar cqs
71 QMAKE_RANLIB =
72
73 QMAKE_TAR = tar -cf
74 QMAKE_GZIP = gzip -9f
75
76 QMAKE_COPY = cp -f
77 QMAKE_MOVE = mv -f
78 QMAKE_DEL_FILE = rm -f
79 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/tru64-cxx/qplatformdefs.h b/mkspecs/tru64-cxx/qplatformdefs.h
new file mode 100644
index 0000000..0352722
--- a/dev/null
+++ b/mkspecs/tru64-cxx/qplatformdefs.h
@@ -0,0 +1,95 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/select.h>
32#include <sys/shm.h>
33#include <sys/socket.h>
34#include <sys/stat.h>
35#include <sys/wait.h>
36
37// DNS header files are not fully covered by X/Open specifications.
38// In particular nothing is said about res_* :/
39#include <resolv.h>
40
41
42#if !defined(QT_NO_COMPAT)
43 #define QT_STATBUF struct stat
44 #define QT_STATBUF4TSTATstruct stat
45 #define QT_STAT ::stat
46 #define QT_FSTAT ::fstat
47 #define QT_STAT_REG S_IFREG
48 #define QT_STAT_DIR S_IFDIR
49 #define QT_STAT_MASK S_IFMT
50 #define QT_STAT_LNK S_IFLNK
51 #define QT_FILENO fileno
52 #define QT_OPEN ::open
53 #define QT_CLOSE ::close
54 #define QT_LSEEK ::lseek
55 #define QT_READ ::read
56 #define QT_WRITE ::write
57 #define QT_ACCESS ::access
58 #define QT_GETCWD ::getcwd
59 #define QT_CHDIR ::chdir
60 #define QT_MKDIR ::mkdir
61 #define QT_RMDIR ::rmdir
62 #define QT_OPEN_RDONLY O_RDONLY
63 #define QT_OPEN_WRONLY O_WRONLY
64 #define QT_OPEN_RDWR O_RDWR
65 #define QT_OPEN_CREAT O_CREAT
66 #define QT_OPEN_TRUNC O_TRUNC
67 #define QT_OPEN_APPEND O_APPEND
68#endif
69
70 #define QT_SIGNAL_RETTYPEvoid
71 #define QT_SIGNAL_ARGS int
72 #define QT_SIGNAL_IGNORESIG_IGN
73
74#if defined(_XOPEN_SOURCE) && defined(_OSF_SOURCE)
75// Not available in the <unistd.h> header file of Tru64 4.0F.
76// Fixed in the <unistd.h> header of Tru64 5.0A so we copy/paste from there...
77extern "C" int usleep(useconds_t);
78#endif
79
80#if defined(_POSIX_PII_SOCKET)
81 #define QT_SOCKLEN_T socklen_t
82#elif defined(_XOPEN_SOURCE_EXTENDED)
83 #define QT_SOCKLEN_T size_t
84#else
85 #define QT_SOCKLEN_T int
86#endif
87
88#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 400)
89// trying to detect Tru64 5.0 and better...
90 #define QT_SNPRINTF ::snprintf
91 #define QT_VSNPRINTF ::vsnprintf
92#endif
93
94
95#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/tru64-g++/qmake.conf b/mkspecs/tru64-g++/qmake.conf
new file mode 100644
index 0000000..94ff4a8
--- a/dev/null
+++ b/mkspecs/tru64-g++/qmake.conf
@@ -0,0 +1,79 @@
1#
2# $Id$
3#
4# qmake configuration for tru64-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS =
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -fPIC
23 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
24 QMAKE_CFLAGS_THREAD= -D_REENTRANT
25
26 QMAKE_CXX = g++
27 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11=
40 QMAKE_LIBDIR_X11=
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL=
44 QMAKE_LIBDIR_OPENGL=
45
46 QMAKE_LINK = g++
47 QMAKE_LINK_SHLIB= g++
48 QMAKE_LFLAGS =
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHLIB= -shared
52 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
53 QMAKE_LFLAGS_THREAD=
54 QMAKE_LFLAGS_SONAME= -Wl,-soname,
55QMAKE_RPATH = -Wl,-rpath,
56
57 QMAKE_LIBS =
58 QMAKE_LIBS_DYNLOAD=
59 QMAKE_LIBS_X11 = -lXext -lX11 -lm
60 QMAKE_LIBS_X11SM= -lSM -lICE
61 QMAKE_LIBS_QT = -lqt
62 QMAKE_LIBS_QT_THREAD= -lqt-mt
63 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
64 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
65 QMAKE_LIBS_THREAD= -lpthread -lexc
66
67 QMAKE_MOC = $(QTDIR)/bin/moc
68 QMAKE_UIC = $(QTDIR)/bin/uic
69
70 QMAKE_AR = ar cqs
71 QMAKE_RANLIB =
72
73 QMAKE_TAR = tar -cf
74 QMAKE_GZIP = gzip -9f
75
76 QMAKE_COPY = cp -f
77 QMAKE_MOVE = mv -f
78 QMAKE_DEL_FILE = rm -f
79 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/tru64-g++/qplatformdefs.h b/mkspecs/tru64-g++/qplatformdefs.h
new file mode 100644
index 0000000..0ea1165
--- a/dev/null
+++ b/mkspecs/tru64-g++/qplatformdefs.h
@@ -0,0 +1,95 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/ipc.h>
30#include <sys/time.h>
31#include <sys/select.h>
32#include <sys/shm.h>
33#include <sys/socket.h>
34#include <sys/stat.h>
35#include <sys/wait.h>
36
37// DNS header files are not fully covered by X/Open specifications.
38// In particular nothing is said about res_* :/
39#include <resolv.h>
40
41
42#if !defined(QT_NO_COMPAT)
43 #define QT_STATBUF struct stat
44 #define QT_STATBUF4TSTATstruct stat
45 #define QT_STAT ::stat
46 #define QT_FSTAT ::fstat
47 #define QT_STAT_REG S_IFREG
48 #define QT_STAT_DIR S_IFDIR
49 #define QT_STAT_MASK S_IFMT
50 #define QT_STAT_LNK S_IFLNK
51 #define QT_FILENO fileno
52 #define QT_OPEN ::open
53 #define QT_CLOSE ::close
54 #define QT_LSEEK ::lseek
55 #define QT_READ ::read
56 #define QT_WRITE ::write
57 #define QT_ACCESS ::access
58 #define QT_GETCWD ::getcwd
59 #define QT_CHDIR ::chdir
60 #define QT_MKDIR ::mkdir
61 #define QT_RMDIR ::rmdir
62 #define QT_OPEN_RDONLY O_RDONLY
63 #define QT_OPEN_WRONLY O_WRONLY
64 #define QT_OPEN_RDWR O_RDWR
65 #define QT_OPEN_CREAT O_CREAT
66 #define QT_OPEN_TRUNC O_TRUNC
67 #define QT_OPEN_APPEND O_APPEND
68#endif
69
70 #define QT_SIGNAL_RETTYPEvoid
71 #define QT_SIGNAL_ARGS int
72 #define QT_SIGNAL_IGNORESIG_IGN
73
74#if defined(_XOPEN_SOURCE) && defined(_OSF_SOURCE)
75// Not available in the <unistd.h> header file of Tru64 4.0F.
76// Fixed in the <unistd.h> header of Tru64 5.0A so we copy/paste from there...
77extern "C" int usleep(useconds_t);
78#endif
79
80#if defined(_POSIX_PII_SOCKET)
81 # define QT_SOCKLEN_T socklen_t
82#elif defined(_XOPEN_SOURCE_EXTENDED)
83 # define QT_SOCKLEN_T size_t
84#else
85 # define QT_SOCKLEN_T int
86#endif
87
88#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 400)
89// trying to detect Tru64 5.0 and better...
90 #define QT_SNPRINTF ::snprintf
91 #define QT_VSNPRINTF ::vsnprintf
92#endif
93
94
95#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/ultrix-g++/qmake.conf b/mkspecs/ultrix-g++/qmake.conf
new file mode 100644
index 0000000..482f069
--- a/dev/null
+++ b/mkspecs/ultrix-g++/qmake.conf
@@ -0,0 +1,72 @@
1#
2# $Id$
3#
4# qmake configuration for ultrix-g++
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS =
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB=
23 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
24
25 QMAKE_CXX = g++
26 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
27 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
28 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
29 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
30 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
31 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
32 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
33 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
34
35 QMAKE_INCDIR =
36 QMAKE_LIBDIR =
37 QMAKE_INCDIR_X11= /usr/X11R6/include
38 QMAKE_LIBDIR_X11= /usr/X11R6/lib
39 QMAKE_INCDIR_QT = $(QTDIR)/include
40 QMAKE_LIBDIR_QT = $(QTDIR)/lib
41 QMAKE_INCDIR_OPENGL= /usr/X11R6/include
42 QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib
43
44 QMAKE_LINK = g++
45 #QMAKE_LINK_SHLIB= g++
46 QMAKE_LFLAGS =
47 QMAKE_LFLAGS_RELEASE=
48 QMAKE_LFLAGS_DEBUG=
49 #QMAKE_LFLAGS_SHLIB= -shared
50 #QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
51 #QMAKE_LFLAGS_SONAME= -Wl,-soname,
52
53 QMAKE_LIBS =
54 QMAKE_LIBS_DYNLOAD= -ldl
55 QMAKE_LIBS_X11 = -lXext -lX11 -lm
56 QMAKE_LIBS_QT = -lqt
57 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
58 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
59
60 QMAKE_MOC = $(QTDIR)/bin/moc
61 QMAKE_UIC = $(QTDIR)/bin/uic
62
63 QMAKE_AR = ar cqs
64 QMAKE_RANLIB =
65
66 QMAKE_TAR = tar -cf
67 QMAKE_GZIP = gzip -9f
68
69 QMAKE_COPY = cp -f
70 QMAKE_MOVE = mv -f
71 QMAKE_DEL_FILE = rm -f
72 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/unixware-cc/qmake.conf b/mkspecs/unixware-cc/qmake.conf
new file mode 100644
index 0000000..1e7821a
--- a/dev/null
+++ b/mkspecs/unixware-cc/qmake.conf
@@ -0,0 +1,81 @@
1#
2# $Id$
3#
4# qmake configuration for UnixWare 7 or Open UNIX 8 with UDK or OUDK
5#
6# -Wf,--diag_suppress,838
7 # turns off warning about missing return types in X headers
8#
9
10 MAKEFILE_GENERATOR= UNIX
11 TEMPLATE = app
12 CONFIG += qt warn_on release
13
14 QMAKE_CC = cc
15 QMAKE_LEX = flex
16 QMAKE_LEXFLAGS =
17 QMAKE_YACC = yacc
18 QMAKE_YACCFLAGS = -d
19 QMAKE_CFLAGS =
20 QMAKE_CFLAGS_WARN_ON=
21 QMAKE_CFLAGS_WARN_OFF= -w
22 QMAKE_CFLAGS_RELEASE= -O
23 QMAKE_CFLAGS_DEBUG= -g
24 QMAKE_CFLAGS_SHLIB= -KPIC
25 QMAKE_CFLAGS_YACC= -Wf,--diag_suppress,111 -Wf,--diag_suppress,177
26 QMAKE_CFLAGS_THREAD= -Kthread
27
28 QMAKE_CXX = CC
29 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -Wf,--display_error_number -Wf,--diag_suppress,838
30 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
31 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
32 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE -Tused
33 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
34 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
35 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
36 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
37
38 QMAKE_INCDIR =
39 QMAKE_LIBDIR =
40 QMAKE_INCDIR_X11=
41 QMAKE_LIBDIR_X11= /usr/X/lib
42 QMAKE_INCDIR_QT = $(QTDIR)/include
43 QMAKE_LIBDIR_QT = $(QTDIR)/lib
44 QMAKE_INCDIR_OPENGL=
45 QMAKE_LIBDIR_OPENGL=
46
47 QMAKE_LINK = CC
48 QMAKE_LINK_SHLIB= CC
49 QMAKE_LFLAGS =
50 QMAKE_LFLAGS_RELEASE=
51 QMAKE_LFLAGS_DEBUG=
52 QMAKE_LFLAGS_SHLIB= -G
53 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
54 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE
55 QMAKE_LFLAGS_THREAD= -Kthread
56
57 QMAKE_LIBS =
58 QMAKE_LIBS_DYNLOAD= -ldl
59 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl -lm
60 QMAKE_LIBS_X11SM= -lSM -lICE
61 QMAKE_LIBS_QT = -lqt
62 QMAKE_LIBS_QT_THREAD= -lqt-mt
63
64 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu -lXt -lSM -lICE
65 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
66
67 QMAKE_LIBS_THREAD=
68
69 QMAKE_MOC = $(QTDIR)/bin/moc
70 QMAKE_UIC = $(QTDIR)/bin/uic
71
72 QMAKE_AR = ar cq
73 QMAKE_RANLIB =
74
75 QMAKE_TAR = tar -cf
76 QMAKE_GZIP = gzip -9f
77
78 QMAKE_COPY = cp -f
79 QMAKE_MOVE = mv -f
80 QMAKE_DEL_FILE = rm -f
81 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/unixware-cc/qplatformdefs.h b/mkspecs/unixware-cc/qplatformdefs.h
new file mode 100644
index 0000000..06af247
--- a/dev/null
+++ b/mkspecs/unixware-cc/qplatformdefs.h
@@ -0,0 +1,85 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/filio.h>
30#include <sys/ipc.h>
31#include <sys/time.h>
32#include <sys/shm.h>
33#include <sys/socket.h>
34#include <sys/stat.h>
35#include <sys/wait.h>
36
37// DNS header files are not fully covered by X/Open specifications.
38// In particular nothing is said about res_* :/
39// On Unixware header files <netinet/in.h> and <arpa/nameser.h> are not
40// included by <resolv.h>. Note that <arpa/nameser.h> must be included
41// before <resolv.h>.
42#include <netinet/in.h>
43#include <arpa/nameser.h>
44#include <resolv.h>
45
46
47#if !defined(QT_NO_COMPAT)
48 #define QT_STATBUF struct stat
49 #define QT_STATBUF4TSTATstruct stat
50 #define QT_STAT ::stat
51 #define QT_FSTAT ::fstat
52 #define QT_STAT_REG S_IFREG
53 #define QT_STAT_DIR S_IFDIR
54 #define QT_STAT_MASK S_IFMT
55 #define QT_STAT_LNK S_IFLNK
56 #define QT_FILENO fileno
57 #define QT_OPEN ::open
58 #define QT_CLOSE ::close
59 #define QT_LSEEK ::lseek
60 #define QT_READ ::read
61 #define QT_WRITE ::write
62 #define QT_ACCESS ::access
63 #define QT_GETCWD ::getcwd
64 #define QT_CHDIR ::chdir
65 #define QT_MKDIR ::mkdir
66 #define QT_RMDIR ::rmdir
67 #define QT_OPEN_RDONLY O_RDONLY
68 #define QT_OPEN_WRONLY O_WRONLY
69 #define QT_OPEN_RDWR O_RDWR
70 #define QT_OPEN_CREAT O_CREAT
71 #define QT_OPEN_TRUNC O_TRUNC
72 #define QT_OPEN_APPEND O_APPEND
73#endif
74
75 #define QT_SIGNAL_RETTYPEvoid
76 #define QT_SIGNAL_ARGS int
77 #define QT_SIGNAL_IGNORESIG_IGN
78
79 #define QT_SOCKLEN_T size_t
80
81 #define QT_SNPRINTF ::snprintf
82 #define QT_VSNPRINTF ::vsnprintf
83
84
85#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/unixware-g++/qmake.conf b/mkspecs/unixware-g++/qmake.conf
new file mode 100644
index 0000000..1f8e982
--- a/dev/null
+++ b/mkspecs/unixware-g++/qmake.conf
@@ -0,0 +1,80 @@
1#
2# $Id$
3#
4# qmake configuration for UnixWare 7 or Open UNIX 8 with OSTK
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = yacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS =
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON= -Wall -W
19 QMAKE_CFLAGS_WARN_OFF= -w
20 QMAKE_CFLAGS_RELEASE= -O2
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_SHLIB= -fPIC
23 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
24 QMAKE_CFLAGS_THREAD=
25
26 QMAKE_CXX = g++
27 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
28 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
29 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
35 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
36
37 QMAKE_INCDIR =
38 QMAKE_LIBDIR =
39 QMAKE_INCDIR_X11=
40 QMAKE_LIBDIR_X11= /usr/X/lib
41 QMAKE_INCDIR_QT = $(QTDIR)/include
42 QMAKE_LIBDIR_QT = $(QTDIR)/lib
43 QMAKE_INCDIR_OPENGL=
44 QMAKE_LIBDIR_OPENGL=
45
46 QMAKE_LINK = g++
47 QMAKE_LINK_SHLIB= g++
48 QMAKE_LFLAGS =
49 QMAKE_LFLAGS_RELEASE=
50 QMAKE_LFLAGS_DEBUG=
51 QMAKE_LFLAGS_SHLIB= -shared
52 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
53 QMAKE_LFLAGS_SONAME=
54 QMAKE_LFLAGS_THREAD=
55
56 QMAKE_LIBS =
57 QMAKE_LIBS_DYNLOAD= -ldl
58 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl -lm
59 QMAKE_LIBS_X11SM= -lSM -lICE
60 QMAKE_LIBS_QT = -lqt
61 QMAKE_LIBS_QT_THREAD= -lqt-mt
62
63 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu -lXt -lSM -lICE
64 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
65
66 QMAKE_LIBS_THREAD= -lthread
67
68 QMAKE_MOC = $(QTDIR)/bin/moc
69 QMAKE_UIC = $(QTDIR)/bin/uic
70
71 QMAKE_AR = ar cq
72 QMAKE_RANLIB =
73
74 QMAKE_TAR = tar -cf
75 QMAKE_GZIP = gzip -9f
76
77 QMAKE_COPY = cp -f
78 QMAKE_MOVE = mv -f
79 QMAKE_DEL_FILE = rm -f
80 QMAKE_DEL_DIR = rmdir
diff --git a/mkspecs/unixware-g++/qplatformdefs.h b/mkspecs/unixware-g++/qplatformdefs.h
new file mode 100644
index 0000000..06af247
--- a/dev/null
+++ b/mkspecs/unixware-g++/qplatformdefs.h
@@ -0,0 +1,85 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4// Get Qt defines/settings
5
6#include "qglobal.h"
7
8// Set any POSIX/XOPEN defines at the top of this file to turn on specific APIs
9
10#include <unistd.h>
11
12
13// We are hot - unistd.h should have turned on the specific APIs we requested
14
15
16#ifdef QT_THREAD_SUPPORT
17#include <pthread.h>
18#endif
19
20#include <dirent.h>
21#include <fcntl.h>
22#include <grp.h>
23#include <pwd.h>
24#include <signal.h>
25#include <dlfcn.h>
26
27#include <sys/types.h>
28#include <sys/ioctl.h>
29#include <sys/filio.h>
30#include <sys/ipc.h>
31#include <sys/time.h>
32#include <sys/shm.h>
33#include <sys/socket.h>
34#include <sys/stat.h>
35#include <sys/wait.h>
36
37// DNS header files are not fully covered by X/Open specifications.
38// In particular nothing is said about res_* :/
39// On Unixware header files <netinet/in.h> and <arpa/nameser.h> are not
40// included by <resolv.h>. Note that <arpa/nameser.h> must be included
41// before <resolv.h>.
42#include <netinet/in.h>
43#include <arpa/nameser.h>
44#include <resolv.h>
45
46
47#if !defined(QT_NO_COMPAT)
48 #define QT_STATBUF struct stat
49 #define QT_STATBUF4TSTATstruct stat
50 #define QT_STAT ::stat
51 #define QT_FSTAT ::fstat
52 #define QT_STAT_REG S_IFREG
53 #define QT_STAT_DIR S_IFDIR
54 #define QT_STAT_MASK S_IFMT
55 #define QT_STAT_LNK S_IFLNK
56 #define QT_FILENO fileno
57 #define QT_OPEN ::open
58 #define QT_CLOSE ::close
59 #define QT_LSEEK ::lseek
60 #define QT_READ ::read
61 #define QT_WRITE ::write
62 #define QT_ACCESS ::access
63 #define QT_GETCWD ::getcwd
64 #define QT_CHDIR ::chdir
65 #define QT_MKDIR ::mkdir
66 #define QT_RMDIR ::rmdir
67 #define QT_OPEN_RDONLY O_RDONLY
68 #define QT_OPEN_WRONLY O_WRONLY
69 #define QT_OPEN_RDWR O_RDWR
70 #define QT_OPEN_CREAT O_CREAT
71 #define QT_OPEN_TRUNC O_TRUNC
72 #define QT_OPEN_APPEND O_APPEND
73#endif
74
75 #define QT_SIGNAL_RETTYPEvoid
76 #define QT_SIGNAL_ARGS int
77 #define QT_SIGNAL_IGNORESIG_IGN
78
79 #define QT_SOCKLEN_T size_t
80
81 #define QT_SNPRINTF ::snprintf
82 #define QT_VSNPRINTF ::vsnprintf
83
84
85#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/win32-borland/qmake.conf b/mkspecs/win32-borland/qmake.conf
new file mode 100644
index 0000000..f3219eb
--- a/dev/null
+++ b/mkspecs/win32-borland/qmake.conf
@@ -0,0 +1,97 @@
1#
2# $Id$
3#
4# qmake configuration for Win32/Borland C++
5#
6
7 MAKEFILE_GENERATOR= BMAKE
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10 DEFINES += UNICODE
11 QMAKE_NOFORCE = 1
12
13exists( $(QTDIR)\.qtwinconfig ) {
14 include( $(QTDIR)\.qtwinconfig )
15}
16
17 QMAKE_CC = bcc32
18 QMAKE_LEX = flex
19 QMAKE_LEXFLAGS =
20 QMAKE_YACC = byacc
21 QMAKE_YACCFLAGS = -d
22 QMAKE_CFLAGS = -tWR
23 QMAKE_CFLAGS_WARN_ON= -w -w-hid
24 QMAKE_CFLAGS_WARN_OFF= -w-
25 QMAKE_CFLAGS_RELEASE= -O2
26 QMAKE_CFLAGS_DEBUG= -v
27 QMAKE_CFLAGS_MT = -tWM
28 QMAKE_CFLAGS_MT_DBG= -tWM
29 QMAKE_CFLAGS_MT_DLL= -tWM
30 QMAKE_CFLAGS_MT_DLLDBG= -tWM
31 QMAKE_CFLAGS_YACC=
32 QMAKE_CFLAGS_CONSOLE= -tWC
33
34!contains(CONFIG,exceptions){
35 QMAKE_CFLAGS += -x-
36}
37!contains(CONFIG,rtti){
38 QMAKE_CFLAGS+= -RT-
39}
40
41 QMAKE_CXX = $$QMAKE_CC
42 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
43 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
44 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
45 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
46 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
47 QMAKE_CXXFLAGS_MT= $$QMAKE_CFLAGS_MT
48 QMAKE_CXXFLAGS_MT_DBG= $$QMAKE_CFLAGS_MT_DBG
49 QMAKE_CXXFLAGS_MT_DLL= $$QMAKE_CFLAGS_MT_DLL
50QMAKE_CXXFLAGS_MT_DLLDBG= $$QMAKE_CFLAGS_MT_DLLDBG
51 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
52 QMAKE_CXXFLAGS_CONSOLE= $$QMAKE_CFLAGS_CONSOLE
53
54 QMAKE_INCDIR =
55 QMAKE_INCDIR_QT = $(QTDIR)\include
56 QMAKE_LIBDIR = $(BCB)\lib
57 QMAKE_LIBDIR_QT = $(QTDIR)\lib
58
59 QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -o$obj $src
60 QMAKE_RUN_CC_IMP= $(CC) -c $(CFLAGS) $(INCPATH) -o$@ $<
61 QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o$obj $src
62 QMAKE_RUN_CXX_IMP= $(CXX) -c $(CXXFLAGS) $(INCPATH) -o$@ $<
63
64 QMAKE_LINK = ilink32
65 QMAKE_LFLAGS = -c -x -Gn
66 QMAKE_LFLAGS_RELEASE=
67 QMAKE_LFLAGS_DEBUG= -v
68 QMAKE_LFLAGS_CONSOLE= -ap -Tpe c0x32.obj
69 QMAKE_LFLAGS_WINDOWS= -aa -Tpe c0w32.obj
70QMAKE_LFLAGS_CONSOLE_DLL= -Gi -ap -Tpd c0d32.obj
71QMAKE_LFLAGS_WINDOWS_DLL= -Gi -aa -Tpd c0d32.obj
72
73 QMAKE_LIBS = import32.lib
74 QMAKE_LIBS_RT = cw32i.lib
75 QMAKE_LIBS_RTMT = cw32mti.lib
76 QMAKE_LIBS_CONSOLE=
77 QMAKE_LIBS_WINDOWS=
78 QMAKE_LIBS_QT = qt.lib
79 QMAKE_LIBS_QT_THREAD= qtmt.lib
80 QMAKE_LIBS_QT_ENTRY= qtmain.lib
81
82 QMAKE_LIBS_OPENGL=
83 QMAKE_LFLAGS_OPENGL= /dopengl32.dll
84
85 QMAKE_MOC = $(QTDIR)\bin\moc.exe
86 QMAKE_UIC = $(QTDIR)\bin\uic.exe
87 QMAKE_IDC = $(QTDIR)\bin\idc.exe
88
89 QMAKE_IDL = midl
90 QMAKE_LIB = tlib /C /P256
91 QMAKE_RC = brcc32
92
93 QMAKE_ZIP = zip -r -9
94
95 QMAKE_COPY = copy
96 QMAKE_MOVE = move
97 QMAKE_DEL = del
diff --git a/mkspecs/win32-borland/qplatformdefs.h b/mkspecs/win32-borland/qplatformdefs.h
new file mode 100644
index 0000000..5babada
--- a/dev/null
+++ b/mkspecs/win32-borland/qplatformdefs.h
@@ -0,0 +1,140 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4#ifdef UNICODE
5#ifndef _UNICODE
6#define _UNICODE
7#endif
8#endif
9
10// Get Qt defines/settings
11
12#include "qglobal.h"
13#define Q_FS_FAT
14
15#define _POSIX_
16#include <limits.h>
17#undef _POSIX_
18
19#include <tchar.h>
20#include <io.h>
21#include <direct.h>
22#include <stdio.h>
23#include <fcntl.h>
24#include <errno.h>
25#include <sys/stat.h>
26#include <dos.h>
27#include <stdlib.h>
28#include <windows.h>
29
30#if __BORLANDC__ >= 0x550
31#ifdef QT_LARGE_FILE_SUPPORT
32 #define QT_STATBUF struct stati64 // non-ANSI defs
33 #define QT_STATBUF4TSTAT struct _stati64 // non-ANSI defs
34 #define QT_STAT ::stati64
35 #define QT_FSTAT ::fstati64
36#else
37 #define QT_STATBUF struct stat // non-ANSI defs
38 #define QT_STATBUF4TSTAT struct _stat // non-ANSI defs
39 #define QT_STAT ::stat
40 #define QT_FSTAT ::fstat
41#endif
42 # define QT_STAT_REG _S_IFREG
43 # define QT_STAT_DIR _S_IFDIR
44 # define QT_STAT_MASK _S_IFMT
45# if defined(_S_IFLNK)
46 # define QT_STAT_LNK _S_IFLNK
47# endif
48 # define QT_FILENO _fileno
49 # define QT_OPEN ::open
50 # define QT_CLOSE ::_close
51#ifdef QT_LARGE_FILE_SUPPORT
52 #define QT_LSEEK ::_lseeki64
53 #define QT_TSTAT ::_tstati64
54#else
55 #define QT_LSEEK ::_lseek
56 #define QT_TSTAT ::_tstat
57#endif
58 # define QT_READ ::_read
59 # define QT_WRITE ::_write
60 # define QT_ACCESS ::_access
61 # define QT_GETCWD ::_getcwd
62 # define QT_CHDIR ::chdir
63 # define QT_MKDIR ::_mkdir
64 # define QT_RMDIR ::_rmdir
65 # define QT_OPEN_RDONLY _O_RDONLY
66 # define QT_OPEN_WRONLY _O_WRONLY
67 # define QT_OPEN_RDWR _O_RDWR
68 # define QT_OPEN_CREAT _O_CREAT
69 # define QT_OPEN_TRUNC _O_TRUNC
70 # define QT_OPEN_APPEND _O_APPEND
71# if defined(O_TEXT)
72 # define QT_OPEN_TEXT _O_TEXT
73 # define QT_OPEN_BINARY_O_BINARY
74# endif
75 #else // all other systems
76#ifdef QT_LARGE_FILE_SUPPORT
77 #define QT_STATBUF struct stati64 // non-ANSI defs
78 #define QT_STATBUF4TSTAT struct stati64 // non-ANSI defs
79 #define QT_STAT ::stati64
80 #define QT_FSTAT ::fstati64
81#else
82 #define QT_STATBUF struct stat // non-ANSI defs
83 #define QT_STATBUF4TSTAT struct stat // non-ANSI defs
84 #define QT_STAT ::stat
85 #define QT_FSTAT ::fstat
86#endif
87 # define QT_STAT_REG S_IFREG
88 # define QT_STAT_DIR S_IFDIR
89 # define QT_STAT_MASK S_IFMT
90# if defined(S_IFLNK)
91 # define QT_STAT_LNK S_IFLNK
92# endif
93 # define QT_FILENO fileno
94 # define QT_OPEN ::open
95 # define QT_CLOSE ::close
96#ifdef QT_LARGE_FILE_SUPPORT
97 #define QT_LSEEK ::lseeki64
98 #define QT_TSTAT ::tstati64
99#else
100 #define QT_LSEEK ::lseek
101 #define QT_TSTAT ::tstat
102#endif
103 # define QT_READ ::read
104 # define QT_WRITE ::write
105 # define QT_ACCESS ::access
106# if defined(Q_OS_OS2EMX)
107// This is documented in the un*x to OS/2-EMX Porting FAQ:
108 // http://homepages.tu-darmstadt.de/~st002279/os2/porting.html
109 # define QT_GETCWD ::_getcwd2
110 # define QT_CHDIR ::_chdir2
111# else
112 # define QT_GETCWD ::getcwd
113 # define QT_CHDIR ::chdir
114# endif
115 # define QT_MKDIR ::mkdir
116 # define QT_RMDIR ::rmdir
117 # define QT_OPEN_RDONLY O_RDONLY
118 # define QT_OPEN_WRONLY O_WRONLY
119 # define QT_OPEN_RDWR O_RDWR
120 # define QT_OPEN_CREAT O_CREAT
121 # define QT_OPEN_TRUNC O_TRUNC
122 # define QT_OPEN_APPEND O_APPEND
123# if defined(O_TEXT)
124 # define QT_OPEN_TEXT O_TEXT
125 # define QT_OPEN_BINARYO_BINARY
126# endif
127#endif
128
129 #define QT_SIGNAL_ARGS int
130
131 #define QT_VSNPRINTF ::_vsnprintf
132 #define QT_SNPRINTF ::_snprintf
133
134 # define F_OK0
135 # define X_OK1
136 # define W_OK2
137 # define R_OK4
138
139
140#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/win32-g++/qmake.conf b/mkspecs/win32-g++/qmake.conf
new file mode 100644
index 0000000..7c7b66a
--- a/dev/null
+++ b/mkspecs/win32-g++/qmake.conf
@@ -0,0 +1,70 @@
1#
2# $Id$
3#
4# qmake configuration for Win32/g++ (Cygnus gnu-win32)
5#
6
7 MAKEFILE_GENERATOR= UNIX
8 TEMPLATE = app
9 CONFIG += qt warn_on release
10
11 QMAKE_CC = gcc
12 QMAKE_LEX = flex
13 QMAKE_LEXFLAGS =
14 QMAKE_YACC = byacc
15 QMAKE_YACCFLAGS = -d
16 QMAKE_CFLAGS = -fvtable-thunks
17 QMAKE_CFLAGS_DEPS= -M
18 QMAKE_CFLAGS_WARN_ON=
19 QMAKE_CFLAGS_WARN_OFF=
20 QMAKE_CFLAGS_RELEASE= -O
21 QMAKE_CFLAGS_DEBUG= -g
22 QMAKE_CFLAGS_YACC= -Wno-unused -Wno-parentheses
23
24 QMAKE_CXX = g++
25 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
26 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
27 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
28 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
29 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
30 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
31 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
32
33 QMAKE_INCDIR =
34 QMAKE_INCDIR_QT = $(QTDIR)/include
35
36 QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $src
37 QMAKE_RUN_CC_IMP= $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
38 QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src
39 QMAKE_RUN_CXX_IMP= $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
40
41 QMAKE_LINK = g++
42 QMAKE_LFLAGS =
43 QMAKE_LFLAGS_RELEASE=
44 QMAKE_LFLAGS_DEBUG=
45 QMAKE_LFLAGS_CONSOLE= -Wl,-subsystem,console
46 QMAKE_LFLAGS_WINDOWS= -Wl,-subsystem,windows
47QMAKE_LFLAGS_CONSOLE_DLL= -Wl,-subsystem,console
48QMAKE_LFLAGS_WINDOWS_DLL= -Wl,-subsystem,windows
49
50 QMAKE_LIBS =
51 QMAKE_LIBS_CONSOLE=
52 QMAKE_LIBS_WINDOWS= -luser32 -lgdi32 -lcomdlg32 -lwinmm -limm32 -lole32 -luuid -lwsock32
53 QMAKE_LIBS_QT = -L$(QTDIR)/lib -lqt
54 QMAKE_LIBS_QT_ENTRY= -lqtmain
55
56 QMAKE_LIBS_OPENGL= -lopengl32
57
58 QMAKE_MOC = $(QTDIR)/bin/moc.exe
59 QMAKE_UIC = $(QTDIR)/bin/uic.exe
60 QMAKE_IDC = $(QTDIR)/bin/idc.exe
61
62 QMAKE_AR = ar cqs
63 QMAKE_RANLIB =
64
65 QMAKE_ZIP = zip -r -9
66
67 QMAKE_COPY = copy
68 QMAKE_MOVE = move
69 QMAKE_DEL_FILE = del
70 QMAKE_DEL_DIR = deltree
diff --git a/mkspecs/win32-icc/qmake.conf b/mkspecs/win32-icc/qmake.conf
new file mode 100644
index 0000000..cd884fa
--- a/dev/null
+++ b/mkspecs/win32-icc/qmake.conf
@@ -0,0 +1,99 @@
1#
2# $Id$
3#
4# qmake configuration for Win32/Intel C++
5#
6
7 MAKEFILE_GENERATOR= MSVC
8 TEMPLATE = app
9 CONFIG += qt warn_on release incremental
10 DEFINES += UNICODE
11
12exists( $(QTDIR)\.qtwinconfig ) {
13 include( $(QTDIR)\.qtwinconfig )
14}
15
16 QMAKE_CC = icl
17 QMAKE_LEX = flex
18 QMAKE_LEXFLAGS =
19 QMAKE_YACC = byacc
20 QMAKE_YACCFLAGS = -d
21 QMAKE_CFLAGS = -nologo -Zm200
22 QMAKE_CFLAGS_WARN_ON= -W3
23 QMAKE_CFLAGS_WARN_OFF= -W0
24 QMAKE_CFLAGS_RELEASE= -Od -Ob1s
25 QMAKE_CFLAGS_DEBUG= -Zi
26 QMAKE_CFLAGS_MT = -MD
27 QMAKE_CFLAGS_MT_DBG= -MDd
28 QMAKE_CFLAGS_MT_DLL= -MD
29 QMAKE_CFLAGS_MT_DLLDBG= -MDd
30 QMAKE_CFLAGS_YACC=
31
32contains(CONFIG,stl){
33 QMAKE_CFLAGS+= -GX
34}
35contains(CONFIG,exceptions){
36 QMAKE_CFLAGS += -GX
37}
38contains(CONFIG,rtti){
39 QMAKE_CFLAGS+= -GR
40}
41
42 QMAKE_CXX = $$QMAKE_CC
43 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
44 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
45 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
46 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
47 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
48 QMAKE_CXXFLAGS_MT= $$QMAKE_CFLAGS_MT
49 QMAKE_CXXFLAGS_MT_DBG= $$QMAKE_CFLAGS_MT_DBG
50 QMAKE_CXXFLAGS_MT_DLL= $$QMAKE_CFLAGS_MT_DLL
51QMAKE_CXXFLAGS_MT_DLLDBG= $$QMAKE_CFLAGS_MT_DLLDBG
52 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
53 QMAKE_CXXFLAGS_STL= $$QMAKE_CFLAGS_STL
54
55 QMAKE_INCDIR =
56 QMAKE_INCDIR_QT = $(QTDIR)\include
57 QMAKE_LIBDIR_QT = $(QTDIR)\lib
58
59 QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
60 QMAKE_RUN_CC_IMP= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
61 QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
62 QMAKE_RUN_CXX_IMP= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
63
64 QMAKE_LINK = link
65 QMAKE_LFLAGS = /NOLOGO
66 QMAKE_LFLAGS_RELEASE= delayimp.lib /DELAYLOAD:comdlg32.dll /DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.dll /DELAYLOAD:wsock32.dll /DELAYLOAD:winspool.dll
67 QMAKE_LFLAGS_DEBUG= /DEBUG
68 QMAKE_LFLAGS_CONSOLE= /SUBSYSTEM:console
69 QMAKE_LFLAGS_WINDOWS= /SUBSYSTEM:windows
70QMAKE_LFLAGS_CONSOLE_DLL= /SUBSYSTEM:console /DLL
71QMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:windows /DLL
72 QMAKE_LFLAGS_QT_DLL= /BASE:0x39D00000
73
74 QMAKE_LIBS =
75 QMAKE_LIBS_CONSOLE=
76 QMAKE_LIBS_WINDOWS= kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib winspool.lib
77 QMAKE_LIBS_QT = $(QTDIR)\lib\qt.lib
78 QMAKE_LIBS_QT_THREAD= $(QTDIR)\lib\qt-mt.lib
79 QMAKE_LIBS_QT_ENTRY= $(QTDIR)\lib\qtmain.lib
80
81 QMAKE_LIBS_OPENGL= opengl32.lib glu32.lib delayimp.lib
82 QMAKE_LFLAGS_OPENGL= /DELAYLOAD:opengl32.dll
83
84 QMAKE_MOC = $(QTDIR)\bin\moc.exe
85 QMAKE_UIC = $(QTDIR)\bin\uic.exe
86 QMAKE_IDC = $(QTDIR)\bin\idc.exe
87
88 QMAKE_IDL = midl
89 QMAKE_LIB = lib /NOLOGO
90 QMAKE_RC = rc
91
92 QMAKE_ZIP = zip -r -9
93
94 QMAKE_COPY = copy
95 QMAKE_MOVE = move
96 QMAKE_DEL_FILE = del
97 QMAKE_DEL_DIR = deltree
98
99 DSP_EXTENSION = .dsp
diff --git a/mkspecs/win32-icc/qplatformdefs.h b/mkspecs/win32-icc/qplatformdefs.h
new file mode 100644
index 0000000..1d72e8a
--- a/dev/null
+++ b/mkspecs/win32-icc/qplatformdefs.h
@@ -0,0 +1,85 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4#ifdef UNICODE
5#ifndef _UNICODE
6#define _UNICODE
7#endif
8#endif
9
10// Get Qt defines/settings
11
12#include "qglobal.h"
13
14#define _POSIX_
15#include <limits.h>
16#undef _POSIX_
17
18#include <tchar.h>
19#include <io.h>
20#include <direct.h>
21#include <stdio.h>
22#include <fcntl.h>
23#include <errno.h>
24#include <sys/stat.h>
25#include <stdlib.h>
26#include <windows.h>
27
28#define Q_FS_FAT
29#ifdef QT_LARGE_FILE_SUPPORT
30 #define QT_STATBUF struct _stati64 // non-ANSI defs
31 #define QT_STATBUF4TSTAT struct _stati64 // non-ANSI defs
32 #define QT_STAT ::_stati64
33 #define QT_FSTAT ::_fstati64
34#else
35 #define QT_STATBUF struct _stat // non-ANSI defs
36 #define QT_STATBUF4TSTAT struct _stat // non-ANSI defs
37 #define QT_STAT ::_stat
38 #define QT_FSTAT ::_fstat
39#endif
40 #define QT_STAT_REG _S_IFREG
41 #define QT_STAT_DIR _S_IFDIR
42 #define QT_STAT_MASK _S_IFMT
43#if defined(_S_IFLNK)
44 # define QT_STAT_LNK _S_IFLNK
45#endif
46 #define QT_FILENO _fileno
47 #define QT_OPEN ::_open
48 #define QT_CLOSE ::_close
49#ifdef QT_LARGE_FILE_SUPPORT
50 #define QT_LSEEK ::_lseeki64
51 #define QT_TSTAT ::_tstati64
52#else
53 #define QT_LSEEK ::_lseek
54 #define QT_TSTAT ::_tstat
55#endif
56 #define QT_READ ::_read
57 #define QT_WRITE ::_write
58 #define QT_ACCESS ::_access
59 #define QT_GETCWD ::_getcwd
60 #define QT_CHDIR ::_chdir
61 #define QT_MKDIR ::_mkdir
62 #define QT_RMDIR ::_rmdir
63 #define QT_OPEN_RDONLY _O_RDONLY
64 #define QT_OPEN_WRONLY _O_WRONLY
65 #define QT_OPEN_RDWR _O_RDWR
66 #define QT_OPEN_CREAT _O_CREAT
67 #define QT_OPEN_TRUNC _O_TRUNC
68 #define QT_OPEN_APPEND _O_APPEND
69#if defined(O_TEXT)
70 # define QT_OPEN_TEXT _O_TEXT
71 # define QT_OPEN_BINARY _O_BINARY
72#endif
73
74 #define QT_SIGNAL_ARGS int
75
76 #define QT_VSNPRINTF ::_vsnprintf
77 #define QT_SNPRINTF ::_snprintf
78
79 # define F_OK0
80 # define X_OK1
81 # define W_OK2
82 # define R_OK4
83
84
85#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/win32-icc/win32app.dsp b/mkspecs/win32-icc/win32app.dsp
new file mode 100644
index 0000000..d09aa86
--- a/dev/null
+++ b/mkspecs/win32-icc/win32app.dsp
@@ -0,0 +1,111 @@
1# Microsoft Developer Studio Project File - Name="$$MSVCDSP_PROJECT" - Package Owner=<4>
2# Microsoft Developer Studio Generated Build File, Format Version $$MSVCDSP_VER
3# ** DO NOT EDIT **
4
5# TARGTYPE "Win32 (x86) $$MSVCDSP_CONSOLE Application" $$MSVCDSP_DSPTYPE
6
7CFG=$$MSVCDSP_PROJECT - Win32 $$MSVCDSP_CONFIGMODE
8!MESSAGE This is not a valid makefile. To build this project using NMAKE,
9!MESSAGE use the Export Makefile command and run
10!MESSAGE
11!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak".
12!MESSAGE
13!MESSAGE You can specify a configuration when running NMAKE
14!MESSAGE by defining the macro CFG on the command line. For example:
15!MESSAGE
16!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak" CFG="$$MSVCDSP_PROJECT - Win32 Debug"
17!MESSAGE
18!MESSAGE Possible choices for configuration are:
19!MESSAGE
20!MESSAGE "$$MSVCDSP_PROJECT - Win32 Release" (based on "Win32 (x86) Application")
21!MESSAGE "$$MSVCDSP_PROJECT - Win32 Debug" (based on "Win32 (x86) Application")
22!MESSAGE
23
24# Begin Project
25# PROP AllowPerConfigDependencies 0
26# PROP Scc_ProjName ""
27# PROP Scc_LocalPath ""
28CPP=cl.exe
29MTL=midl.exe
30RSC=rc.exe
31
32!IF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Release"
33
34# PROP BASE Use_MFC 0
35# PROP BASE Use_Debug_Libraries 0
36# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRREL"
37# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
38# PROP BASE Target_Dir ""
39# PROP Use_MFC 0
40# PROP Use_Debug_Libraries 0
41# PROP Output_Dir "$$MSVCDSP_TARGETDIRREL"
42# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
43# PROP Target_Dir ""
44# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "$$MSVCDSP_WINCONDEF" /D "_MBCS" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE
45# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
46# ADD RSC /l 0x409 /d "NDEBUG"
47BSC32=bscmake.exe
48# ADD BSC32 /nologo
49LINK32=link.exe
50# ADD LINK32 $$MSVCDSP_LIBS $$MSVCDSP_VERSION /subsystem:$$MSVCDSP_SUBSYSTEM $$MSVCDSP_TARGET $$MSVCDSP_LFLAGS $$QMAKE_LFLAGS_RELEASE
51$$MSVCDSP_REGSVR_REL
52
53!ELSEIF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Debug"
54
55# PROP BASE Use_MFC 0
56# PROP BASE Use_Debug_Libraries 1
57# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRDEB"
58# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
59# PROP BASE Target_Dir ""
60# PROP Use_MFC 0
61# PROP Use_Debug_Libraries 1
62# PROP Output_Dir "$$MSVCDSP_TARGETDIRDEB"
63# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
64# PROP Target_Dir ""
65# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "$$MSVCDSP_WINCONDEF" /D "_MBCS" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG
66# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
67# ADD RSC /l 0x409 /d "_DEBUG"
68BSC32=bscmake.exe
69# ADD BSC32 /nologo
70LINK32=link.exe
71# ADD LINK32 $$MSVCDSP_LIBS $$MSVCDSP_VERSION /subsystem:$$MSVCDSP_SUBSYSTEM $$MSVCDSP_TARGET $$MSVCDSP_LFLAGS /pdbtype:sept $$QMAKE_LFLAGS_DEBUG
72$$MSVCDSP_REGSVR_DBG
73
74!ENDIF
75
76# Begin Target
77
78# Name "$$MSVCDSP_PROJECT - Win32 Release"
79# Name "$$MSVCDSP_PROJECT - Win32 Debug"
80# Begin Group "Source Files"
81
82# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
83$$MSVCDSP_SOURCES
84# End Group
85# Begin Group "Header Files"
86
87# PROP Default_Filter "h;hpp;hxx;hm;inl"
88$$MSVCDSP_HEADERS
89# End Group
90# Begin Group "Resource Files"
91
92# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
93# End Group
94
95$$MSVCDSP_FORMS
96$$MSVCDSP_TRANSLATIONS
97$$MSVCDSP_LEXSOURCES
98$$MSVCDSP_YACCSOURCES
99$$MSVCDSP_PICTURES
100
101# Begin Group "Generated"
102$$MSVCDSP_MOCSOURCES
103$$MSVCDSP_FORMSOURCES
104$$MSVCDSP_FORMHEADERS
105$$MSVCDSP_IMAGES
106$$MSVCDSP_STRIPPEDTRANSLATIONS
107$$MSVCDSP_IDLSOURCES
108# Prop Default_Filter "moc"
109# End Group
110# End Target
111# End Project
diff --git a/mkspecs/win32-icc/win32dll.dsp b/mkspecs/win32-icc/win32dll.dsp
new file mode 100644
index 0000000..78b68d5
--- a/dev/null
+++ b/mkspecs/win32-icc/win32dll.dsp
@@ -0,0 +1,113 @@
1# Microsoft Developer Studio Project File - Name="$$MSVCDSP_PROJECT" - Package Owner=<4>
2# Microsoft Developer Studio Generated Build File, Format Version $$MSVCDSP_VER
3# ** DO NOT EDIT **
4
5# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
6
7CFG=$$MSVCDSP_PROJECT - Win32 $$MSVCDSP_CONFIGMODE
8!MESSAGE This is not a valid makefile. To build this project using NMAKE,
9!MESSAGE use the Export Makefile command and run
10!MESSAGE
11!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak".
12!MESSAGE
13!MESSAGE You can specify a configuration when running NMAKE
14!MESSAGE by defining the macro CFG on the command line. For example:
15!MESSAGE
16!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak" CFG="$$MSVCDSP_PROJECT - Win32 Debug"
17!MESSAGE
18!MESSAGE Possible choices for configuration are:
19!MESSAGE
20!MESSAGE "$$MSVCDSP_PROJECT - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
21!MESSAGE "$$MSVCDSP_PROJECT - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
22!MESSAGE
23
24# Begin Project
25# PROP AllowPerConfigDependencies 0
26# PROP Scc_ProjName ""
27# PROP Scc_LocalPath ""
28CPP=cl.exe
29MTL=midl.exe
30RSC=rc.exe
31
32!IF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Release"
33
34# PROP BASE Use_MFC 0
35# PROP BASE Use_Debug_Libraries 0
36# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRREL"
37# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
38# PROP BASE Target_Dir ""
39# PROP Use_MFC 0
40# PROP Use_Debug_Libraries 0
41# PROP Output_Dir "$$MSVCDSP_TARGETDIRREL"
42# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
43# PROP Ignore_Export_Lib 1
44# PROP Target_Dir ""
45# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE
46# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
47# ADD RSC /l 0x409 /d "NDEBUG"
48BSC32=bscmake.exe
49# ADD BSC32 /nologo
50LINK32=link.exe
51# ADD LINK32 $$MSVCDSP_LIBS /dll $$MSVCDSP_VERSION $$MSVCDSP_TARGET $$MSVCDSP_LFLAGS $$QMAKE_LFLAGS_RELEASE
52$$MSVCDSP_COPY_DLL_REL
53
54!ELSEIF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Debug"
55
56# PROP BASE Use_MFC 0
57# PROP BASE Use_Debug_Libraries 1
58# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRDEB"
59# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
60# PROP BASE Target_Dir ""
61# PROP Use_MFC 0
62# PROP Use_Debug_Libraries 1
63# PROP Output_Dir "$$MSVCDSP_TARGETDIRDEB"
64# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
65# PROP Ignore_Export_Lib 1
66# PROP Target_Dir ""
67# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG
68# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
69# ADD RSC /l 0x409 /d "_DEBUG"
70BSC32=bscmake.exe
71# ADD BSC32 /nologo
72LINK32=link.exe
73# ADD LINK32 $$MSVCDSP_LIBS /dll $$MSVCDSP_VERSION $$MSVCDSP_TARGET $$MSVCDSP_LFLAGS /pdbtype:sept $$QMAKE_LFLAGS_DEBUG
74$$MSVCDSP_COPY_DLL_DBG
75
76!ENDIF
77
78# Begin Target
79
80# Name "$$MSVCDSP_PROJECT - Win32 Release"
81# Name "$$MSVCDSP_PROJECT - Win32 Debug"
82# Begin Group "Source Files"
83
84# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
85$$MSVCDSP_SOURCES
86# End Group
87# Begin Group "Header Files"
88
89# PROP Default_Filter "h;hpp;hxx;hm;inl"
90$$MSVCDSP_HEADERS
91# End Group
92# Begin Group "Resource Files"
93
94# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
95# End Group
96
97$$MSVCDSP_FORMS
98$$MSVCDSP_TRANSLATIONS
99$$MSVCDSP_LEXSOURCES
100$$MSVCDSP_YACCSOURCES
101$$MSVCDSP_PICTURES
102
103# Begin Group "Generated"
104$$MSVCDSP_MOCSOURCES
105$$MSVCDSP_FORMSOURCES
106$$MSVCDSP_FORMHEADERS
107$$MSVCDSP_IMAGES
108$$MSVCDSP_STRIPPEDTRANSLATIONS
109$$MSVCDSP_IDLSOURCES
110# Prop Default_Filter "moc"
111# End Group
112# End Target
113# End Project
diff --git a/mkspecs/win32-icc/win32lib.dsp b/mkspecs/win32-icc/win32lib.dsp
new file mode 100644
index 0000000..70263c0
--- a/dev/null
+++ b/mkspecs/win32-icc/win32lib.dsp
@@ -0,0 +1,105 @@
1# Microsoft Developer Studio Project File - Name="$$MSVCDSP_PROJECT" - Package Owner=<4>
2# Microsoft Developer Studio Generated Build File, Format Version $$MSVCDSP_VER
3# ** DO NOT EDIT **
4
5# TARGTYPE "Win32 (x86) Static Library" 0x0104
6
7CFG=$$MSVCDSP_PROJECT - Win32 $$MSVCDSP_CONFIGMODE
8!MESSAGE This is not a valid makefile. To build this project using NMAKE,
9!MESSAGE use the Export Makefile command and run
10!MESSAGE
11!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak".
12!MESSAGE
13!MESSAGE You can specify a configuration when running NMAKE
14!MESSAGE by defining the macro CFG on the command line. For example:
15!MESSAGE
16!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak" CFG="$$MSVCDSP_PROJECT - Win32 Debug"
17!MESSAGE
18!MESSAGE Possible choices for configuration are:
19!MESSAGE
20!MESSAGE "$$MSVCDSP_PROJECT - Win32 Release" (based on "Win32 (x86) Static Library")
21!MESSAGE "$$MSVCDSP_PROJECT - Win32 Debug" (based on "Win32 (x86) Static Library")
22!MESSAGE
23
24# Begin Project
25# PROP AllowPerConfigDependencies 0
26# PROP Scc_ProjName ""
27# PROP Scc_LocalPath ""
28CPP=cl.exe
29RSC=rc.exe
30
31!IF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Release"
32
33# PROP BASE Use_MFC 0
34# PROP BASE Use_Debug_Libraries 0
35# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRREL"
36# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
37# PROP BASE Target_Dir ""
38# PROP Use_MFC 0
39# PROP Use_Debug_Libraries 0
40# PROP Output_Dir "$$MSVCDSP_TARGETDIRREL"
41# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
42# PROP Target_Dir ""
43# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE
44# ADD RSC /l 0x409 /d "NDEBUG"
45BSC32=bscmake.exe
46# ADD BSC32 /nologo
47LIB32=link.exe -lib
48# ADD LIB32 /nologo $$MSVCDSP_TARGET
49
50!ELSEIF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Debug"
51
52# PROP BASE Use_MFC 0
53# PROP BASE Use_Debug_Libraries 1
54# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRDEB"
55# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
56# PROP BASE Target_Dir ""
57# PROP Use_MFC 0
58# PROP Use_Debug_Libraries 1
59# PROP Output_Dir "$$MSVCDSP_TARGETDIRDEB"
60# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
61# PROP Target_Dir ""
62# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG
63# ADD RSC /l 0x409 /d "_DEBUG"
64BSC32=bscmake.exe
65# ADD BSC32 /nologo
66LIB32=link.exe -lib
67# ADD LIB32 /nologo $$MSVCDSP_TARGET
68
69!ENDIF
70
71# Begin Target
72
73# Name "$$MSVCDSP_PROJECT - Win32 Release"
74# Name "$$MSVCDSP_PROJECT - Win32 Debug"
75# Begin Group "Source Files"
76
77# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
78$$MSVCDSP_SOURCES
79# End Group
80# Begin Group "Header Files"
81
82# PROP Default_Filter "h;hpp;hxx;hm;inl"
83$$MSVCDSP_HEADERS
84# End Group
85# Begin Group "Resource Files"
86
87# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
88# End Group
89
90$$MSVCDSP_FORMS
91$$MSVCDSP_TRANSLATIONS
92$$MSVCDSP_LEXSOURCES
93$$MSVCDSP_YACCSOURCES
94$$MSVCDSP_PICTURES
95
96# Begin Group "Generated"
97$$MSVCDSP_MOCSOURCES
98$$MSVCDSP_FORMSOURCES
99$$MSVCDSP_FORMHEADERS
100$$MSVCDSP_IMAGES
101$$MSVCDSP_STRIPPEDTRANSLATIONS
102# Prop Default_Filter "moc"
103# End Group
104# End Target
105# End Project
diff --git a/mkspecs/win32-msvc.net/qmake.conf b/mkspecs/win32-msvc.net/qmake.conf
new file mode 100644
index 0000000..bcc1ea7
--- a/dev/null
+++ b/mkspecs/win32-msvc.net/qmake.conf
@@ -0,0 +1,104 @@
1#
2# $Id$
3#
4# qmake configuration for Win32/Microsoft C++.NET
5#
6
7 MAKEFILE_GENERATOR= MSVC.NET
8 TEMPLATE = app
9 CONFIG += qt warn_on release incremental
10 DEFINES += UNICODE WIN32 NDEBUG
11
12exists( $(QTDIR)\.qtwinconfig ) {
13 include( $(QTDIR)\.qtwinconfig )
14}
15
16 QMAKE_CC = cl
17 QMAKE_LEX = flex
18 QMAKE_LEXFLAGS =
19 QMAKE_YACC = byacc
20 QMAKE_YACCFLAGS = -d
21 QMAKE_CFLAGS = -nologo -Zm200
22 QMAKE_CFLAGS_WARN_ON= -W3
23 QMAKE_CFLAGS_WARN_OFF= -W0
24 QMAKE_CFLAGS_RELEASE= -O1
25 QMAKE_CFLAGS_DEBUG= -Z7
26 QMAKE_CFLAGS_MT = -MD
27 QMAKE_CFLAGS_MT_DBG= -MD
28 QMAKE_CFLAGS_MT_DLL= -MD
29 QMAKE_CFLAGS_MT_DLLDBG= -MD
30 QMAKE_CFLAGS_ST = -ML
31 QMAKE_CFLAGS_ST_DBG= -MLd
32 QMAKE_CFLAGS_YACC=
33
34contains(CONFIG,stl){
35 QMAKE_CFLAGS+= -GX
36}
37contains(CONFIG,exceptions){
38 QMAKE_CFLAGS += -GX
39}
40contains(CONFIG,rtti){
41 QMAKE_CFLAGS+= -GR
42}
43
44 QMAKE_CXX = $$QMAKE_CC
45 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
46 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
47 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
48 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
49 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
50 QMAKE_CXXFLAGS_MT= $$QMAKE_CFLAGS_MT
51 QMAKE_CXXFLAGS_MT_DBG= $$QMAKE_CFLAGS_MT_DBG
52 QMAKE_CXXFLAGS_MT_DLL= $$QMAKE_CFLAGS_MT_DLL
53QMAKE_CXXFLAGS_MT_DLLDBG= $$QMAKE_CFLAGS_MT_DLLDBG
54 QMAKE_CXXFLAGS_ST= $$QMAKE_CFLAGS_ST
55 QMAKE_CXXFLAGS_ST_DBG= $$QMAKE_CFLAGS_ST_DBG
56 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
57 QMAKE_CXXFLAGS_STL= $$QMAKE_CFLAGS_STL
58
59 QMAKE_INCDIR =
60 QMAKE_INCDIR_QT = $(QTDIR)\include
61 QMAKE_LIBDIR_QT = $(QTDIR)\lib
62
63 QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
64 QMAKE_RUN_CC_IMP= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
65 QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
66 QMAKE_RUN_CXX_IMP= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
67
68 QMAKE_LINK = link
69 QMAKE_LFLAGS = /NOLOGO
70 QMAKE_LFLAGS_RELEASE= /DELAYLOAD:comdlg32.dll /DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.dll /DELAYLOAD:wsock32.dll /DELAYLOAD:winspool.dll
71 QMAKE_LFLAGS_DEBUG= /DEBUG
72 QMAKE_LFLAGS_CONSOLE= /SUBSYSTEM:CONSOLE
73 QMAKE_LFLAGS_WINDOWS= /SUBSYSTEM:WINDOWS
74QMAKE_LFLAGS_CONSOLE_DLL= /SUBSYSTEM:CONSOLE /DLL
75QMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:WINDOWS /DLL
76 QMAKE_LFLAGS_QT_DLL= /BASE:0x39D00000
77
78 QMAKE_LIBS =
79 QMAKE_LIBS_CONSOLE=
80 QMAKE_LIBS_WINDOWS= kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib winspool.lib
81 QMAKE_LIBS_QT = qt.lib
82 QMAKE_LIBS_QT_THREAD= qt-mt.lib
83 QMAKE_LIBS_QT_ENTRY= qtmain.lib
84
85 QMAKE_LIBS_OPENGL= opengl32.lib glu32.lib delayimp.lib
86 QMAKE_LFLAGS_OPENGL= /DELAYLOAD:opengl32.dll
87
88 QMAKE_MOC = $(QTDIR)\bin\moc.exe
89 QMAKE_UIC = $(QTDIR)\bin\uic.exe
90 QMAKE_IDC = $(QTDIR)\bin\idc.exe
91
92 QMAKE_IDL = midl
93 QMAKE_LIB = lib /NOLOGO
94 QMAKE_RC = rc
95
96 QMAKE_ZIP = zip -r -9
97
98 QMAKE_COPY = copy
99 QMAKE_MOVE = move
100 QMAKE_DEL_FILE = del
101 QMAKE_DEL_DIR = deltree
102
103 VCPROJ_EXTENSION= .vcproj
104 VCSOLUTION_EXTENSION= .vcs
diff --git a/mkspecs/win32-msvc.net/qplatformdefs.h b/mkspecs/win32-msvc.net/qplatformdefs.h
new file mode 100644
index 0000000..76ed8af
--- a/dev/null
+++ b/mkspecs/win32-msvc.net/qplatformdefs.h
@@ -0,0 +1,87 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4#ifdef UNICODE
5#ifndef _UNICODE
6#define _UNICODE
7#endif
8#endif
9
10// Get Qt defines/settings
11
12#include "qglobal.h"
13
14#define _POSIX_
15#include <limits.h>
16#undef _POSIX_
17
18#include <tchar.h>
19#include <io.h>
20#include <direct.h>
21#include <stdio.h>
22#include <fcntl.h>
23#include <errno.h>
24#include <sys/stat.h>
25#include <stdlib.h>
26#include <windows.h>
27
28#define Q_FS_FAT
29#ifdef QT_LARGE_FILE_SUPPORT
30 #define QT_STATBUF struct _stati64 // non-ANSI defs
31 #define QT_STATBUF4TSTAT struct _stati64 // non-ANSI defs
32 #define QT_STAT ::_stati64
33 #define QT_FSTAT ::_fstati64
34#else
35 #define QT_STATBUF struct _stat // non-ANSI defs
36 #define QT_STATBUF4TSTAT struct _stat // non-ANSI defs
37 #define QT_STAT ::_stat
38 #define QT_FSTAT ::_fstat
39#endif
40 #define QT_STAT_REG _S_IFREG
41 #define QT_STAT_DIR _S_IFDIR
42 #define QT_STAT_MASK _S_IFMT
43#if defined(_S_IFLNK)
44 # define QT_STAT_LNK _S_IFLNK
45#endif
46 #define QT_FILENO _fileno
47 #define QT_OPEN ::_open
48 #define QT_CLOSE ::_close
49#ifdef QT_LARGE_FILE_SUPPORT
50 #define QT_LSEEK ::_lseeki64
51 #define QT_TSTAT ::_tstati64
52#else
53 #define QT_LSEEK ::_lseek
54 #define QT_TSTAT ::_tstat
55#endif
56 #define QT_READ ::_read
57 #define QT_WRITE ::_write
58 #define QT_ACCESS ::_access
59 #define QT_GETCWD ::_getcwd
60 #define QT_CHDIR ::_chdir
61 #define QT_MKDIR ::_mkdir
62 #define QT_RMDIR ::_rmdir
63 #define QT_OPEN_RDONLY _O_RDONLY
64 #define QT_OPEN_WRONLY _O_WRONLY
65 #define QT_OPEN_RDWR _O_RDWR
66 #define QT_OPEN_CREAT _O_CREAT
67 #define QT_OPEN_TRUNC _O_TRUNC
68 #define QT_OPEN_APPEND _O_APPEND
69#if defined(O_TEXT)
70 # define QT_OPEN_TEXT _O_TEXT
71 # define QT_OPEN_BINARY _O_BINARY
72#endif
73
74 #define QT_SIGNAL_ARGS int
75
76 #define QT_VSNPRINTF ::_vsnprintf
77 #define QT_SNPRINTF ::_snprintf
78
79 # define F_OK0
80 # define X_OK1
81 # define W_OK2
82 # define R_OK4
83
84typedef int mode_t;
85
86
87#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/win32-msvc/qmake.conf b/mkspecs/win32-msvc/qmake.conf
new file mode 100644
index 0000000..19462e4
--- a/dev/null
+++ b/mkspecs/win32-msvc/qmake.conf
@@ -0,0 +1,99 @@
1#
2# $Id$
3#
4# qmake configuration for Win32/Microsoft C++
5#
6
7 MAKEFILE_GENERATOR= MSVC
8 TEMPLATE = app
9 CONFIG += qt warn_on release incremental flat
10 DEFINES += UNICODE
11
12exists( $(QTDIR)\.qtwinconfig ) {
13 include( $(QTDIR)\.qtwinconfig )
14}
15
16 QMAKE_CC = cl
17 QMAKE_LEX = flex
18 QMAKE_LEXFLAGS =
19 QMAKE_YACC = byacc
20 QMAKE_YACCFLAGS = -d
21 QMAKE_CFLAGS = -nologo -Zm200
22 QMAKE_CFLAGS_WARN_ON= -W3
23 QMAKE_CFLAGS_WARN_OFF= -W0
24 QMAKE_CFLAGS_RELEASE= -O1
25 QMAKE_CFLAGS_DEBUG= -Zi
26 QMAKE_CFLAGS_MT = -MD
27 QMAKE_CFLAGS_MT_DBG= -MDd
28 QMAKE_CFLAGS_MT_DLL= -MD
29 QMAKE_CFLAGS_MT_DLLDBG= -MDd
30 QMAKE_CFLAGS_YACC=
31
32contains(CONFIG,stl){
33 QMAKE_CFLAGS+= -GX
34}
35contains(CONFIG,exceptions){
36 QMAKE_CFLAGS += -GX
37}
38contains(CONFIG,rtti){
39 QMAKE_CFLAGS+= -GR
40}
41
42 QMAKE_CXX = $$QMAKE_CC
43 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
44 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
45 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
46 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
47 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
48 QMAKE_CXXFLAGS_MT= $$QMAKE_CFLAGS_MT
49 QMAKE_CXXFLAGS_MT_DBG= $$QMAKE_CFLAGS_MT_DBG
50 QMAKE_CXXFLAGS_MT_DLL= $$QMAKE_CFLAGS_MT_DLL
51QMAKE_CXXFLAGS_MT_DLLDBG= $$QMAKE_CFLAGS_MT_DLLDBG
52 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
53 QMAKE_CXXFLAGS_STL= $$QMAKE_CFLAGS_STL
54
55 QMAKE_INCDIR =
56 QMAKE_INCDIR_QT = $(QTDIR)\include
57 QMAKE_LIBDIR_QT = $(QTDIR)\lib
58
59 QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
60 QMAKE_RUN_CC_IMP= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
61 QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
62 QMAKE_RUN_CXX_IMP= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<
63
64 QMAKE_LINK = link
65 QMAKE_LFLAGS = /NOLOGO
66 QMAKE_LFLAGS_RELEASE= delayimp.lib /DELAYLOAD:comdlg32.dll /DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.dll /DELAYLOAD:wsock32.dll /DELAYLOAD:winspool.dll
67 QMAKE_LFLAGS_DEBUG= /DEBUG
68 QMAKE_LFLAGS_CONSOLE= /SUBSYSTEM:console
69 QMAKE_LFLAGS_WINDOWS= /SUBSYSTEM:windows
70QMAKE_LFLAGS_CONSOLE_DLL= /SUBSYSTEM:console /DLL
71QMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:windows /DLL
72 QMAKE_LFLAGS_QT_DLL= /BASE:0x39D00000
73
74 QMAKE_LIBS =
75 QMAKE_LIBS_CONSOLE=
76 QMAKE_LIBS_WINDOWS= kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib imm32.lib winmm.lib wsock32.lib winspool.lib
77 QMAKE_LIBS_QT = qt.lib
78 QMAKE_LIBS_QT_THREAD= qt-mt.lib
79 QMAKE_LIBS_QT_ENTRY= qtmain.lib
80
81 QMAKE_LIBS_OPENGL= opengl32.lib glu32.lib delayimp.lib
82 QMAKE_LFLAGS_OPENGL= /DELAYLOAD:opengl32.dll
83
84 QMAKE_MOC = $(QTDIR)\bin\moc.exe
85 QMAKE_UIC = $(QTDIR)\bin\uic.exe
86 QMAKE_IDC = $(QTDIR)\bin\idc.exe
87
88 QMAKE_IDL = midl
89 QMAKE_LIB = lib /NOLOGO
90 QMAKE_RC = rc
91
92 QMAKE_ZIP = zip -r -9
93
94 QMAKE_COPY = copy
95 QMAKE_MOVE = move
96 QMAKE_DEL_FILE = del
97 QMAKE_DEL_DIR = deltree
98
99 DSP_EXTENSION = .dsp
diff --git a/mkspecs/win32-msvc/qplatformdefs.h b/mkspecs/win32-msvc/qplatformdefs.h
new file mode 100644
index 0000000..76ed8af
--- a/dev/null
+++ b/mkspecs/win32-msvc/qplatformdefs.h
@@ -0,0 +1,87 @@
1#ifndef QPLATFORMDEFS_H
2#define QPLATFORMDEFS_H
3
4#ifdef UNICODE
5#ifndef _UNICODE
6#define _UNICODE
7#endif
8#endif
9
10// Get Qt defines/settings
11
12#include "qglobal.h"
13
14#define _POSIX_
15#include <limits.h>
16#undef _POSIX_
17
18#include <tchar.h>
19#include <io.h>
20#include <direct.h>
21#include <stdio.h>
22#include <fcntl.h>
23#include <errno.h>
24#include <sys/stat.h>
25#include <stdlib.h>
26#include <windows.h>
27
28#define Q_FS_FAT
29#ifdef QT_LARGE_FILE_SUPPORT
30 #define QT_STATBUF struct _stati64 // non-ANSI defs
31 #define QT_STATBUF4TSTAT struct _stati64 // non-ANSI defs
32 #define QT_STAT ::_stati64
33 #define QT_FSTAT ::_fstati64
34#else
35 #define QT_STATBUF struct _stat // non-ANSI defs
36 #define QT_STATBUF4TSTAT struct _stat // non-ANSI defs
37 #define QT_STAT ::_stat
38 #define QT_FSTAT ::_fstat
39#endif
40 #define QT_STAT_REG _S_IFREG
41 #define QT_STAT_DIR _S_IFDIR
42 #define QT_STAT_MASK _S_IFMT
43#if defined(_S_IFLNK)
44 # define QT_STAT_LNK _S_IFLNK
45#endif
46 #define QT_FILENO _fileno
47 #define QT_OPEN ::_open
48 #define QT_CLOSE ::_close
49#ifdef QT_LARGE_FILE_SUPPORT
50 #define QT_LSEEK ::_lseeki64
51 #define QT_TSTAT ::_tstati64
52#else
53 #define QT_LSEEK ::_lseek
54 #define QT_TSTAT ::_tstat
55#endif
56 #define QT_READ ::_read
57 #define QT_WRITE ::_write
58 #define QT_ACCESS ::_access
59 #define QT_GETCWD ::_getcwd
60 #define QT_CHDIR ::_chdir
61 #define QT_MKDIR ::_mkdir
62 #define QT_RMDIR ::_rmdir
63 #define QT_OPEN_RDONLY _O_RDONLY
64 #define QT_OPEN_WRONLY _O_WRONLY
65 #define QT_OPEN_RDWR _O_RDWR
66 #define QT_OPEN_CREAT _O_CREAT
67 #define QT_OPEN_TRUNC _O_TRUNC
68 #define QT_OPEN_APPEND _O_APPEND
69#if defined(O_TEXT)
70 # define QT_OPEN_TEXT _O_TEXT
71 # define QT_OPEN_BINARY _O_BINARY
72#endif
73
74 #define QT_SIGNAL_ARGS int
75
76 #define QT_VSNPRINTF ::_vsnprintf
77 #define QT_SNPRINTF ::_snprintf
78
79 # define F_OK0
80 # define X_OK1
81 # define W_OK2
82 # define R_OK4
83
84typedef int mode_t;
85
86
87#endif // QPLATFORMDEFS_H
diff --git a/mkspecs/win32-msvc/win32app.dsp b/mkspecs/win32-msvc/win32app.dsp
new file mode 100644
index 0000000..d09aa86
--- a/dev/null
+++ b/mkspecs/win32-msvc/win32app.dsp
@@ -0,0 +1,111 @@
1# Microsoft Developer Studio Project File - Name="$$MSVCDSP_PROJECT" - Package Owner=<4>
2# Microsoft Developer Studio Generated Build File, Format Version $$MSVCDSP_VER
3# ** DO NOT EDIT **
4
5# TARGTYPE "Win32 (x86) $$MSVCDSP_CONSOLE Application" $$MSVCDSP_DSPTYPE
6
7CFG=$$MSVCDSP_PROJECT - Win32 $$MSVCDSP_CONFIGMODE
8!MESSAGE This is not a valid makefile. To build this project using NMAKE,
9!MESSAGE use the Export Makefile command and run
10!MESSAGE
11!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak".
12!MESSAGE
13!MESSAGE You can specify a configuration when running NMAKE
14!MESSAGE by defining the macro CFG on the command line. For example:
15!MESSAGE
16!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak" CFG="$$MSVCDSP_PROJECT - Win32 Debug"
17!MESSAGE
18!MESSAGE Possible choices for configuration are:
19!MESSAGE
20!MESSAGE "$$MSVCDSP_PROJECT - Win32 Release" (based on "Win32 (x86) Application")
21!MESSAGE "$$MSVCDSP_PROJECT - Win32 Debug" (based on "Win32 (x86) Application")
22!MESSAGE
23
24# Begin Project
25# PROP AllowPerConfigDependencies 0
26# PROP Scc_ProjName ""
27# PROP Scc_LocalPath ""
28CPP=cl.exe
29MTL=midl.exe
30RSC=rc.exe
31
32!IF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Release"
33
34# PROP BASE Use_MFC 0
35# PROP BASE Use_Debug_Libraries 0
36# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRREL"
37# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
38# PROP BASE Target_Dir ""
39# PROP Use_MFC 0
40# PROP Use_Debug_Libraries 0
41# PROP Output_Dir "$$MSVCDSP_TARGETDIRREL"
42# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
43# PROP Target_Dir ""
44# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "$$MSVCDSP_WINCONDEF" /D "_MBCS" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE
45# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
46# ADD RSC /l 0x409 /d "NDEBUG"
47BSC32=bscmake.exe
48# ADD BSC32 /nologo
49LINK32=link.exe
50# ADD LINK32 $$MSVCDSP_LIBS $$MSVCDSP_VERSION /subsystem:$$MSVCDSP_SUBSYSTEM $$MSVCDSP_TARGET $$MSVCDSP_LFLAGS $$QMAKE_LFLAGS_RELEASE
51$$MSVCDSP_REGSVR_REL
52
53!ELSEIF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Debug"
54
55# PROP BASE Use_MFC 0
56# PROP BASE Use_Debug_Libraries 1
57# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRDEB"
58# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
59# PROP BASE Target_Dir ""
60# PROP Use_MFC 0
61# PROP Use_Debug_Libraries 1
62# PROP Output_Dir "$$MSVCDSP_TARGETDIRDEB"
63# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
64# PROP Target_Dir ""
65# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "$$MSVCDSP_WINCONDEF" /D "_MBCS" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG
66# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
67# ADD RSC /l 0x409 /d "_DEBUG"
68BSC32=bscmake.exe
69# ADD BSC32 /nologo
70LINK32=link.exe
71# ADD LINK32 $$MSVCDSP_LIBS $$MSVCDSP_VERSION /subsystem:$$MSVCDSP_SUBSYSTEM $$MSVCDSP_TARGET $$MSVCDSP_LFLAGS /pdbtype:sept $$QMAKE_LFLAGS_DEBUG
72$$MSVCDSP_REGSVR_DBG
73
74!ENDIF
75
76# Begin Target
77
78# Name "$$MSVCDSP_PROJECT - Win32 Release"
79# Name "$$MSVCDSP_PROJECT - Win32 Debug"
80# Begin Group "Source Files"
81
82# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
83$$MSVCDSP_SOURCES
84# End Group
85# Begin Group "Header Files"
86
87# PROP Default_Filter "h;hpp;hxx;hm;inl"
88$$MSVCDSP_HEADERS
89# End Group
90# Begin Group "Resource Files"
91
92# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
93# End Group
94
95$$MSVCDSP_FORMS
96$$MSVCDSP_TRANSLATIONS
97$$MSVCDSP_LEXSOURCES
98$$MSVCDSP_YACCSOURCES
99$$MSVCDSP_PICTURES
100
101# Begin Group "Generated"
102$$MSVCDSP_MOCSOURCES
103$$MSVCDSP_FORMSOURCES
104$$MSVCDSP_FORMHEADERS
105$$MSVCDSP_IMAGES
106$$MSVCDSP_STRIPPEDTRANSLATIONS
107$$MSVCDSP_IDLSOURCES
108# Prop Default_Filter "moc"
109# End Group
110# End Target
111# End Project
diff --git a/mkspecs/win32-msvc/win32dll.dsp b/mkspecs/win32-msvc/win32dll.dsp
new file mode 100644
index 0000000..78b68d5
--- a/dev/null
+++ b/mkspecs/win32-msvc/win32dll.dsp
@@ -0,0 +1,113 @@
1# Microsoft Developer Studio Project File - Name="$$MSVCDSP_PROJECT" - Package Owner=<4>
2# Microsoft Developer Studio Generated Build File, Format Version $$MSVCDSP_VER
3# ** DO NOT EDIT **
4
5# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
6
7CFG=$$MSVCDSP_PROJECT - Win32 $$MSVCDSP_CONFIGMODE
8!MESSAGE This is not a valid makefile. To build this project using NMAKE,
9!MESSAGE use the Export Makefile command and run
10!MESSAGE
11!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak".
12!MESSAGE
13!MESSAGE You can specify a configuration when running NMAKE
14!MESSAGE by defining the macro CFG on the command line. For example:
15!MESSAGE
16!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak" CFG="$$MSVCDSP_PROJECT - Win32 Debug"
17!MESSAGE
18!MESSAGE Possible choices for configuration are:
19!MESSAGE
20!MESSAGE "$$MSVCDSP_PROJECT - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
21!MESSAGE "$$MSVCDSP_PROJECT - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
22!MESSAGE
23
24# Begin Project
25# PROP AllowPerConfigDependencies 0
26# PROP Scc_ProjName ""
27# PROP Scc_LocalPath ""
28CPP=cl.exe
29MTL=midl.exe
30RSC=rc.exe
31
32!IF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Release"
33
34# PROP BASE Use_MFC 0
35# PROP BASE Use_Debug_Libraries 0
36# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRREL"
37# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
38# PROP BASE Target_Dir ""
39# PROP Use_MFC 0
40# PROP Use_Debug_Libraries 0
41# PROP Output_Dir "$$MSVCDSP_TARGETDIRREL"
42# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
43# PROP Ignore_Export_Lib 1
44# PROP Target_Dir ""
45# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" $$MSVCDSP_DEFINES $$MSVCDSP_RELDEFS /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE
46# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
47# ADD RSC /l 0x409 /d "NDEBUG"
48BSC32=bscmake.exe
49# ADD BSC32 /nologo
50LINK32=link.exe
51# ADD LINK32 $$MSVCDSP_LIBS /dll $$MSVCDSP_VERSION $$MSVCDSP_TARGET $$MSVCDSP_LFLAGS $$QMAKE_LFLAGS_RELEASE
52$$MSVCDSP_COPY_DLL_REL
53
54!ELSEIF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Debug"
55
56# PROP BASE Use_MFC 0
57# PROP BASE Use_Debug_Libraries 1
58# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRDEB"
59# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
60# PROP BASE Target_Dir ""
61# PROP Use_MFC 0
62# PROP Use_Debug_Libraries 1
63# PROP Output_Dir "$$MSVCDSP_TARGETDIRDEB"
64# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
65# PROP Ignore_Export_Lib 1
66# PROP Target_Dir ""
67# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG
68# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
69# ADD RSC /l 0x409 /d "_DEBUG"
70BSC32=bscmake.exe
71# ADD BSC32 /nologo
72LINK32=link.exe
73# ADD LINK32 $$MSVCDSP_LIBS /dll $$MSVCDSP_VERSION $$MSVCDSP_TARGET $$MSVCDSP_LFLAGS /pdbtype:sept $$QMAKE_LFLAGS_DEBUG
74$$MSVCDSP_COPY_DLL_DBG
75
76!ENDIF
77
78# Begin Target
79
80# Name "$$MSVCDSP_PROJECT - Win32 Release"
81# Name "$$MSVCDSP_PROJECT - Win32 Debug"
82# Begin Group "Source Files"
83
84# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
85$$MSVCDSP_SOURCES
86# End Group
87# Begin Group "Header Files"
88
89# PROP Default_Filter "h;hpp;hxx;hm;inl"
90$$MSVCDSP_HEADERS
91# End Group
92# Begin Group "Resource Files"
93
94# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
95# End Group
96
97$$MSVCDSP_FORMS
98$$MSVCDSP_TRANSLATIONS
99$$MSVCDSP_LEXSOURCES
100$$MSVCDSP_YACCSOURCES
101$$MSVCDSP_PICTURES
102
103# Begin Group "Generated"
104$$MSVCDSP_MOCSOURCES
105$$MSVCDSP_FORMSOURCES
106$$MSVCDSP_FORMHEADERS
107$$MSVCDSP_IMAGES
108$$MSVCDSP_STRIPPEDTRANSLATIONS
109$$MSVCDSP_IDLSOURCES
110# Prop Default_Filter "moc"
111# End Group
112# End Target
113# End Project
diff --git a/mkspecs/win32-msvc/win32lib.dsp b/mkspecs/win32-msvc/win32lib.dsp
new file mode 100644
index 0000000..70263c0
--- a/dev/null
+++ b/mkspecs/win32-msvc/win32lib.dsp
@@ -0,0 +1,105 @@
1# Microsoft Developer Studio Project File - Name="$$MSVCDSP_PROJECT" - Package Owner=<4>
2# Microsoft Developer Studio Generated Build File, Format Version $$MSVCDSP_VER
3# ** DO NOT EDIT **
4
5# TARGTYPE "Win32 (x86) Static Library" 0x0104
6
7CFG=$$MSVCDSP_PROJECT - Win32 $$MSVCDSP_CONFIGMODE
8!MESSAGE This is not a valid makefile. To build this project using NMAKE,
9!MESSAGE use the Export Makefile command and run
10!MESSAGE
11!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak".
12!MESSAGE
13!MESSAGE You can specify a configuration when running NMAKE
14!MESSAGE by defining the macro CFG on the command line. For example:
15!MESSAGE
16!MESSAGE NMAKE /f "$$MSVCDSP_PROJECT.mak" CFG="$$MSVCDSP_PROJECT - Win32 Debug"
17!MESSAGE
18!MESSAGE Possible choices for configuration are:
19!MESSAGE
20!MESSAGE "$$MSVCDSP_PROJECT - Win32 Release" (based on "Win32 (x86) Static Library")
21!MESSAGE "$$MSVCDSP_PROJECT - Win32 Debug" (based on "Win32 (x86) Static Library")
22!MESSAGE
23
24# Begin Project
25# PROP AllowPerConfigDependencies 0
26# PROP Scc_ProjName ""
27# PROP Scc_LocalPath ""
28CPP=cl.exe
29RSC=rc.exe
30
31!IF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Release"
32
33# PROP BASE Use_MFC 0
34# PROP BASE Use_Debug_Libraries 0
35# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRREL"
36# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
37# PROP BASE Target_Dir ""
38# PROP Use_MFC 0
39# PROP Use_Debug_Libraries 0
40# PROP Output_Dir "$$MSVCDSP_TARGETDIRREL"
41# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRREL"
42# PROP Target_Dir ""
43# ADD CPP $$MSVCDSP_MTDEF /W3 $$MSVCDSP_INCPATH /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_RELEASE
44# ADD RSC /l 0x409 /d "NDEBUG"
45BSC32=bscmake.exe
46# ADD BSC32 /nologo
47LIB32=link.exe -lib
48# ADD LIB32 /nologo $$MSVCDSP_TARGET
49
50!ELSEIF "$(CFG)" == "$$MSVCDSP_PROJECT - Win32 Debug"
51
52# PROP BASE Use_MFC 0
53# PROP BASE Use_Debug_Libraries 1
54# PROP BASE Output_Dir "$$MSVCDSP_TARGETDIRDEB"
55# PROP BASE Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
56# PROP BASE Target_Dir ""
57# PROP Use_MFC 0
58# PROP Use_Debug_Libraries 1
59# PROP Output_Dir "$$MSVCDSP_TARGETDIRDEB"
60# PROP Intermediate_Dir "$$MSVCDSP_OBJECTSDIRDEB"
61# PROP Target_Dir ""
62# ADD CPP $$MSVCDSP_MTDEFD /W3 /Gm $$MSVCDSP_DEBUG_OPT /Od $$MSVCDSP_INCPATH /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" $$MSVCDSP_DEFINES /FD /c $$MSVCDSP_CXXFLAGS $$QMAKE_CXXFLAGS_DEBUG
63# ADD RSC /l 0x409 /d "_DEBUG"
64BSC32=bscmake.exe
65# ADD BSC32 /nologo
66LIB32=link.exe -lib
67# ADD LIB32 /nologo $$MSVCDSP_TARGET
68
69!ENDIF
70
71# Begin Target
72
73# Name "$$MSVCDSP_PROJECT - Win32 Release"
74# Name "$$MSVCDSP_PROJECT - Win32 Debug"
75# Begin Group "Source Files"
76
77# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
78$$MSVCDSP_SOURCES
79# End Group
80# Begin Group "Header Files"
81
82# PROP Default_Filter "h;hpp;hxx;hm;inl"
83$$MSVCDSP_HEADERS
84# End Group
85# Begin Group "Resource Files"
86
87# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
88# End Group
89
90$$MSVCDSP_FORMS
91$$MSVCDSP_TRANSLATIONS
92$$MSVCDSP_LEXSOURCES
93$$MSVCDSP_YACCSOURCES
94$$MSVCDSP_PICTURES
95
96# Begin Group "Generated"
97$$MSVCDSP_MOCSOURCES
98$$MSVCDSP_FORMSOURCES
99$$MSVCDSP_FORMHEADERS
100$$MSVCDSP_IMAGES
101$$MSVCDSP_STRIPPEDTRANSLATIONS
102# Prop Default_Filter "moc"
103# End Group
104# End Target
105# End Project
diff --git a/mkspecs/win32-visage/qmake.conf b/mkspecs/win32-visage/qmake.conf
new file mode 100644
index 0000000..ff6a1db
--- a/dev/null
+++ b/mkspecs/win32-visage/qmake.conf
@@ -0,0 +1,67 @@
1#
2# $Id$
3#
4# qmake configuration for Win32/IBM Visual Age
5#
6
7 TEMPLATE = app
8 CONFIG += qt warn_on release
9
10 QMAKE_CC = icc -C
11 QMAKE_LEX = flex
12 QMAKE_LEXFLAGS =
13 QMAKE_YACC = byacc
14 QMAKE_YACCFLAGS = -d
15 QMAKE_CFLAGS = -Q -Ft -Gd -Gm+ -qrtti=all
16 QMAKE_CFLAGS_WARN_ON= -W3
17 QMAKE_CFLAGS_WARN_OFF= -W0
18 QMAKE_CFLAGS_RELEASE= -Gl+ -O -Oc+
19 QMAKE_CFLAGS_DEBUG= -Fb* -Ti -Tm
20 QMAKE_CFLAGS_YACC=
21
22 QMAKE_CXX = $$QMAKE_CC
23 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
24 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
25 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
26 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
27 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
28 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
29
30 QMAKE_INCDIR =
31 QMAKE_INCDIR_QT = $(QTDIR)\include
32
33 QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -Fo"$obj" $src
34 QMAKE_RUN_CC_IMP= $(CC) -c $(CFLAGS) $(INCPATH) -Fo"$@" $<
35 QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo"$obj" $src
36 QMAKE_RUN_CXX_IMP= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo"$@" $<
37
38 QMAKE_LINK = icc -Tdp $(CFLAGS)
39 QMAKE_LFLAGS = -nologo -code:RX -data:RW -def -noe
40 QMAKE_LFLAGS_RELEASE= -OPTF
41 QMAKE_LFLAGS_DEBUG= -de -br
42 QMAKE_LFLAGS_CONSOLE= -pmtype:vio
43 QMAKE_LFLAGS_WINDOWS= -pmtype:pm
44QMAKE_LFLAGS_CONSOLE_DLL= -DLL
45QMAKE_LFLAGS_WINDOWS_DLL= -DLL
46
47 QMAKE_LIBS =
48 QMAKE_LIBS_CONSOLE=
49 QMAKE_LIBS_WINDOWS= user32.lib gdi32.lib comdlg32.lib imm32.lib winmm.lib ole32.lib uuid.lib wsock32.lib
50 QMAKE_LIBS_QT = $(QTDIR)\lib\qt.lib
51 QMAKE_LIBS_QT_ENTRY= $(QTDIR)\lib\qtmain.lib
52
53 QMAKE_LIBS_OPENGL= opengl32.lib glu32.lib
54
55 QMAKE_MOC = $(QTDIR)/bin/moc.exe
56 QMAKE_UIC = $(QTDIR)/bin/uic.exe
57 QMAKE_IDC = $(QTDIR)/bin/idc.exe
58
59 QMAKE_LIB = ilib
60 QMAKE_RC = rc
61
62 QMAKE_ZIP = zip -r -9
63
64 QMAKE_COPY = copy
65 QMAKE_MOVE = move
66 QMAKE_DEL_FILE = del
67 QMAKE_DEL_DIR = deltree
diff --git a/mkspecs/win32-watcom/qmake.conf b/mkspecs/win32-watcom/qmake.conf
new file mode 100644
index 0000000..d034fe2
--- a/dev/null
+++ b/mkspecs/win32-watcom/qmake.conf
@@ -0,0 +1,65 @@
1#
2# $Id$
3#
4# qmake configuration for Win32/Watcom C++
5#
6
7 TEMPLATE = app
8 CONFIG += qt warn_on release
9
10 QMAKE_CC = wcl386
11 QMAKE_LEX = flex
12 QMAKE_LEXFLAGS =
13 QMAKE_YACC = byacc
14 QMAKE_YACCFLAGS = -d
15 QMAKE_CFLAGS = -zq
16 QMAKE_CFLAGS_WARN_ON= -w2
17 QMAKE_CFLAGS_WARN_OFF= -w0
18 QMAKE_CFLAGS_RELEASE= -ox
19 QMAKE_CFLAGS_DEBUG= -d2
20 QMAKE_CFLAGS_YACC=
21
22 QMAKE_CXX = $$QMAKE_CC
23 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
24 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
25 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
26 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
27 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
28 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
29
30 QMAKE_INCDIR =
31 QMAKE_INCDIR_QT = $(QTDIR)\include
32
33 QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -fo=$obj $src
34 QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -fo=$obj $src
35
36 QMAKE_LINK = wlink
37 QMAKE_LFLAGS = op quiet op c
38 QMAKE_LFLAGS_RELEASE=
39 QMAKE_LFLAGS_DEBUG= d all
40 QMAKE_LFLAGS_CONSOLE= sys nt
41 QMAKE_LFLAGS_WINDOWS= sys nt_win
42QMAKE_LFLAGS_CONSOLE_DLL= sys nt
43QMAKE_LFLAGS_WINDOWS_DLL= sys nt_win
44
45 QMAKE_LIBS =
46 QMAKE_LIBS_CONSOLE=
47 QMAKE_LIBS_WINDOWS=
48 QMAKE_LIBS_QT = %QTDIR%\lib\qt.lib
49 QMAKE_LIBS_QT_ENTRY= %QTDIR%\lib\qtmain.lib
50
51 QMAKE_LIBS_OPENGL= opengl32.lib
52
53 QMAKE_MOC = $(QTDIR)/bin/moc.exe
54 QMAKE_UIC = $(QTDIR)/bin/uic.exe
55 QMAKE_IDC = $(QTDIR)/bin/idc.exe
56
57 QMAKE_LIB = wlib -b -c -n -q -p=512
58 QMAKE_RC = rc
59
60 QMAKE_ZIP = zip -r -9
61
62 QMAKE_COPY = copy
63 QMAKE_MOVE = move
64 QMAKE_DEL_FILE = del
65 QMAKE_DEL_DIR = deltree