2 # qmake configuration for hpux-g++-64
4 # We define _POSIX_C_SOURCE to 199506L when using threads,
5 # therefore we also need to redefine _HPUX_SOURCE.
8 MAKEFILE_GENERATOR = UNIX
10 CONFIG += qt warn_on release link_prl
19 QMAKE_CFLAGS_DEPS = -M
20 QMAKE_CFLAGS_WARN_ON = -Wall -W
21 QMAKE_CFLAGS_WARN_OFF = -w
22 QMAKE_CFLAGS_RELEASE = -O2
23 QMAKE_CFLAGS_DEBUG = -g
24 QMAKE_CFLAGS_SHLIB = -fPIC
25 QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
26 QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
27 QMAKE_CFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
30 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -D_HPUX_SOURCE
31 QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
32 QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
33 QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
34 QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
35 QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
36 QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
37 QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
38 QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
39 QMAKE_CXXFLAGS_THREAD = -D_POSIX_C_SOURCE=199506L
42 QMAKE_LIBDIR = /usr/lib/pa20_64
43 QMAKE_INCDIR_X11 = /usr/include/X11R6
44 QMAKE_LIBDIR_X11 = /usr/lib/X11R6/pa20_64
45 QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
46 QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]
47 QMAKE_INCDIR_OPENGL = /opt/Mesa/include /usr/contrib/X11R6/include
48 QMAKE_LIBDIR_OPENGL = /opt/Mesa/lib/pa20_64 /usr/contrib/X11R6/lib/pa20_64
51 QMAKE_LINK_SHLIB = g++
53 QMAKE_LINK_C_SHLIB = gcc
54 QMAKE_LFLAGS = -Wl,+s -lpthread
55 QMAKE_LFLAGS_RELEASE =
57 QMAKE_LFLAGS_SHLIB = -fPIC -shared
58 QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
59 QMAKE_LFLAGS_SONAME = -Wl,+h,
61 QMAKE_LFLAGS_NOUNDEF = -Wl,+noallowunsats
64 QMAKE_EXTENSION_SHLIB = sl
67 QMAKE_LIBS_DYNLOAD = -ldld
68 QMAKE_LIBS_X11 = -lXext -lX11
69 QMAKE_LIBS_X11SM = -lSM -lICE
70 QMAKE_LIBS_OPENGL = -lGLU -lGL
71 QMAKE_LIBS_OPENGL_QT = -lGL
72 QMAKE_LIBS_THREAD = -lpthread
75 QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
76 QMAKE_UIC = $$[QT_INSTALL_BINS]/uic
79 QMAKE_OBJCOPY = objcopy
87 QMAKE_DEL_FILE = rm -f
89 QMAKE_CHK_DIR_EXISTS = test -d
90 QMAKE_MKDIR = mkdir -p
91 include(../common/unix.conf)