summaryrefslogtreecommitdiff
path: root/mkspecs/hpux-cc
Unidiff
Diffstat (limited to 'mkspecs/hpux-cc') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/hpux-cc/qmake.conf9
1 files changed, 6 insertions, 3 deletions
diff --git a/mkspecs/hpux-cc/qmake.conf b/mkspecs/hpux-cc/qmake.conf
index fe5d293..950bc99 100644
--- a/mkspecs/hpux-cc/qmake.conf
+++ b/mkspecs/hpux-cc/qmake.conf
@@ -8,90 +8,93 @@
8# See pthread(3t) for more details. 8# See pthread(3t) for more details.
9# 9#
10# From the "HP aC++ Online Programmer's Guide": 10# From the "HP aC++ Online Programmer's Guide":
11 # Using +DS to Specify Instruction Scheduling: 11 # Using +DS to Specify Instruction Scheduling:
12 # * By default, the compiler performs scheduling tuned for the system 12 # * By default, the compiler performs scheduling tuned for the system
13 # on which you are compiling, or, if specified, tuned for the setting 13 # on which you are compiling, or, if specified, tuned for the setting
14 # of the +DA option. 14 # of the +DA option.
15# 15#
16# From the online "C/HP-UX Reference Manual": 16# From the online "C/HP-UX Reference Manual":
17 #-Aa 17 #-Aa
18 # Enables strict ANSI C compliance. 18 # Enables strict ANSI C compliance.
19 # -Ae 19 # -Ae
20 # Enables ANSI C compliance, HP value-added features (as described 20 # Enables ANSI C compliance, HP value-added features (as described
21 # for +e option), and _HPUX_SOURCE name space macro. It is equivalent 21 # for +e option), and _HPUX_SOURCE name space macro. It is equivalent
22 # to -Aa +e -D_HPUX_SOURCE. 22 # to -Aa +e -D_HPUX_SOURCE.
23 # +e 23 # +e
24 # Enables the following HP value added features while compiling in 24 # Enables the following HP value added features while compiling in
25 # ANSI C mode: sized enum, long long, long pointers, compiler supplied 25 # ANSI C mode: sized enum, long long, long pointers, compiler supplied
26 # defaults for missing arguments to intrinsic calls, and $ in identifier 26 # defaults for missing arguments to intrinsic calls, and $ in identifier
27 # HP C extensions. 27 # HP C extensions.
28# 28#
29 29
30 MAKEFILE_GENERATOR= UNIX 30 MAKEFILE_GENERATOR= UNIX
31 TEMPLATE = app 31 TEMPLATE = app
32 CONFIG += qt warn_on release 32 CONFIG += qt warn_on release link_prl
33 33
34 QMAKE_CC = cc 34 QMAKE_CC = cc
35 QMAKE_LEX = flex 35 QMAKE_LEX = flex
36 QMAKE_LEXFLAGS = 36 QMAKE_LEXFLAGS =
37 QMAKE_YACC = yacc 37 QMAKE_YACC = yacc
38 QMAKE_YACCFLAGS = -d 38 QMAKE_YACCFLAGS = -d
39 QMAKE_CFLAGS = -Ae +DA1.1e -w $(CFLAGS_EXTRA) 39 QMAKE_CFLAGS = -Ae +DA1.1e -w $(CFLAGS_EXTRA)
40 QMAKE_CFLAGS_WARN_ON= 40 QMAKE_CFLAGS_WARN_ON=
41 QMAKE_CFLAGS_WARN_OFF= 41 QMAKE_CFLAGS_WARN_OFF=
42 QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O) 42 QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O)
43 QMAKE_CFLAGS_DEBUG= -g 43 QMAKE_CFLAGS_DEBUG= -g
44 QMAKE_CFLAGS_SHLIB= +Z 44 QMAKE_CFLAGS_SHLIB= +Z
45 QMAKE_CFLAGS_YACC= 45 QMAKE_CFLAGS_YACC=
46 46
47 QMAKE_CXX = CC 47 QMAKE_CXX = CC
48 QMAKE_CXXFLAGS = +DA1.1e -w +a1 $(CXXFLAGS_EXTRA) 48 QMAKE_CXXFLAGS = +DA1.1e -w +a1 -D_HPUX_SOURCE $(CXXFLAGS_EXTRA)
49 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON 49 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
50 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF 50 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
51 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE 51 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
52 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG 52 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
53 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB 53 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
54 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC 54 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
55 55
56 QMAKE_INCDIR = 56 QMAKE_INCDIR =
57 QMAKE_LIBDIR = 57 QMAKE_LIBDIR =
58 QMAKE_INCDIR_X11= /usr/include/X11R6 58 QMAKE_INCDIR_X11= /usr/include/X11R6
59 QMAKE_LIBDIR_X11= /usr/lib/X11R6 59 QMAKE_LIBDIR_X11= /usr/lib/X11R6
60 QMAKE_INCDIR_QT = $(QTDIR)/include 60 QMAKE_INCDIR_QT = $(QTDIR)/include
61 QMAKE_LIBDIR_QT = $(QTDIR)/lib 61 QMAKE_LIBDIR_QT = $(QTDIR)/lib
62 QMAKE_INCDIR_OPENGL= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include 62 QMAKE_INCDIR_OPENGL= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
63 QMAKE_LIBDIR_OPENGL= /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib 63 QMAKE_LIBDIR_OPENGL= /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib
64 64
65 QMAKE_LINK = CC 65 QMAKE_LINK = CC
66 QMAKE_LINK_SHLIB= CC 66 QMAKE_LINK_SHLIB= CC
67# CC generates template code during linking, and so needs -I's 67# CC generates template code during linking, and so needs -I's
68 QMAKE_LFLAGS = +DA1.1e -Wl,+s -L/usr/lib -I$$QMAKE_INCDIR_X11 -I$$QMAKE_INCDIR_QT $(LFLAGS_EXTRA) 68 QMAKE_LFLAGS = +DA1.1e -Wl,+s -L/usr/lib -I$$QMAKE_INCDIR_X11 -I$$QMAKE_INCDIR_QT $(LFLAGS_EXTRA)
69 QMAKE_LFLAGS_RELEASE= -O -s 69 QMAKE_LFLAGS_RELEASE= -O -s
70 QMAKE_LFLAGS_DEBUG= 70 QMAKE_LFLAGS_DEBUG=
71 QMAKE_LFLAGS_SHLIB= -b 71 QMAKE_LFLAGS_SHLIB= -b
72 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB 72 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
73 QMAKE_LFLAGS_SONAME= -Wl,+h, 73 QMAKE_LFLAGS_SONAME= -Wl,+h,
74 QMAKE_RPATH = -Wl,+b, 74 QMAKE_RPATH = -Wl,+b,
75 QMAKE_HPUX_SHLIB= 1
75 76
76 QMAKE_LIBS = $(LIBS_EXTRA) 77 QMAKE_LIBS = -lm $(LIBS_EXTRA)
77 QMAKE_LIBS_DYNLOAD= -ldld 78 QMAKE_LIBS_DYNLOAD= -ldld
78 QMAKE_LIBS_X11 = -lXext -lX11 79 QMAKE_LIBS_X11 = -lXext -lX11
79 QMAKE_LIBS_X11SM= -lSM -lICE 80 QMAKE_LIBS_X11SM= -lSM -lICE
80 QMAKE_LIBS_QT = -lqt 81 QMAKE_LIBS_QT = -lqt
81 82
82 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu 83 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
83 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu 84 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
84 85
85 QMAKE_MOC = $(QTDIR)/bin/moc 86 QMAKE_MOC = $(QTDIR)/bin/moc
86 QMAKE_UIC = $(QTDIR)/bin/uic 87 QMAKE_UIC = $(QTDIR)/bin/uic
87 88
88 QMAKE_AR = ar cqs 89 QMAKE_AR = ar cqs
89 QMAKE_RANLIB = 90 QMAKE_RANLIB =
90 91
91 QMAKE_TAR = tar -cf 92 QMAKE_TAR = tar -cf
92 QMAKE_GZIP = gzip -9f 93 QMAKE_GZIP = gzip -9f
93 94
94 QMAKE_COPY = cp -f 95 QMAKE_COPY = cp -f
95 QMAKE_MOVE = mv -f 96 QMAKE_MOVE = mv -f
96 QMAKE_DEL_FILE = rm -f 97 QMAKE_DEL_FILE = rm -f
97 QMAKE_DEL_DIR = rmdir 98 QMAKE_DEL_DIR = rmdir
99 QMAKE_CHK_DIR_EXISTS= test -d
100 QMAKE_MKDIR = mkdir -p