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
|
|
28 |
TEMPLATE = app
|
|
29 |
CONFIG += qt warn_on release link_prl
|
|
30 |
QT += core gui
|
|
31 |
QMAKE_COMPILER_DEFINES += __hpux __HP_aCC
|
|
32 |
|
|
33 |
QMAKE_CC = cc
|
|
34 |
QMAKE_LEX = flex
|
|
35 |
QMAKE_LEXFLAGS =
|
|
36 |
QMAKE_YACC = yacc
|
|
37 |
QMAKE_YACCFLAGS = -d
|
|
38 |
QMAKE_CFLAGS = -Ae +DAportable -w
|
|
39 |
QMAKE_CFLAGS_WARN_ON =
|
|
40 |
QMAKE_CFLAGS_WARN_OFF = -w
|
|
41 |
QMAKE_CFLAGS_RELEASE = +O1
|
|
42 |
QMAKE_CFLAGS_DEBUG = -g
|
|
43 |
QMAKE_CFLAGS_SHLIB = +Z
|
|
44 |
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
|
45 |
QMAKE_CFLAGS_YACC =
|
|
46 |
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mt
|
|
47 |
|
|
48 |
QMAKE_CXX = aCC
|
|
49 |
QMAKE_CXXFLAGS = -AA +DAportable -w -D__STRICT_ANSI__ -D_HPUX_SOURCE
|
|
50 |
QMAKE_CXXFLAGS_DEPS = +M
|
|
51 |
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
|
52 |
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
|
53 |
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
|
54 |
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
|
55 |
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
|
56 |
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
|
57 |
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
|
58 |
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -mt
|
|
59 |
|
|
60 |
QMAKE_INCDIR =
|
|
61 |
QMAKE_LIBDIR =
|
|
62 |
QMAKE_INCDIR_X11 = /usr/include/X11R6
|
|
63 |
QMAKE_LIBDIR_X11 = /usr/lib/X11R6
|
|
64 |
QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
|
|
65 |
QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]
|
|
66 |
QMAKE_INCDIR_OPENGL = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
|
|
67 |
QMAKE_LIBDIR_OPENGL = /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib
|
|
68 |
|
|
69 |
QMAKE_LINK = aCC
|
|
70 |
QMAKE_LINK_SHLIB = aCC
|
|
71 |
QMAKE_LFLAGS = -AA +DAportable -Wl,+s
|
|
72 |
QMAKE_LFLAGS_RELEASE = -O
|
|
73 |
QMAKE_LFLAGS_DEBUG = -g
|
|
74 |
QMAKE_LFLAGS_SHLIB = -b -Wl,-a,shared
|
|
75 |
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
|
76 |
QMAKE_LFLAGS_SONAME = -Wl,+h,
|
|
77 |
QMAKE_LFLAGS_THREAD =
|
|
78 |
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats
|
|
79 |
QMAKE_RPATH = -Wl,+b,
|
|
80 |
QMAKE_HPUX_SHLIB = 1
|
|
81 |
QMAKE_EXTENSION_SHLIB = sl
|
|
82 |
|
|
83 |
QMAKE_LIBS = -lm
|
|
84 |
QMAKE_LIBS_DYNLOAD = -ldld
|
|
85 |
QMAKE_LIBS_X11 = -lXext -lX11
|
|
86 |
QMAKE_LIBS_X11SM = -lSM -lICE
|
|
87 |
QMAKE_LIBS_OPENGL = -lGLU -lGL -lXt
|
|
88 |
QMAKE_LIBS_OPENGL_QT = -lGL -lXt
|
|
89 |
QMAKE_LIBS_THREAD = -lpthread
|
|
90 |
QMAKE_LIBS_YACC = -ly
|
|
91 |
|
|
92 |
QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
|
|
93 |
QMAKE_UIC = $$[QT_INSTALL_BINS]/uic
|
|
94 |
|
|
95 |
QMAKE_AR = ar cqs
|
|
96 |
QMAKE_OBJCOPY = objcopy
|
|
97 |
QMAKE_RANLIB =
|
|
98 |
|
|
99 |
QMAKE_TAR = tar -cf
|
|
100 |
QMAKE_GZIP = gzip -9f
|
|
101 |
|
|
102 |
QMAKE_COPY = cp -f
|
|
103 |
QMAKE_MOVE = mv -f
|
|
104 |
QMAKE_DEL_FILE = rm -f
|
|
105 |
QMAKE_DEL_DIR = rmdir
|
|
106 |
QMAKE_CHK_DIR_EXISTS = test -d
|
|
107 |
QMAKE_MKDIR = mkdir -p
|
|
108 |
include(../common/unix.conf)
|
|
109 |
load(qt_config)
|