2011-04-27 10:05:43 +00:00
|
|
|
#
|
2012-04-16 20:44:48 +00:00
|
|
|
# qmake configuration for freebsd-g++46 (using g++46 from ports/lang/gcc)
|
2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
|
|
TARGET_PLATFORM = unix
|
|
|
|
TEMPLATE = app
|
|
|
|
CONFIG += qt warn_on release link_prl gdb_dwarf_index
|
|
|
|
QT += core gui
|
|
|
|
|
|
|
|
QMAKE_CFLAGS_THREAD = -pthread -D_THREAD_SAFE
|
|
|
|
|
|
|
|
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
|
|
|
|
|
|
|
# Addon software goes into /usr/local on the BSDs, by default we will look there
|
|
|
|
QMAKE_INCDIR = /usr/local/include
|
|
|
|
QMAKE_LIBDIR = /usr/local/lib
|
|
|
|
QMAKE_INCDIR_X11 = /usr/X11R6/include
|
|
|
|
QMAKE_LIBDIR_X11 = /usr/X11R6/lib
|
|
|
|
QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
|
|
|
|
QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]
|
|
|
|
QMAKE_INCDIR_OPENGL = /usr/X11R6/include
|
|
|
|
QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
|
|
|
|
|
|
|
|
QMAKE_LFLAGS_THREAD = -pthread
|
|
|
|
|
|
|
|
QMAKE_LIBS =
|
|
|
|
QMAKE_LIBS_DYNLOAD =
|
|
|
|
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
|
|
|
QMAKE_LIBS_X11SM = -lSM -lICE
|
|
|
|
QMAKE_LIBS_OPENGL = -lGL
|
|
|
|
QMAKE_LIBS_OPENGL_QT = -lGL
|
|
|
|
QMAKE_LIBS_THREAD =
|
|
|
|
|
|
|
|
QMAKE_AR = ar cqs
|
|
|
|
QMAKE_OBJCOPY = objcopy
|
|
|
|
QMAKE_RANLIB =
|
|
|
|
|
|
|
|
QMAKE_TAR = tar -cf
|
|
|
|
QMAKE_GZIP = gzip -9f
|
|
|
|
|
|
|
|
QMAKE_COPY = cp -f
|
|
|
|
QMAKE_MOVE = mv -f
|
|
|
|
QMAKE_DEL_FILE = rm -f
|
|
|
|
QMAKE_DEL_DIR = rmdir
|
|
|
|
QMAKE_CHK_DIR_EXISTS = test -d
|
|
|
|
QMAKE_MKDIR = mkdir -p
|
|
|
|
include(../common/unix.conf)
|
2012-04-16 20:19:14 +00:00
|
|
|
include(../common/gcc-base-unix.conf)
|
|
|
|
include(../common/g++-unix.conf)
|
2012-04-29 00:29:34 +00:00
|
|
|
|
|
|
|
# Redefined here because g++-base.conf sets QMAKE_CC and QMAKE_CXX
|
|
|
|
# to gcc and g++, respectively.
|
|
|
|
QMAKE_CC = gcc46
|
|
|
|
QMAKE_CXX = g++46
|
|
|
|
QMAKE_LINK_C = $$QMAKE_CC
|
|
|
|
QMAKE_LINK_C_SHLIB = $$QMAKE_CC
|
|
|
|
QMAKE_LINK = $$QMAKE_CXX
|
|
|
|
QMAKE_LINK_SHLIB = $$QMAKE_CXX
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
load(qt_config)
|