source: branches/vendor/trolltech/qt/current/mkspecs/linux-kcc/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 linux-kcc
3#
4# Written for KAI C++ 4.0f for GNU/Linux
5#
6# This product has been discontinued, use Intel C++ instead.
7#
8# From the KAI C++ man page for Linux:
9# --[no_]thread_safe
10#       [Waive or] Request thread-safe handling of system-allocated objects.
11#       To guarantee thread safety, this option must be used when both
12#       compiling and linking. Thread-safe C++ is not link-compatible with
13#       (the default) non-thread-safe C++.
14#
15
16MAKEFILE_GENERATOR      = UNIX
17TEMPLATE                = app
18CONFIG                  += qt warn_on release link_prl
19QT                      += core gui
20
21QMAKE_CC                = KCC
22QMAKE_LEX               = flex
23QMAKE_LEXFLAGS          =
24QMAKE_YACC              = yacc
25QMAKE_YACCFLAGS         = -d
26QMAKE_CFLAGS            = --c --display_error_number --backend -pipe
27QMAKE_CFLAGS_DEPS       = -M
28QMAKE_CFLAGS_WARN_ON    =
29QMAKE_CFLAGS_WARN_OFF   = -w
30QMAKE_CFLAGS_RELEASE    = +K2
31QMAKE_CFLAGS_DEBUG      = +K0
32QMAKE_CFLAGS_SHLIB      = -fPIC
33QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
34QMAKE_CFLAGS_YACC       = --diag_suppress 111,177
35QMAKE_CFLAGS_THREAD     = --thread_safe
36
37QMAKE_CXX               = KCC
38QMAKE_CXXFLAGS          = --display_error_number --diag_suppress 611,1142 --backend -pipe
39QMAKE_CXXFLAGS_DEPS     = $$QMAKE_CFLAGS_DEPS
40QMAKE_CXXFLAGS_WARN_ON  = $$QMAKE_CFLAGS_WARN_ON
41QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
42QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
43QMAKE_CXXFLAGS_DEBUG    = $$QMAKE_CFLAGS_DEBUG
44QMAKE_CXXFLAGS_SHLIB    = $$QMAKE_CFLAGS_SHLIB
45QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
46QMAKE_CXXFLAGS_YACC     = $$QMAKE_CFLAGS_YACC
47QMAKE_CXXFLAGS_THREAD   = $$QMAKE_CFLAGS_THREAD
48
49QMAKE_INCDIR            =
50QMAKE_LIBDIR            =
51QMAKE_INCDIR_X11        = /usr/X11R6/include
52QMAKE_LIBDIR_X11        = /usr/X11R6/lib
53QMAKE_INCDIR_QT         = $$[QT_INSTALL_HEADERS]
54QMAKE_LIBDIR_QT         = $$[QT_INSTALL_LIBS]
55QMAKE_INCDIR_OPENGL     = /usr/X11R6/include
56QMAKE_LIBDIR_OPENGL     = /usr/X11R6/lib
57
58QMAKE_LINK              = KCC
59QMAKE_LINK_SHLIB        = KCC
60QMAKE_LFLAGS            =
61QMAKE_LFLAGS_RELEASE    =
62QMAKE_LFLAGS_DEBUG      =
63QMAKE_LFLAGS_SHLIB      =
64QMAKE_LFLAGS_PLUGIN     = $$QMAKE_LFLAGS_SHLIB
65QMAKE_LFLAGS_SONAME     = --soname$$LITERAL_WHITESPACE
66QMAKE_LFLAGS_THREAD     = --thread_safe
67QMAKE_RPATH             = -rpath$$LITERAL_WHITESPACE
68
69QMAKE_LIBS              =
70QMAKE_LIBS_DYNLOAD      = -ldl
71QMAKE_LIBS_X11          = -lXext -lX11 -lm
72QMAKE_LIBS_X11SM        = -lSM -lICE
73QMAKE_LIBS_NIS          = -lnsl
74QMAKE_LIBS_OPENGL       = -lGLU -lGL
75QMAKE_LIBS_OPENGL_QT    = -lGL
76QMAKE_LIBS_THREAD       =
77
78QMAKE_MOC               = $$[QT_INSTALL_BINS]/moc
79QMAKE_UIC               = $$[QT_INSTALL_BINS]/uic
80
81QMAKE_AR                = ar cqs
82QMAKE_OBJCOPY           = objcopy
83QMAKE_RANLIB            =
84
85QMAKE_CLEAN             = -r $(OBJECTS_DIR)ti_files
86
87QMAKE_TAR               = tar -cf
88QMAKE_GZIP              = gzip -9f
89
90QMAKE_COPY              = cp -f
91QMAKE_MOVE              = mv -f
92QMAKE_DEL_FILE          = rm -f
93QMAKE_DEL_DIR           = rmdir
94QMAKE_CHK_DIR_EXISTS    = test -d
95QMAKE_MKDIR             = mkdir -p
96include(../common/unix.conf)
97load(qt_config)
Note: See TracBrowser for help on using the repository browser.