source: branches/vendor/trolltech/qt/current/mkspecs/darwin-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.9 KB
Line 
1#
2# qmake configuration for darwin-g++
3#
4# Written for Qt/X11 on Darwin and XFree86
5#
6
7MAKEFILE_GENERATOR      = UNIX
8TEMPLATE                = app
9CONFIG                  += qt warn_on release link_prl native_precompiled_headers
10QT                      += core gui
11DEFINES                 += __USE_WS_X11__
12
13QMAKE_CC                = cc
14QMAKE_LEX               = flex
15QMAKE_LEXFLAGS          =
16QMAKE_YACC              = yacc
17QMAKE_YACCFLAGS         = -d
18QMAKE_CFLAGS            = -pipe
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_EXTENSION_SHLIB   = dylib
27QMAKE_EXTENSION_PLUGIN  = so
28QMAKE_CFLAGS_YACC       = -Wno-unused -Wno-parentheses
29QMAKE_CFLAGS_HIDESYMS   += -fvisibility=hidden
30QMAKE_CFLAGS_THREAD     =
31QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
32QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
33
34QMAKE_CXX               = c++
35QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
36QMAKE_CXXFLAGS_DEPS     = $$QMAKE_CFLAGS_DEPS
37QMAKE_CXXFLAGS_WARN_ON  = $$QMAKE_CFLAGS_WARN_ON
38QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
39QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE
40QMAKE_CXXFLAGS_DEBUG    = $$QMAKE_CFLAGS_DEBUG
41QMAKE_CXXFLAGS_SHLIB    = $$QMAKE_CFLAGS_SHLIB
42QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
43QMAKE_CXXFLAGS_YACC     = $$QMAKE_CFLAGS_YACC
44QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
45QMAKE_CXXFLAGS_THREAD   =
46
47QMAKE_INCDIR            =
48QMAKE_LIBDIR            =
49QMAKE_INCDIR_X11        = /usr/X11R6/include
50QMAKE_LIBDIR_X11        = /usr/X11R6/lib
51QMAKE_INCDIR_QT         = $$[QT_INSTALL_HEADERS]
52QMAKE_LIBDIR_QT         = $$[QT_INSTALL_LIBS]
53QMAKE_INCDIR_OPENGL     = /usr/X11R6/include
54QMAKE_LIBDIR_OPENGL     = /usr/X11R6/lib
55
56QMAKE_LINK              = c++
57QMAKE_LINK_SHLIB        = c++
58QMAKE_LFLAGS            += -headerpad_max_install_names
59QMAKE_LFLAGS            =
60QMAKE_LFLAGS_RELEASE    =
61QMAKE_LFLAGS_DEBUG      =
62QMAKE_LFLAGS_APP        = -prebind
63QMAKE_LFLAGS_SHLIB      = -prebind -dynamiclib -single_module
64QMAKE_LFLAGS_PLUGIN     = -prebind -bundle
65QMAKE_LFLAGS_THREAD     =
66QMAKE_LFLAGS_SONAME     += -install_name$${LITERAL_WHITESPACE}
67
68QMAKE_LFLAGS_VERSION    = -current_version$${LITERAL_WHITESPACE}
69QMAKE_LFLAGS_COMPAT_VERSION = -compatibility_version$${LITERAL_WHITESPACE}
70
71QMAKE_RPATH             =
72
73QMAKE_LIBS_DYNLOAD      =
74QMAKE_LIBS_X11          = -lXext -lX11 -lm
75QMAKE_LIBS_X11SM        = -lSM -lICE
76QMAKE_LIBS_OPENGL       = -lGLU -lGL
77QMAKE_LIBS_OPENGL_QT    = -lGL
78QMAKE_LIBS_THREAD       =
79
80QMAKE_MOC               = $$[QT_INSTALL_BINS]/moc
81QMAKE_UIC               = $$[QT_INSTALL_BINS]/uic
82
83QMAKE_AR                = ar cq
84QMAKE_OBJCOPY           = objcopy
85QMAKE_RANLIB            = ranlib -s
86
87QMAKE_TAR               = tar -cf
88QMAKE_GZIP              = gzip -9f
89
90QMAKE_COPY              = cp -f
91QMAKE_COPY_FILE         = $$QMAKE_COPY
92QMAKE_COPY_DIR          = $$QMAKE_COPY -r
93QMAKE_MOVE              = mv -f
94QMAKE_DEL_FILE          = rm -f
95QMAKE_DEL_DIR           = rmdir
96QMAKE_CHK_DIR_EXISTS    = test -d
97QMAKE_MKDIR             = mkdir -p
98
99QMAKE_PCH_OUTPUT_EXT    = .gch
100
101QMAKE_CXXFLAGS_PRECOMPILE += -x objective-c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
102QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
103
104include(../common/unix.conf)
105load(qt_config)
Note: See TracBrowser for help on using the repository browser.