summaryrefslogtreecommitdiff
path: root/mkspecs/hpux-cc
authorkergoth <kergoth>2002-12-09 22:39:57 (UTC)
committer kergoth <kergoth>2002-12-09 22:39:57 (UTC)
commit421f5d6b87f509430836fb2c60b57f9266371121 (patch) (unidiff)
tree98c968915b1a9dcdd8eb3e3565c8859127f1c3e9 /mkspecs/hpux-cc
parent8bf05369dcdf93a712607aab6dacf407dcce5142 (diff)
downloadopie-421f5d6b87f509430836fb2c60b57f9266371121.zip
opie-421f5d6b87f509430836fb2c60b57f9266371121.tar.gz
opie-421f5d6b87f509430836fb2c60b57f9266371121.tar.bz2
Add a var to pass in libs from teh environment easily.. needed so that the OZ buildroot can pass in -lsupc++ on the link when building with gcc3.
Diffstat (limited to 'mkspecs/hpux-cc') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/hpux-cc/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/hpux-cc/qmake.conf b/mkspecs/hpux-cc/qmake.conf
index d522252..fe5d293 100644
--- a/mkspecs/hpux-cc/qmake.conf
+++ b/mkspecs/hpux-cc/qmake.conf
@@ -1,97 +1,97 @@
1# 1#
2# $Id$ 2# $Id$
3# 3#
4# qmake configuration for hpux-cc 4# qmake configuration for hpux-cc
5# 5#
6# We define _POSIX_C_SOURCE to 199506L when using threads, therefore 6# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
7# we also need to redefine _HPUX_SOURCE. 7# we also need to redefine _HPUX_SOURCE.
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
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 $(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 75
76 QMAKE_LIBS = -lm 76 QMAKE_LIBS = $(LIBS_EXTRA)
77 QMAKE_LIBS_DYNLOAD= -ldld 77 QMAKE_LIBS_DYNLOAD= -ldld
78 QMAKE_LIBS_X11 = -lXext -lX11 78 QMAKE_LIBS_X11 = -lXext -lX11
79 QMAKE_LIBS_X11SM= -lSM -lICE 79 QMAKE_LIBS_X11SM= -lSM -lICE
80 QMAKE_LIBS_QT = -lqt 80 QMAKE_LIBS_QT = -lqt
81 81
82 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu 82 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
83 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu 83 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
84 84
85 QMAKE_MOC = $(QTDIR)/bin/moc 85 QMAKE_MOC = $(QTDIR)/bin/moc
86 QMAKE_UIC = $(QTDIR)/bin/uic 86 QMAKE_UIC = $(QTDIR)/bin/uic
87 87
88 QMAKE_AR = ar cqs 88 QMAKE_AR = ar cqs
89 QMAKE_RANLIB = 89 QMAKE_RANLIB =
90 90
91 QMAKE_TAR = tar -cf 91 QMAKE_TAR = tar -cf
92 QMAKE_GZIP = gzip -9f 92 QMAKE_GZIP = gzip -9f
93 93
94 QMAKE_COPY = cp -f 94 QMAKE_COPY = cp -f
95 QMAKE_MOVE = mv -f 95 QMAKE_MOVE = mv -f
96 QMAKE_DEL_FILE = rm -f 96 QMAKE_DEL_FILE = rm -f
97 QMAKE_DEL_DIR = rmdir 97 QMAKE_DEL_DIR = rmdir