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