source: branches/vendor/trolltech/qt/current/mkspecs/solaris-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.6 KB
Line 
1#
2# qmake configuration for solaris-g++
3#
4# The X11 header files used to be broken on Solaris until patches were
5# released in early 2001 for Solaris 2.6, 7, and 8. On Solaris 2.5.1
6# or non-patched systems -fpermissive works around the incompatibility
7# between GCC 2.95 or better and Solaris - but we still get warnings
8# because we don't use -isystem.
9#
10
11MAKEFILE_GENERATOR      = UNIX
12TEMPLATE                = app
13CONFIG                  += qt warn_on release link_prl
14QT                      += core gui
15
16QMAKE_CC                = gcc
17QMAKE_LEX               = flex
18QMAKE_LEXFLAGS          =
19QMAKE_YACC              = yacc
20QMAKE_YACCFLAGS         = -d
21QMAKE_CFLAGS            =
22QMAKE_CFLAGS_DEPS       = -M
23QMAKE_CFLAGS_WARN_ON    = -Wall -W
24QMAKE_CFLAGS_WARN_OFF   = -w
25QMAKE_CFLAGS_RELEASE    = -O2
26QMAKE_CFLAGS_DEBUG      = -g
27QMAKE_CFLAGS_SHLIB      = -fPIC
28QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
29QMAKE_CFLAGS_YACC       = -Wno-unused -Wno-parentheses
30QMAKE_CFLAGS_THREAD     = -D_REENTRANT
31
32QMAKE_CXX               = g++
33QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
34QMAKE_CXXFLAGS_DEPS     = $$QMAKE_CFLAGS_DEPS
35QMAKE_CXXFLAGS_WARN_ON  = $$QMAKE_CFLAGS_WARN_ON
36QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
37QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
38QMAKE_CXXFLAGS_DEBUG    = $$QMAKE_CFLAGS_DEBUG
39QMAKE_CXXFLAGS_SHLIB    = $$QMAKE_CFLAGS_SHLIB
40QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
41QMAKE_CXXFLAGS_YACC     = $$QMAKE_CFLAGS_YACC
42QMAKE_CXXFLAGS_THREAD   = $$QMAKE_CFLAGS_THREAD
43
44QMAKE_INCDIR            = /usr/sfw/include
45QMAKE_LIBDIR            = /usr/sfw/lib
46QMAKE_INCDIR_X11        = /usr/openwin/include
47QMAKE_LIBDIR_X11        = /usr/openwin/lib
48QMAKE_INCDIR_QT         = $$[QT_INSTALL_HEADERS]
49QMAKE_LIBDIR_QT         = $$[QT_INSTALL_LIBS]
50QMAKE_INCDIR_OPENGL     = /usr/openwin/include
51QMAKE_LIBDIR_OPENGL     = /usr/openwin/lib
52
53QMAKE_LINK              = g++
54QMAKE_LINK_SHLIB        = g++
55QMAKE_LINK_C            = gcc
56QMAKE_LINK_C_SHLIB      = gcc
57QMAKE_LFLAGS            =
58QMAKE_LFLAGS_RELEASE    =
59QMAKE_LFLAGS_DEBUG      = -g
60QMAKE_LFLAGS_SHLIB      = -shared
61QMAKE_LFLAGS_PLUGIN     = $$QMAKE_LFLAGS_SHLIB
62QMAKE_LFLAGS_SONAME     = -h$$LITERAL_WHITESPACE
63QMAKE_LFLAGS_THREAD     =
64QMAKE_LFLAGS_NOUNDEF    = -z defs
65QMAKE_RPATH             = -Wl,-R,
66
67QMAKE_LIBS              =
68QMAKE_LIBS_DYNLOAD      = -ldl
69QMAKE_LIBS_X11          = -lXext -lX11 -lresolv -lsocket -lnsl
70QMAKE_LIBS_X11SM        = -lSM -lICE
71QMAKE_LIBS_NIS          =
72QMAKE_LIBS_OPENGL       = -lGLU -lGL
73QMAKE_LIBS_OPENGL_QT    = -lGL
74QMAKE_LIBS_THREAD       = -lpthread -lrt
75QMAKE_LIBS_NETWORK      = -lresolv -lsocket -lxnet -lnsl
76
77QMAKE_MOC               = $$[QT_INSTALL_BINS]/moc
78QMAKE_UIC               = $$[QT_INSTALL_BINS]/uic
79
80QMAKE_AR                = ar cq
81QMAKE_OBJCOPY           = objcopy
82QMAKE_RANLIB            =
83
84QMAKE_TAR               = tar -cf
85QMAKE_GZIP              = gzip -9f
86
87QMAKE_COPY              = cp -f
88QMAKE_MOVE              = mv -f
89QMAKE_DEL_FILE          = rm -f
90QMAKE_DEL_DIR           = rmdir
91QMAKE_CHK_DIR_EXISTS    = test -d
92QMAKE_MKDIR             = mkdir -p
93include(../common/unix.conf)
94load(qt_config)
Note: See TracBrowser for help on using the repository browser.