0
|
1 |
#
|
|
2 |
# qmake configuration for hpuxi-g++-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 |
|
|
13 |
MAKEFILE_GENERATOR = UNIX
|
|
14 |
TEMPLATE = app
|
|
15 |
CONFIG += qt warn_on release link_prl
|
|
16 |
QT += core gui
|
|
17 |
|
|
18 |
QMAKE_CC = gcc
|
|
19 |
QMAKE_LEX = flex
|
|
20 |
QMAKE_LEXFLAGS =
|
|
21 |
QMAKE_YACC = yacc
|
|
22 |
QMAKE_YACCFLAGS = -d
|
|
23 |
QMAKE_CFLAGS = -mlp64
|
|
24 |
QMAKE_CFLAGS_DEPS = -M
|
|
25 |
QMAKE_CFLAGS_WARN_ON = -Wall -W
|
|
26 |
QMAKE_CFLAGS_WARN_OFF = -w
|
|
27 |
QMAKE_CFLAGS_RELEASE = -O2
|
|
28 |
QMAKE_CFLAGS_DEBUG = -g
|
|
29 |
QMAKE_CFLAGS_SHLIB = -fPIC
|
|
30 |
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
|
31 |
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
|
32 |
QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
|
|
33 |
|
|
34 |
QMAKE_CXX = g++
|
|
35 |
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -D_HPUX_SOURCE
|
|
36 |
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
|
37 |
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
|
38 |
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
|
39 |
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
|
40 |
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
|
41 |
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
|
42 |
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
|
43 |
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
|
44 |
QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L
|
|
45 |
|
|
46 |
QMAKE_INCDIR =
|
|
47 |
QMAKE_LIBDIR = /usr/lib/hpux64
|
|
48 |
QMAKE_INCDIR_X11 = /usr/include/X11R6
|
|
49 |
QMAKE_LIBDIR_X11 = /usr/lib/hpux64/X11R6
|
|
50 |
QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
|
|
51 |
QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]
|
|
52 |
QMAKE_INCDIR_OPENGL = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
|
|
53 |
QMAKE_LIBDIR_OPENGL = /opt/graphics/OpenGL/lib/hpux64 /usr/contrib/X11R6/lib/hpux64
|
|
54 |
|
|
55 |
QMAKE_LINK = g++
|
|
56 |
QMAKE_LINK_SHLIB = g++
|
|
57 |
QMAKE_LINK_C = gcc
|
|
58 |
QMAKE_LINK_C_SHLIB = gcc
|
|
59 |
QMAKE_LFLAGS = -mlp64 -Wl,+s
|
|
60 |
QMAKE_LFLAGS_RELEASE =
|
|
61 |
QMAKE_LFLAGS_DEBUG =
|
|
62 |
QMAKE_LFLAGS_SHLIB = -fPIC -shared
|
|
63 |
QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
|
|
64 |
QMAKE_LFLAGS_SONAME = -Wl,+h,
|
|
65 |
QMAKE_LFLAGS_THREAD = -lpthread
|
|
66 |
QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats
|
|
67 |
QMAKE_RPATH = -Wl,+b,
|
|
68 |
|
|
69 |
QMAKE_LIBS = -lm
|
|
70 |
QMAKE_LIBS_DYNLOAD = -ldl
|
|
71 |
QMAKE_LIBS_X11 = -lXext -lX11
|
|
72 |
QMAKE_LIBS_X11SM = -lSM -lICE
|
|
73 |
QMAKE_LIBS_OPENGL = -lGLU -lGL
|
|
74 |
QMAKE_LIBS_OPENGL_QT = -lGL
|
|
75 |
QMAKE_LIBS_THREAD = -lpthread
|
|
76 |
QMAKE_LIBS_YACC = -ly
|
|
77 |
|
|
78 |
QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
|
|
79 |
QMAKE_UIC = $$[QT_INSTALL_BINS]/uic
|
|
80 |
|
|
81 |
QMAKE_AR = ar cqs
|
|
82 |
QMAKE_OBJCOPY = objcopy
|
|
83 |
QMAKE_RANLIB =
|
|
84 |
|
|
85 |
QMAKE_TAR = tar -cf
|
|
86 |
QMAKE_GZIP = gzip -9f
|
|
87 |
|
|
88 |
QMAKE_COPY = cp -f
|
|
89 |
QMAKE_MOVE = mv -f
|
|
90 |
QMAKE_DEL_FILE = rm -f
|
|
91 |
QMAKE_DEL_DIR = rmdir
|
|
92 |
QMAKE_CHK_DIR_EXISTS = test -d
|
|
93 |
QMAKE_MKDIR = mkdir -p
|
|
94 |
include(../common/unix.conf)
|
|
95 |
load(qt_config)
|