source: branches/vendor/trolltech/qt/current/mkspecs/linux-lsb-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.5 KB
Line 
1#
2# qmake configuration for linux-g++
3#
4
5MAKEFILE_GENERATOR      = UNIX
6TEMPLATE                = app
7CONFIG                  += qt warn_on release incremental link_prl
8QT                      += core gui
9QMAKE_INCREMENTAL_STYLE = sublib
10
11QMAKE_CC                = lsbcc
12QMAKE_LEX               = flex
13QMAKE_LEXFLAGS          =
14QMAKE_YACC              = yacc
15QMAKE_YACCFLAGS         = -d
16QMAKE_YACCFLAGS_MANGLE  = -p $base -b $base
17QMAKE_YACC_HEADER       = $base.tab.h
18QMAKE_YACC_SOURCE       = $base.tab.c
19QMAKE_CFLAGS            = -pipe
20QMAKE_CFLAGS_DEPS       = -M
21QMAKE_CFLAGS_WARN_ON    = -Wall -W
22QMAKE_CFLAGS_WARN_OFF   = -w
23QMAKE_CFLAGS_RELEASE    = -O2
24QMAKE_CFLAGS_DEBUG      = -g
25QMAKE_CFLAGS_SHLIB      = -fPIC
26QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
27QMAKE_CFLAGS_YACC       = -Wno-unused -Wno-parentheses
28QMAKE_CFLAGS_THREAD     = -D_REENTRANT
29QMAKE_CFLAGS_HIDESYMS   = -fvisibility=hidden
30
31QMAKE_LSB               = 1
32
33QMAKE_CXX               = lsbc++
34QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
35QMAKE_CXXFLAGS_DEPS     = $$QMAKE_CFLAGS_DEPS
36QMAKE_CXXFLAGS_WARN_ON  = $$QMAKE_CFLAGS_WARN_ON
37QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
38QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
39QMAKE_CXXFLAGS_DEBUG    = $$QMAKE_CFLAGS_DEBUG
40QMAKE_CXXFLAGS_SHLIB    = $$QMAKE_CFLAGS_SHLIB
41QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
42QMAKE_CXXFLAGS_YACC     = $$QMAKE_CFLAGS_YACC
43QMAKE_CXXFLAGS_THREAD   = $$QMAKE_CFLAGS_THREAD
44QMAKE_CXXFLAGS_HIDESYMS = $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
45
46QMAKE_INCDIR            =
47QMAKE_LIBDIR            =
48QMAKE_INCDIR_X11        = /opt/lsb/include
49QMAKE_LIBDIR_X11        = /opt/lsb/lib
50QMAKE_INCDIR_QT         = $$[QT_INSTALL_HEADERS]
51QMAKE_LIBDIR_QT         = $$[QT_INSTALL_LIBS]
52QMAKE_INCDIR_OPENGL     = /opt/lsb/include
53QMAKE_LIBDIR_OPENGL     = /opt/lsb/lib
54
55QMAKE_LINK              = lsbc++
56QMAKE_LINK_SHLIB        = lsbc++
57QMAKE_LFLAGS            =
58QMAKE_LFLAGS_RELEASE    =
59QMAKE_LFLAGS_DEBUG      =
60QMAKE_LFLAGS_SHLIB      = -shared
61QMAKE_LFLAGS_PLUGIN     = $$QMAKE_LFLAGS_SHLIB
62QMAKE_LFLAGS_SONAME     = -Wl,-soname,
63QMAKE_LFLAGS_THREAD     =
64QMAKE_RPATH             = -Wl,-rpath,
65
66QMAKE_LIBS              =
67QMAKE_LIBS_DYNLOAD      = -ldl
68QMAKE_LIBS_X11          = -lXext -lX11 -lm
69QMAKE_LIBS_X11SM        = -lSM -lICE
70QMAKE_LIBS_NIS          = -lnsl
71QMAKE_LIBS_OPENGL       = -lGL
72QMAKE_LIBS_OPENGL_QT    = -lGL
73QMAKE_LIBS_THREAD       = -lpthread
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_COPY_FILE         = $(COPY)
87QMAKE_COPY_DIR          = $(COPY) -r
88QMAKE_MOVE              = mv -f
89QMAKE_DEL_FILE          = rm -f
90QMAKE_DEL_DIR           = rmdir
91QMAKE_STRIP             = strip
92QMAKE_STRIPFLAGS_LIB    += --strip-unneeded
93QMAKE_CHK_DIR_EXISTS    = test -d
94QMAKE_MKDIR             = mkdir -p
95include(../common/unix.conf)
96load(qt_config)
Note: See TracBrowser for help on using the repository browser.