author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 06 Jul 2010 15:10:48 +0300 | |
changeset 30 | 5dc02b23752f |
parent 0 | 1918ee327afb |
permissions | -rw-r--r-- |
0 | 1 |
# |
2 |
# qmake configuration for hpux-g++ |
|
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 |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
9 |
TARGET_PLATFORM = unix |
0 | 10 |
TEMPLATE = app |
11 |
CONFIG += qt warn_on release link_prl plugin_no_soname |
|
12 |
QT += core gui |
|
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_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB |
|
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 -D_HPUX_SOURCE -DGLU_VERSION_1_2 |
|
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_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB |
|
39 |
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC |
|
40 |
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L |
|
41 |
||
42 |
QMAKE_INCDIR = |
|
43 |
QMAKE_LIBDIR = |
|
44 |
QMAKE_INCDIR_X11 = |
|
45 |
QMAKE_LIBDIR_X11 = /usr/lib/X11R6 |
|
46 |
QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS] |
|
47 |
QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS] |
|
48 |
QMAKE_INCDIR_OPENGL = /opt/Mesa/include /usr/contrib/X11R6/include |
|
49 |
QMAKE_LIBDIR_OPENGL = /opt/Mesa/lib /usr/contrib/X11R6/lib |
|
50 |
||
51 |
QMAKE_LINK = g++ |
|
52 |
QMAKE_LINK_SHLIB = g++ |
|
53 |
QMAKE_LINK_C = gcc |
|
54 |
QMAKE_LINK_C_SHLIB = gcc |
|
55 |
QMAKE_LFLAGS = -Wl,+s |
|
56 |
QMAKE_LFLAGS_RELEASE = |
|
57 |
QMAKE_LFLAGS_DEBUG = |
|
58 |
QMAKE_LFLAGS_SHLIB = -fPIC -shared |
|
59 |
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB |
|
60 |
QMAKE_LFLAGS_SONAME = -Wl,+h, |
|
61 |
QMAKE_LFLAGS_THREAD = |
|
62 |
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
63 |
QMAKE_LFLAGS_RPATH = -Wl,+b, |
0 | 64 |
QMAKE_HPUX_SHLIB = 1 |
65 |
QMAKE_EXTENSION_SHLIB = sl |
|
66 |
||
67 |
QMAKE_LIBS = |
|
68 |
QMAKE_LIBS_DYNLOAD = -ldld |
|
69 |
QMAKE_LIBS_X11 = -lXext -lX11 -lm |
|
70 |
QMAKE_LIBS_X11SM = -lSM -lICE |
|
71 |
QMAKE_LIBS_OPENGL = -lGLU -lGL |
|
72 |
QMAKE_LIBS_OPENGL_QT = -lGL |
|
73 |
QMAKE_LIBS_THREAD = -lpthread |
|
74 |
QMAKE_LIBS_YACC = -ly |
|
75 |
||
76 |
QMAKE_MOC = $$[QT_INSTALL_BINS]/moc |
|
77 |
QMAKE_UIC = $$[QT_INSTALL_BINS]/uic |
|
78 |
||
79 |
QMAKE_AR = ar cqs |
|
80 |
QMAKE_OBJCOPY = objcopy |
|
81 |
QMAKE_RANLIB = |
|
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 |
|
90 |
QMAKE_CHK_DIR_EXISTS = test -d |
|
91 |
QMAKE_MKDIR = mkdir -p |
|
92 |
include(../common/unix.conf) |
|
93 |
load(qt_config) |