source: branches/vendor/trolltech/qt/current/mkspecs/hpux-acc/qmake.conf @ 2

Last change on this file since 2 was 2, checked in by Dmitry A. Kuminov, 12 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 3.2 KB
Line 
1#
2# qmake configuration for hpux-acc
3#
4# We define _POSIX_C_SOURCE to 199506L when using threads, therefore
5# we also need to redefine _HPUX_SOURCE. See pthread(3t) for more details.
6#
7# From the "HP aC++ Online Programmer's Guide":
8#       Using +DS to Specify Instruction Scheduling:
9#       * By default, the compiler performs scheduling tuned for the system
10#         on which you are compiling, or, if specified, tuned for the setting
11#         of the +DA option.
12#
13# From the online "C/HP-UX Reference Manual":
14#       -Aa
15#         Enables strict ANSI C compliance.
16#       -Ae
17#         Enables ANSI C compliance, HP value-added features (as described
18#         for +e option), and _HPUX_SOURCE name space macro. It is equivalent
19#         to -Aa +e -D_HPUX_SOURCE.
20#       +e
21#         Enables the following HP value added features while compiling in
22#         ANSI C mode: sized enum, long long, long pointers, compiler supplied
23#         defaults for missing arguments to intrinsic calls, and $ in identifier
24#         HP C extensions.
25#
26
27MAKEFILE_GENERATOR      = UNIX
28TEMPLATE                = app
29CONFIG                  += qt warn_on release link_prl
30QT                      += core gui
31QMAKE_COMPILER_DEFINES  += __hpux __HP_aCC
32
33QMAKE_CC                = cc
34QMAKE_LEX               = flex
35QMAKE_LEXFLAGS          =
36QMAKE_YACC              = yacc
37QMAKE_YACCFLAGS         = -d
38QMAKE_CFLAGS            = -Ae +DAportable -w
39QMAKE_CFLAGS_WARN_ON    =
40QMAKE_CFLAGS_WARN_OFF   = -w
41QMAKE_CFLAGS_RELEASE    = +O1
42QMAKE_CFLAGS_DEBUG      = -g
43QMAKE_CFLAGS_SHLIB      = +Z
44QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
45QMAKE_CFLAGS_YACC       =
46QMAKE_CFLAGS_THREAD     = -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -mt
47
48QMAKE_CXX               = aCC
49QMAKE_CXXFLAGS          = -AA +DAportable -w -D__STRICT_ANSI__ -D_HPUX_SOURCE
50QMAKE_CXXFLAGS_DEPS     = +M
51QMAKE_CXXFLAGS_WARN_ON  = $$QMAKE_CFLAGS_WARN_ON
52QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
53QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
54QMAKE_CXXFLAGS_DEBUG    = $$QMAKE_CFLAGS_DEBUG
55QMAKE_CXXFLAGS_SHLIB    = $$QMAKE_CFLAGS_SHLIB
56QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
57QMAKE_CXXFLAGS_YACC     = $$QMAKE_CFLAGS_YACC
58QMAKE_CXXFLAGS_THREAD   = -D_POSIX_C_SOURCE=199506L -mt
59
60QMAKE_INCDIR            =
61QMAKE_LIBDIR            =
62QMAKE_INCDIR_X11        = /usr/include/X11R6
63QMAKE_LIBDIR_X11        = /usr/lib/X11R6
64QMAKE_INCDIR_QT         = $$[QT_INSTALL_HEADERS]
65QMAKE_LIBDIR_QT         = $$[QT_INSTALL_LIBS]
66QMAKE_INCDIR_OPENGL     = /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
67QMAKE_LIBDIR_OPENGL     = /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib
68
69QMAKE_LINK              = aCC
70QMAKE_LINK_SHLIB        = aCC
71QMAKE_LFLAGS            = -AA +DAportable -Wl,+s
72QMAKE_LFLAGS_RELEASE    = -O
73QMAKE_LFLAGS_DEBUG      = -g
74QMAKE_LFLAGS_SHLIB      = -b -Wl,-a,shared
75QMAKE_LFLAGS_PLUGIN     = $$QMAKE_LFLAGS_SHLIB
76QMAKE_LFLAGS_SONAME     = -Wl,+h,
77QMAKE_LFLAGS_THREAD     =
78QMAKE_LFLAGS_NOUNDEF    = -Wl,+noallowunsats
79QMAKE_RPATH             = -Wl,+b,
80QMAKE_HPUX_SHLIB        = 1
81QMAKE_EXTENSION_SHLIB   = sl
82
83QMAKE_LIBS              = -lm
84QMAKE_LIBS_DYNLOAD      = -ldld
85QMAKE_LIBS_X11          = -lXext -lX11
86QMAKE_LIBS_X11SM        = -lSM -lICE
87QMAKE_LIBS_OPENGL       = -lGLU -lGL -lXt
88QMAKE_LIBS_OPENGL_QT    = -lGL -lXt
89QMAKE_LIBS_THREAD       = -lpthread
90QMAKE_LIBS_YACC         = -ly
91
92QMAKE_MOC               = $$[QT_INSTALL_BINS]/moc
93QMAKE_UIC               = $$[QT_INSTALL_BINS]/uic
94
95QMAKE_AR                = ar cqs
96QMAKE_OBJCOPY           = objcopy
97QMAKE_RANLIB            =
98
99QMAKE_TAR               = tar -cf
100QMAKE_GZIP              = gzip -9f
101
102QMAKE_COPY              = cp -f
103QMAKE_MOVE              = mv -f
104QMAKE_DEL_FILE          = rm -f
105QMAKE_DEL_DIR           = rmdir
106QMAKE_CHK_DIR_EXISTS    = test -d
107QMAKE_MKDIR             = mkdir -p
108include(../common/unix.conf)
109load(qt_config)
Note: See TracBrowser for help on using the repository browser.