author | kergoth <kergoth> | 2002-12-09 22:39:57 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-12-09 22:39:57 (UTC) |
commit | 421f5d6b87f509430836fb2c60b57f9266371121 (patch) (unidiff) | |
tree | 98c968915b1a9dcdd8eb3e3565c8859127f1c3e9 /mkspecs/hpux-acc-64 | |
parent | 8bf05369dcdf93a712607aab6dacf407dcce5142 (diff) | |
download | opie-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.
-rw-r--r-- | mkspecs/hpux-acc-64/qmake.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/hpux-acc-64/qmake.conf b/mkspecs/hpux-acc-64/qmake.conf index 7affcb4..7ce4711 100644 --- a/mkspecs/hpux-acc-64/qmake.conf +++ b/mkspecs/hpux-acc-64/qmake.conf | |||
@@ -1,121 +1,121 @@ | |||
1 | # | 1 | # |
2 | # $Id$ | 2 | # $Id$ |
3 | # | 3 | # |
4 | # qmake configuration for hpux-n64 | 4 | # qmake configuration for hpux-n64 |
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 | # From pthread(3t): | 8 | # From pthread(3t): |
9 | # Some documentation will recommend the use of -D_REENTRANT for | 9 | # Some documentation will recommend the use of -D_REENTRANT for |
10 | # compilation. While this also functions properly, it is considered | 10 | # compilation. While this also functions properly, it is considered |
11 | # an obsolescent form. | 11 | # an obsolescent form. |
12 | # See pthread(3t) for more details. | 12 | # See pthread(3t) for more details. |
13 | # | 13 | # |
14 | # From the "HP aC++ Online Programmer's Guide": | 14 | # From the "HP aC++ Online Programmer's Guide": |
15 | # When +DA2.0W is specified: | 15 | # When +DA2.0W is specified: |
16 | # * 64-bit SVR4 Executable and Linking Format (ELF) object files | 16 | # * 64-bit SVR4 Executable and Linking Format (ELF) object files |
17 | # are generated for PA-RISC 2.0. | 17 | # are generated for PA-RISC 2.0. |
18 | # * The preprocessor predefined macro, __LP64__ is defined. | 18 | # * The preprocessor predefined macro, __LP64__ is defined. |
19 | # * The correct path for 64-bit system and language libraries is | 19 | # * The correct path for 64-bit system and language libraries is |
20 | # selected. | 20 | # selected. |
21 | # When +DD32 is specified: | 21 | # When +DD32 is specified: |
22 | # * The size of an int, long, or pointer data type is 32-bits. | 22 | # * The size of an int, long, or pointer data type is 32-bits. |
23 | # The size of an int data type is 32-bits. The size of a long or | 23 | # The size of an int data type is 32-bits. The size of a long or |
24 | # pointer data type is 64-bits. | 24 | # pointer data type is 64-bits. |
25 | # * This is the default, currently equivalent to +DA1.1 architecture. | 25 | # * This is the default, currently equivalent to +DA1.1 architecture. |
26 | # When +DD64 is specified: | 26 | # When +DD64 is specified: |
27 | # * The size of an int data type is 32-bits. The size of a long or | 27 | # * The size of an int data type is 32-bits. The size of a long or |
28 | # pointer data type is 64-bits. | 28 | # pointer data type is 64-bits. |
29 | # * This is currently equivalent to +DA2.OW architecture. | 29 | # * This is currently equivalent to +DA2.OW architecture. |
30 | # * The preprocessor predefined macro, __LP64__ is defined. | 30 | # * The preprocessor predefined macro, __LP64__ is defined. |
31 | # Using +DS to Specify Instruction Scheduling: | 31 | # Using +DS to Specify Instruction Scheduling: |
32 | # * By default, the compiler performs scheduling tuned for the system | 32 | # * By default, the compiler performs scheduling tuned for the system |
33 | # on which you are compiling, or, if specified, tuned for the setting | 33 | # on which you are compiling, or, if specified, tuned for the setting |
34 | # of the +DA option. | 34 | # of the +DA option. |
35 | # | 35 | # |
36 | # From the online "C/HP-UX Reference Manual": | 36 | # From the online "C/HP-UX Reference Manual": |
37 | #-Aa | 37 | #-Aa |
38 | # Enables strict ANSI C compliance. | 38 | # Enables strict ANSI C compliance. |
39 | # -Ae | 39 | # -Ae |
40 | # Enables ANSI C compliance, HP value-added features (as described | 40 | # Enables ANSI C compliance, HP value-added features (as described |
41 | # for +e option), and _HPUX_SOURCE name space macro. It is equivalent | 41 | # for +e option), and _HPUX_SOURCE name space macro. It is equivalent |
42 | # to -Aa +e -D_HPUX_SOURCE. | 42 | # to -Aa +e -D_HPUX_SOURCE. |
43 | # +e | 43 | # +e |
44 | # Enables the following HP value added features while compiling in | 44 | # Enables the following HP value added features while compiling in |
45 | # ANSI C mode: sized enum, long long, long pointers, compiler supplied | 45 | # ANSI C mode: sized enum, long long, long pointers, compiler supplied |
46 | # defaults for missing arguments to intrinsic calls, and $ in identifier | 46 | # defaults for missing arguments to intrinsic calls, and $ in identifier |
47 | # HP C extensions. | 47 | # HP C extensions. |
48 | # | 48 | # |
49 | 49 | ||
50 | MAKEFILE_GENERATOR= UNIX | 50 | MAKEFILE_GENERATOR= UNIX |
51 | TEMPLATE = app | 51 | TEMPLATE = app |
52 | CONFIG += qt warn_on release | 52 | CONFIG += qt warn_on release |
53 | 53 | ||
54 | QMAKE_CC = cc | 54 | QMAKE_CC = cc |
55 | QMAKE_LEX = flex | 55 | QMAKE_LEX = flex |
56 | QMAKE_LEXFLAGS = | 56 | QMAKE_LEXFLAGS = |
57 | QMAKE_YACC = yacc | 57 | QMAKE_YACC = yacc |
58 | QMAKE_YACCFLAGS = -d | 58 | QMAKE_YACCFLAGS = -d |
59 | QMAKE_CFLAGS = -Ae +DA2.0W -w $(CFLAGS_EXTRA) | 59 | QMAKE_CFLAGS = -Ae +DA2.0W -w $(CFLAGS_EXTRA) |
60 | QMAKE_CFLAGS_WARN_ON= | 60 | QMAKE_CFLAGS_WARN_ON= |
61 | QMAKE_CFLAGS_WARN_OFF= | 61 | QMAKE_CFLAGS_WARN_OFF= |
62 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O +Osize) | 62 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O +Osize) |
63 | QMAKE_CFLAGS_DEBUG= -g | 63 | QMAKE_CFLAGS_DEBUG= -g |
64 | QMAKE_CFLAGS_SHLIB= +Z | 64 | QMAKE_CFLAGS_SHLIB= +Z |
65 | QMAKE_CFLAGS_YACC= | 65 | QMAKE_CFLAGS_YACC= |
66 | QMAKE_CFLAGS_THREAD= -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE | 66 | QMAKE_CFLAGS_THREAD= -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE |
67 | 67 | ||
68 | QMAKE_CXX = aCC | 68 | QMAKE_CXX = aCC |
69 | QMAKE_CXXFLAGS = -Aa +DA2.0W -w -D__STRICT_ANSI__ $(CXXFLAGS_EXTRA) | 69 | QMAKE_CXXFLAGS = -Aa +DA2.0W -w -D__STRICT_ANSI__ $(CXXFLAGS_EXTRA) |
70 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON | 70 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON |
71 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF | 71 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF |
72 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE | 72 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE |
73 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG | 73 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG |
74 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB | 74 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB |
75 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC | 75 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC |
76 | QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD | 76 | QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD |
77 | 77 | ||
78 | QMAKE_INCDIR = | 78 | QMAKE_INCDIR = |
79 | QMAKE_LIBDIR = | 79 | QMAKE_LIBDIR = |
80 | QMAKE_INCDIR_X11= /usr/include/X11R6 | 80 | QMAKE_INCDIR_X11= /usr/include/X11R6 |
81 | QMAKE_LIBDIR_X11= /usr/lib/X11R6/pa20_64 | 81 | QMAKE_LIBDIR_X11= /usr/lib/X11R6/pa20_64 |
82 | QMAKE_INCDIR_QT = $(QTDIR)/include | 82 | QMAKE_INCDIR_QT = $(QTDIR)/include |
83 | QMAKE_LIBDIR_QT = $(QTDIR)/lib | 83 | QMAKE_LIBDIR_QT = $(QTDIR)/lib |
84 | QMAKE_INCDIR_OPENGL= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include | 84 | QMAKE_INCDIR_OPENGL= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include |
85 | QMAKE_LIBDIR_OPENGL= /opt/graphics/OpenGL/lib/pa20_64 /usr/contrib/X11R6/lib/pa20_64 | 85 | QMAKE_LIBDIR_OPENGL= /opt/graphics/OpenGL/lib/pa20_64 /usr/contrib/X11R6/lib/pa20_64 |
86 | 86 | ||
87 | QMAKE_LINK = aCC | 87 | QMAKE_LINK = aCC |
88 | QMAKE_LINK_SHLIB= aCC | 88 | QMAKE_LINK_SHLIB= aCC |
89 | QMAKE_LFLAGS = +DA2.0W -Wl,+s $(LFLAGS_EXTRA) | 89 | QMAKE_LFLAGS = +DA2.0W -Wl,+s $(LFLAGS_EXTRA) |
90 | QMAKE_LFLAGS_RELEASE= -O | 90 | QMAKE_LFLAGS_RELEASE= -O |
91 | QMAKE_LFLAGS_DEBUG= -Wl,+tools -g | 91 | QMAKE_LFLAGS_DEBUG= -Wl,+tools -g |
92 | QMAKE_LFLAGS_SHLIB= -b | 92 | QMAKE_LFLAGS_SHLIB= -b |
93 | QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB | 93 | QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB |
94 | QMAKE_LFLAGS_SONAME= -Wl,+h, | 94 | QMAKE_LFLAGS_SONAME= -Wl,+h, |
95 | QMAKE_LFLAGS_THREAD= | 95 | QMAKE_LFLAGS_THREAD= |
96 | QMAKE_RPATH = -Wl,+b, | 96 | QMAKE_RPATH = -Wl,+b, |
97 | 97 | ||
98 | QMAKE_LIBS = -lm | 98 | QMAKE_LIBS = $(LIBS_EXTRA) |
99 | QMAKE_LIBS_DYNLOAD= -ldld | 99 | QMAKE_LIBS_DYNLOAD= -ldld |
100 | QMAKE_LIBS_X11 = -lXext -lX11 | 100 | QMAKE_LIBS_X11 = -lXext -lX11 |
101 | QMAKE_LIBS_X11SM= -lSM -lICE | 101 | QMAKE_LIBS_X11SM= -lSM -lICE |
102 | QMAKE_LIBS_QT = -lqt | 102 | QMAKE_LIBS_QT = -lqt |
103 | QMAKE_LIBS_QT_THREAD= -lqt-mt | 103 | QMAKE_LIBS_QT_THREAD= -lqt-mt |
104 | QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu | 104 | QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu |
105 | QMAKE_LIBS_OPENGL_QT= -lGL -lXm | 105 | QMAKE_LIBS_OPENGL_QT= -lGL -lXm |
106 | QMAKE_LIBS_THREAD= -lpthread | 106 | QMAKE_LIBS_THREAD= -lpthread |
107 | QMAKE_LIBS_YACC = -ly | 107 | QMAKE_LIBS_YACC = -ly |
108 | 108 | ||
109 | QMAKE_MOC = $(QTDIR)/bin/moc | 109 | QMAKE_MOC = $(QTDIR)/bin/moc |
110 | QMAKE_UIC = $(QTDIR)/bin/uic | 110 | QMAKE_UIC = $(QTDIR)/bin/uic |
111 | 111 | ||
112 | QMAKE_AR = ar cqs | 112 | QMAKE_AR = ar cqs |
113 | QMAKE_RANLIB = | 113 | QMAKE_RANLIB = |
114 | 114 | ||
115 | QMAKE_TAR = tar -cf | 115 | QMAKE_TAR = tar -cf |
116 | QMAKE_GZIP = gzip -9f | 116 | QMAKE_GZIP = gzip -9f |
117 | 117 | ||
118 | QMAKE_COPY = cp -f | 118 | QMAKE_COPY = cp -f |
119 | QMAKE_MOVE = mv -f | 119 | QMAKE_MOVE = mv -f |
120 | QMAKE_DEL_FILE = rm -f | 120 | QMAKE_DEL_FILE = rm -f |
121 | QMAKE_DEL_DIR = rmdir | 121 | QMAKE_DEL_DIR = rmdir |