author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 19 Feb 2010 23:40:16 +0200 | |
branch | RCL_3 |
changeset 4 | 3b1da2848fc7 |
parent 3 | 41300fa6a67c |
permissions | -rw-r--r-- |
0 | 1 |
# |
2 |
# qmake configuration for hpux-g++-64 |
|
3 |
# |
|
4 |
# We define _POSIX_C_SOURCE to 199506L when using threads, |
|
5 |
# therefore we also need to redefine _HPUX_SOURCE. |
|
6 |
# |
|
7 |
||
8 |
MAKEFILE_GENERATOR = UNIX |
|
9 |
TEMPLATE = app |
|
10 |
CONFIG += qt warn_on release link_prl |
|
11 |
QT += core gui |
|
12 |
||
13 |
QMAKE_CC = gcc |
|
14 |
QMAKE_LEX = flex |
|
15 |
QMAKE_LEXFLAGS = |
|
16 |
QMAKE_YACC = yacc |
|
17 |
QMAKE_YACCFLAGS = -d |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
18 |
QMAKE_CFLAGS = |
0 | 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_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB |
|
26 |
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses |
|
27 |
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE |
|
28 |
||
29 |
QMAKE_CXX = g++ |
|
30 |
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -D_HPUX_SOURCE |
|
31 |
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS |
|
32 |
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON |
|
33 |
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF |
|
34 |
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE |
|
35 |
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG |
|
36 |
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB |
|
37 |
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB |
|
38 |
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC |
|
39 |
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L |
|
40 |
||
41 |
QMAKE_INCDIR = |
|
42 |
QMAKE_LIBDIR = /usr/lib/pa20_64 |
|
43 |
QMAKE_INCDIR_X11 = /usr/include/X11R6 |
|
44 |
QMAKE_LIBDIR_X11 = /usr/lib/X11R6/pa20_64 |
|
45 |
QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS] |
|
46 |
QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS] |
|
47 |
QMAKE_INCDIR_OPENGL = /opt/Mesa/include /usr/contrib/X11R6/include |
|
48 |
QMAKE_LIBDIR_OPENGL = /opt/Mesa/lib/pa20_64 /usr/contrib/X11R6/lib/pa20_64 |
|
49 |
||
50 |
QMAKE_LINK = g++ |
|
51 |
QMAKE_LINK_SHLIB = g++ |
|
52 |
QMAKE_LINK_C = gcc |
|
53 |
QMAKE_LINK_C_SHLIB = gcc |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
54 |
QMAKE_LFLAGS = -Wl,+s -lpthread |
0 | 55 |
QMAKE_LFLAGS_RELEASE = |
56 |
QMAKE_LFLAGS_DEBUG = |
|
57 |
QMAKE_LFLAGS_SHLIB = -fPIC -shared |
|
58 |
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB |
|
59 |
QMAKE_LFLAGS_SONAME = -Wl,+h, |
|
60 |
QMAKE_LFLAGS_THREAD = |
|
61 |
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats |
|
62 |
QMAKE_RPATH = -Wl,+b, |
|
63 |
QMAKE_HPUX_SHLIB = 3 |
|
64 |
QMAKE_EXTENSION_SHLIB = sl |
|
65 |
||
66 |
QMAKE_LIBS = -lm |
|
67 |
QMAKE_LIBS_DYNLOAD = -ldld |
|
68 |
QMAKE_LIBS_X11 = -lXext -lX11 |
|
69 |
QMAKE_LIBS_X11SM = -lSM -lICE |
|
70 |
QMAKE_LIBS_OPENGL = -lGLU -lGL |
|
71 |
QMAKE_LIBS_OPENGL_QT = -lGL |
|
72 |
QMAKE_LIBS_THREAD = -lpthread |
|
73 |
QMAKE_LIBS_YACC = -ly |
|
74 |
||
75 |
QMAKE_MOC = $$[QT_INSTALL_BINS]/moc |
|
76 |
QMAKE_UIC = $$[QT_INSTALL_BINS]/uic |
|
77 |
||
78 |
QMAKE_AR = ar cqs |
|
79 |
QMAKE_OBJCOPY = objcopy |
|
80 |
QMAKE_RANLIB = |
|
81 |
||
82 |
QMAKE_TAR = tar -cf |
|
83 |
QMAKE_GZIP = gzip -9f |
|
84 |
||
85 |
QMAKE_COPY = cp -f |
|
86 |
QMAKE_MOVE = mv -f |
|
87 |
QMAKE_DEL_FILE = rm -f |
|
88 |
QMAKE_DEL_DIR = rmdir |
|
89 |
QMAKE_CHK_DIR_EXISTS = test -d |
|
90 |
QMAKE_MKDIR = mkdir -p |
|
91 |
include(../common/unix.conf) |
|
92 |
load(qt_config) |