0
|
1 |
#
|
|
2 |
# qmake configuration for hpux-n64
|
|
3 |
#
|
|
4 |
# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
|
|
5 |
# we also need to redefine _HPUX_SOURCE.
|
|
6 |
# From pthread(3t):
|
|
7 |
# Some documentation will recommend the use of -D_REENTRANT for
|
|
8 |
# compilation. While this also functions properly, it is considered
|
|
9 |
# an obsolescent form.
|
|
10 |
# See pthread(3t) for more details.
|
|
11 |
#
|
|
12 |
# From the "HP aC++ Online Programmer's Guide":
|
|
13 |
# When +DA2.0W is specified:
|
|
14 |
# * 64-bit SVR4 Executable and Linking Format (ELF) object files
|
|
15 |
# are generated for PA-RISC 2.0.
|
|
16 |
# * The preprocessor predefined macro, __LP64__ is defined.
|
|
17 |
# * The correct path for 64-bit system and language libraries is
|
|
18 |
# selected.
|
|
19 |
# When +DD32 is specified:
|
|
20 |
# * The size of an int, long, or pointer data type is 32-bits.
|
|
21 |
# The size of an int data type is 32-bits. The size of a long or
|
|
22 |
# pointer data type is 64-bits.
|
|
23 |
# * This is the default, currently equivalent to +DA1.1 architecture.
|
|
24 |
# When +DD64 is specified:
|
|
25 |
# * The size of an int data type is 32-bits. The size of a long or
|
|
26 |
# pointer data type is 64-bits.
|
|
27 |
# * This is currently equivalent to +DA2.OW architecture.
|
|
28 |
# * The preprocessor predefined macro, __LP64__ is defined.
|
|
29 |
# Using +DS to Specify Instruction Scheduling:
|
|
30 |
# * By default, the compiler performs scheduling tuned for the system
|
|
31 |
# on which you are compiling, or, if specified, tuned for the setting
|
|
32 |
# of the +DA option.
|
|
33 |
#
|
|
34 |
# From the online "C/HP-UX Reference Manual":
|
|
35 |
# -Aa
|
|
36 |
# Enables strict ANSI C compliance.
|
|
37 |
# -Ae
|
|
38 |
# Enables ANSI C compliance, HP value-added features (as described
|
|
39 |
# for +e option), and _HPUX_SOURCE name space macro. It is equivalent
|
|
40 |
# to -Aa +e -D_HPUX_SOURCE.
|
|
41 |
# +e
|
|
42 |
# Enables the following HP value added features while compiling in
|
|
43 |
# ANSI C mode: sized enum, long long, long pointers, compiler supplied
|
|
44 |
# defaults for missing arguments to intrinsic calls, and $ in identifier
|
|
45 |
# HP C extensions.
|
|
46 |
#
|
|
47 |
|
|
48 |
MAKEFILE_GENERATOR = UNIX
|
|
49 |
TEMPLATE = app
|
|
50 |
CONFIG += qt warn_on release link_prl
|
|
51 |
QT += core gui
|
|
52 |
QMAKE_COMPILER_DEFINES += __hpux __HP_aCC
|
|
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 = -w
|
|
62 |
QMAKE_CFLAGS_RELEASE = +O1
|
|
63 |
QMAKE_CFLAGS_DEBUG = -g
|
|
64 |
QMAKE_CFLAGS_SHLIB = +Z
|
|
65 |
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
|
66 |
QMAKE_CFLAGS_YACC =
|
|
67 |
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mt
|
|
68 |
|
|
69 |
QMAKE_CXX = aCC
|
|
70 |
QMAKE_CXXFLAGS = -AA +DA2.0W -w -D__STRICT_ANSI__ -D_HPUX_SOURCE
|
|
71 |
QMAKE_CXXFLAGS_DEPS = +M
|
|
72 |
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
|
73 |
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
|
74 |
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
|
75 |
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
|
76 |
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
|
77 |
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
|
78 |
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
|
79 |
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -mt
|
|
80 |
|
|
81 |
QMAKE_INCDIR =
|
|
82 |
QMAKE_LIBDIR =
|
|
83 |
QMAKE_INCDIR_X11 = /usr/include/X11R6
|
|
84 |
QMAKE_LIBDIR_X11 = /usr/lib/X11R6/pa20_64
|
|
85 |
QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
|
|
86 |
QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]
|
|
87 |
QMAKE_INCDIR_OPENGL = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
|
|
88 |
QMAKE_LIBDIR_OPENGL = /opt/graphics/OpenGL/lib/pa20_64 /usr/contrib/X11R6/lib/pa20_64
|
|
89 |
|
|
90 |
QMAKE_LINK = aCC
|
|
91 |
QMAKE_LINK_SHLIB = aCC
|
|
92 |
QMAKE_LFLAGS = -AA +DA2.0W -Wl,+s
|
|
93 |
QMAKE_LFLAGS_RELEASE = -O
|
|
94 |
QMAKE_LFLAGS_DEBUG = -g
|
|
95 |
QMAKE_LFLAGS_SHLIB = -b -Wl,-a,shared
|
|
96 |
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
|
97 |
QMAKE_LFLAGS_SONAME = -Wl,+h,
|
|
98 |
QMAKE_LFLAGS_THREAD =
|
|
99 |
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats
|
|
100 |
QMAKE_RPATH = -Wl,+b,
|
|
101 |
QMAKE_HPUX_SHLIB = 3
|
|
102 |
QMAKE_EXTENSION_SHLIB = sl
|
|
103 |
|
|
104 |
QMAKE_LIBS = -lm
|
|
105 |
QMAKE_LIBS_DYNLOAD = -ldl
|
|
106 |
QMAKE_LIBS_X11 = -lXext -lX11
|
|
107 |
QMAKE_LIBS_X11SM = -lSM -lICE
|
|
108 |
QMAKE_LIBS_OPENGL = -lGLU -lGL -lXt
|
|
109 |
QMAKE_LIBS_OPENGL_QT = -lGL -lXt
|
|
110 |
QMAKE_LIBS_THREAD = -lpthread
|
|
111 |
QMAKE_LIBS_YACC = -ly
|
|
112 |
|
|
113 |
QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
|
|
114 |
QMAKE_UIC = $$[QT_INSTALL_BINS]/uic
|
|
115 |
|
|
116 |
QMAKE_AR = ar cqs
|
|
117 |
QMAKE_OBJCOPY = objcopy
|
|
118 |
QMAKE_RANLIB =
|
|
119 |
|
|
120 |
QMAKE_TAR = tar -cf
|
|
121 |
QMAKE_GZIP = gzip -9f
|
|
122 |
|
|
123 |
QMAKE_COPY = cp -f
|
|
124 |
QMAKE_MOVE = mv -f
|
|
125 |
QMAKE_DEL_FILE = rm -f
|
|
126 |
QMAKE_DEL_DIR = rmdir
|
|
127 |
QMAKE_CHK_DIR_EXISTS = test -d
|
|
128 |
QMAKE_MKDIR = mkdir -p
|
|
129 |
include(../common/unix.conf)
|
|
130 |
load(qt_config)
|