author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Mon, 04 Oct 2010 01:19:32 +0300 | |
changeset 37 | 758a864f9613 |
parent 30 | 5dc02b23752f |
permissions | -rw-r--r-- |
0 | 1 |
# |
2 |
# qmake configuration for hpux-acc |
|
3 |
# |
|
4 |
# We define _POSIX_C_SOURCE to 199506L when using threads, therefore |
|
5 |
# we also need to redefine _HPUX_SOURCE. See pthread(3t) for more details. |
|
6 |
# |
|
7 |
# From the "HP aC++ Online Programmer's Guide": |
|
8 |
# Using +DS to Specify Instruction Scheduling: |
|
9 |
# * By default, the compiler performs scheduling tuned for the system |
|
10 |
# on which you are compiling, or, if specified, tuned for the setting |
|
11 |
# of the +DA option. |
|
12 |
# |
|
13 |
# From the online "C/HP-UX Reference Manual": |
|
14 |
# -Aa |
|
15 |
# Enables strict ANSI C compliance. |
|
16 |
# -Ae |
|
17 |
# Enables ANSI C compliance, HP value-added features (as described |
|
18 |
# for +e option), and _HPUX_SOURCE name space macro. It is equivalent |
|
19 |
# to -Aa +e -D_HPUX_SOURCE. |
|
20 |
# +e |
|
21 |
# Enables the following HP value added features while compiling in |
|
22 |
# ANSI C mode: sized enum, long long, long pointers, compiler supplied |
|
23 |
# defaults for missing arguments to intrinsic calls, and $ in identifier |
|
24 |
# HP C extensions. |
|
25 |
# |
|
26 |
||
27 |
MAKEFILE_GENERATOR = UNIX |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
28 |
TARGET_PLATFORM = unix |
0 | 29 |
TEMPLATE = app |
30 |
CONFIG += qt warn_on release link_prl |
|
31 |
QT += core gui |
|
32 |
QMAKE_COMPILER_DEFINES += __hpux __HP_aCC |
|
33 |
||
34 |
QMAKE_CC = cc |
|
35 |
QMAKE_LEX = flex |
|
36 |
QMAKE_LEXFLAGS = |
|
37 |
QMAKE_YACC = yacc |
|
38 |
QMAKE_YACCFLAGS = -d |
|
39 |
QMAKE_CFLAGS = -Ae +DAportable -w |
|
40 |
QMAKE_CFLAGS_WARN_ON = |
|
41 |
QMAKE_CFLAGS_WARN_OFF = -w |
|
42 |
QMAKE_CFLAGS_RELEASE = +O1 |
|
43 |
QMAKE_CFLAGS_DEBUG = -g |
|
44 |
QMAKE_CFLAGS_SHLIB = +Z |
|
45 |
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB |
|
46 |
QMAKE_CFLAGS_YACC = |
|
47 |
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mt |
|
48 |
||
49 |
QMAKE_CXX = aCC |
|
50 |
QMAKE_CXXFLAGS = -AA +DAportable -w -D__STRICT_ANSI__ -D_HPUX_SOURCE |
|
51 |
QMAKE_CXXFLAGS_DEPS = +M |
|
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_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB |
|
58 |
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC |
|
59 |
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -mt |
|
60 |
||
61 |
QMAKE_INCDIR = |
|
62 |
QMAKE_LIBDIR = |
|
63 |
QMAKE_INCDIR_X11 = /usr/include/X11R6 |
|
64 |
QMAKE_LIBDIR_X11 = /usr/lib/X11R6 |
|
65 |
QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS] |
|
66 |
QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS] |
|
67 |
QMAKE_INCDIR_OPENGL = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include |
|
68 |
QMAKE_LIBDIR_OPENGL = /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib |
|
69 |
||
70 |
QMAKE_LINK = aCC |
|
71 |
QMAKE_LINK_SHLIB = aCC |
|
72 |
QMAKE_LFLAGS = -AA +DAportable -Wl,+s |
|
73 |
QMAKE_LFLAGS_RELEASE = -O |
|
74 |
QMAKE_LFLAGS_DEBUG = -g |
|
75 |
QMAKE_LFLAGS_SHLIB = -b -Wl,-a,shared |
|
76 |
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB |
|
77 |
QMAKE_LFLAGS_SONAME = -Wl,+h, |
|
78 |
QMAKE_LFLAGS_THREAD = |
|
79 |
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
80 |
QMAKE_LFLAGS_RPATH = -Wl,+b, |
0 | 81 |
QMAKE_HPUX_SHLIB = 1 |
82 |
QMAKE_EXTENSION_SHLIB = sl |
|
83 |
||
84 |
QMAKE_LIBS = -lm |
|
85 |
QMAKE_LIBS_DYNLOAD = -ldld |
|
86 |
QMAKE_LIBS_X11 = -lXext -lX11 |
|
87 |
QMAKE_LIBS_X11SM = -lSM -lICE |
|
88 |
QMAKE_LIBS_OPENGL = -lGLU -lGL -lXt |
|
89 |
QMAKE_LIBS_OPENGL_QT = -lGL -lXt |
|
90 |
QMAKE_LIBS_THREAD = -lpthread |
|
91 |
QMAKE_LIBS_YACC = -ly |
|
92 |
||
93 |
QMAKE_MOC = $$[QT_INSTALL_BINS]/moc |
|
94 |
QMAKE_UIC = $$[QT_INSTALL_BINS]/uic |
|
95 |
||
96 |
QMAKE_AR = ar cqs |
|
97 |
QMAKE_OBJCOPY = objcopy |
|
98 |
QMAKE_RANLIB = |
|
99 |
||
100 |
QMAKE_TAR = tar -cf |
|
101 |
QMAKE_GZIP = gzip -9f |
|
102 |
||
103 |
QMAKE_COPY = cp -f |
|
104 |
QMAKE_MOVE = mv -f |
|
105 |
QMAKE_DEL_FILE = rm -f |
|
106 |
QMAKE_DEL_DIR = rmdir |
|
107 |
QMAKE_CHK_DIR_EXISTS = test -d |
|
108 |
QMAKE_MKDIR = mkdir -p |
|
109 |
include(../common/unix.conf) |
|
110 |
load(qt_config) |