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