|
1 # |
|
2 # qmake configuration for hpuxi-acc-64 |
|
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 plugin_no_soname |
|
51 QT += core gui |
|
52 |
|
53 QMAKE_CC = cc |
|
54 QMAKE_LEX = lex |
|
55 QMAKE_LEXFLAGS = |
|
56 QMAKE_YACC = yacc |
|
57 QMAKE_YACCFLAGS = -d |
|
58 QMAKE_CFLAGS = +DD64 +DSitanium -w |
|
59 QMAKE_CFLAGS_WARN_ON = |
|
60 QMAKE_CFLAGS_WARN_OFF = -w |
|
61 QMAKE_CFLAGS_RELEASE = +O1 |
|
62 QMAKE_CFLAGS_DEBUG = -g |
|
63 QMAKE_CFLAGS_SHLIB = +Z |
|
64 QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB |
|
65 QMAKE_CFLAGS_YACC = |
|
66 QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -D_REENTRANT -mt |
|
67 |
|
68 QMAKE_CXX = aCC |
|
69 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -D__STRICT_ANSI__ -D_HPUX_SOURCE |
|
70 QMAKE_CXXFLAGS_DEPS = +M |
|
71 QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON |
|
72 QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF |
|
73 QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE |
|
74 QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG |
|
75 QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB |
|
76 QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB |
|
77 QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC |
|
78 QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_REENTRANT -mt |
|
79 |
|
80 QMAKE_INCDIR = |
|
81 QMAKE_LIBDIR = |
|
82 QMAKE_INCDIR_X11 = /usr/include/X11R6 |
|
83 QMAKE_LIBDIR_X11 = /usr/lib/hpux64/X11R6 |
|
84 QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS] |
|
85 QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS] |
|
86 QMAKE_INCDIR_OPENGL = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include |
|
87 QMAKE_LIBDIR_OPENGL = /opt/graphics/OpenGL/lib/hpux64 /usr/contrib/X11R6/lib/hpux64 |
|
88 |
|
89 QMAKE_LINK = aCC |
|
90 QMAKE_LINK_SHLIB = aCC |
|
91 QMAKE_LFLAGS = +DD64 +DSitanium -Wl,+s |
|
92 QMAKE_LFLAGS_RELEASE = -O |
|
93 QMAKE_LFLAGS_DEBUG = -g |
|
94 QMAKE_LFLAGS_SHLIB = -b -Wl,-a,shared |
|
95 QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB |
|
96 QMAKE_LFLAGS_SONAME = -Wl,+h, |
|
97 QMAKE_LFLAGS_THREAD = |
|
98 QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats |
|
99 QMAKE_RPATH = |
|
100 |
|
101 QMAKE_LIBS = -lm |
|
102 QMAKE_LIBS_DYNLOAD = -ldl |
|
103 QMAKE_LIBS_X11 = -lXext -lX11 |
|
104 QMAKE_LIBS_X11SM = -lSM -lICE |
|
105 QMAKE_LIBS_OPENGL = -lGLU -lGL -lXt |
|
106 QMAKE_LIBS_OPENGL_QT = -lGL -lXt |
|
107 QMAKE_LIBS_THREAD = -lpthread |
|
108 QMAKE_LIBS_YACC = -ly |
|
109 |
|
110 QMAKE_MOC = $$[QT_INSTALL_BINS]/moc |
|
111 QMAKE_UIC = $$[QT_INSTALL_BINS]/uic |
|
112 |
|
113 QMAKE_AR = ar cqs |
|
114 QMAKE_OBJCOPY = objcopy |
|
115 QMAKE_RANLIB = |
|
116 |
|
117 QMAKE_TAR = tar -cf |
|
118 QMAKE_GZIP = gzip -9f |
|
119 |
|
120 QMAKE_COPY = cp -f |
|
121 QMAKE_MOVE = mv -f |
|
122 QMAKE_DEL_FILE = rm -f |
|
123 QMAKE_DEL_DIR = rmdir |
|
124 QMAKE_CHK_DIR_EXISTS = test -d |
|
125 QMAKE_MKDIR = mkdir -p |
|
126 include(../common/unix.conf) |
|
127 load(qt_config) |