author | zecke <zecke> | 2004-07-18 19:32:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-07-18 19:32:20 (UTC) |
commit | 8795812a0d763742a5273f356c35313af0fed84d (patch) (unidiff) | |
tree | 34b7259e1595e53e1fa2069d7d79bbdef67293e8 /mkspecs/hpuxi-acc-32/qmake.conf | |
parent | 8e8fcd65b8d8657650728bae604c5a34dc31338e (diff) | |
download | opie-8795812a0d763742a5273f356c35313af0fed84d.zip opie-8795812a0d763742a5273f356c35313af0fed84d.tar.gz opie-8795812a0d763742a5273f356c35313af0fed84d.tar.bz2 |
-CHECK if DIR exist added to qmake.conf's
-use arm-linux-g++ for linking now
hopefully not removed anything important
Added python tool to opiefy mkspecs
Diffstat (limited to 'mkspecs/hpuxi-acc-32/qmake.conf') (more/less context) (show whitespace changes)
-rw-r--r-- | mkspecs/hpuxi-acc-32/qmake.conf | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/mkspecs/hpuxi-acc-32/qmake.conf b/mkspecs/hpuxi-acc-32/qmake.conf new file mode 100644 index 0000000..7687cd9 --- a/dev/null +++ b/mkspecs/hpuxi-acc-32/qmake.conf | |||
@@ -0,0 +1,124 @@ | |||
1 | # | ||
2 | # $Id$ | ||
3 | # | ||
4 | # qmake configuration for hpuxi-acc-32 | ||
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 plugin_no_soname | ||
53 | |||
54 | QMAKE_CC = cc | ||
55 | QMAKE_LEX = lex | ||
56 | QMAKE_LEXFLAGS = | ||
57 | QMAKE_YACC = yacc | ||
58 | QMAKE_YACCFLAGS = -d | ||
59 | QMAKE_CFLAGS = +DD32 +DSitanium -w $(CFLAGS_EXTRA) | ||
60 | QMAKE_CFLAGS_WARN_ON= | ||
61 | QMAKE_CFLAGS_WARN_OFF= -w | ||
62 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), +O2 +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 = +DD32 +DSitanium -w -D__STRICT_ANSI__ -D_HPUX_SOURCE $(CXXFLAGS_EXTRA) | ||
70 | QMAKE_CXXFLAGS_DEPS= +M | ||
71 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON | ||
72 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF | ||
73 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE | ||
74 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG | ||
75 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB | ||
76 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC | ||
77 | QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD | ||
78 | |||
79 | QMAKE_INCDIR = | ||
80 | QMAKE_LIBDIR = | ||
81 | QMAKE_INCDIR_X11= /usr/include/X11R6 | ||
82 | QMAKE_LIBDIR_X11= /usr/lib/hpux32/X11R6 | ||
83 | QMAKE_INCDIR_QT = $(QTDIR)/include | ||
84 | QMAKE_LIBDIR_QT = $(QTDIR)/lib | ||
85 | QMAKE_INCDIR_OPENGL= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include | ||
86 | QMAKE_LIBDIR_OPENGL= /opt/graphics/OpenGL/lib/hpux32 /usr/contrib/X11R6/lib/hpux32 | ||
87 | |||
88 | QMAKE_LINK = aCC | ||
89 | QMAKE_LINK_SHLIB= aCC | ||
90 | QMAKE_LFLAGS = +DD32 +DSitanium -Wl,+s $(LFLAGS_EXTRA) | ||
91 | QMAKE_LFLAGS_RELEASE= +O2 | ||
92 | QMAKE_LFLAGS_DEBUG= -g | ||
93 | QMAKE_LFLAGS_SHLIB= -b -Wl,-a,shared | ||
94 | QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB | ||
95 | QMAKE_LFLAGS_SONAME= -Wl,+h, | ||
96 | QMAKE_LFLAGS_THREAD= | ||
97 | QMAKE_RPATH = | ||
98 | |||
99 | QMAKE_LIBS = -lm $(LIBS_EXTRA) | ||
100 | QMAKE_LIBS_DYNLOAD= -ldl | ||
101 | QMAKE_LIBS_X11 = -lXext -lX11 | ||
102 | QMAKE_LIBS_X11SM= -lSM -lICE | ||
103 | QMAKE_LIBS_QT = -lqt | ||
104 | QMAKE_LIBS_QT_THREAD= -lqt-mt | ||
105 | QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu -lXt | ||
106 | QMAKE_LIBS_OPENGL_QT= -lGL -lXmu -lXt | ||
107 | QMAKE_LIBS_THREAD= -lpthread | ||
108 | QMAKE_LIBS_YACC = -ly | ||
109 | |||
110 | QMAKE_MOC = $(QTDIR)/bin/moc | ||
111 | QMAKE_UIC = $(QTDIR)/bin/uic | ||
112 | |||
113 | QMAKE_AR = ar cqs | ||
114 | QMAKE_RANLIB = | ||
115 | |||
116 | QMAKE_TAR = tar -cf | ||
117 | QMAKE_GZIP = gzip -9f | ||
118 | |||
119 | QMAKE_COPY = cp -f | ||
120 | QMAKE_MOVE = mv -f | ||
121 | QMAKE_DEL_FILE = rm -f | ||
122 | QMAKE_DEL_DIR = rmdir | ||
123 | QMAKE_CHK_DIR_EXISTS= test -d | ||
124 | QMAKE_MKDIR = mkdir -p | ||