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
|
|
|
#
|
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
|
|
QMAKE_PLATFORM = freebsd bsd
|
|
|
|
CONFIG += gdb_dwarf_index
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_CFLAGS_THREAD = -pthread -D_THREAD_SAFE
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
# Addon software goes into /usr/local on the BSDs, by default we will look there
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_INCDIR = /usr/local/include
|
|
|
|
QMAKE_LIBDIR = /usr/local/lib
|
|
|
|
QMAKE_INCDIR_X11 = /usr/X11R6/include
|
|
|
|
QMAKE_LIBDIR_X11 = /usr/X11R6/lib
|
|
|
|
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_OPENGL = -lGL
|
|
|
|
QMAKE_LIBS_THREAD =
|
|
|
|
|
|
|
|
QMAKE_AR = ar cqs
|
2011-04-27 10:05:43 +00:00
|
|
|
QMAKE_OBJCOPY = objcopy
|
2013-04-22 21:22:09 +00:00
|
|
|
QMAKE_NM = nm -P
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_RANLIB =
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
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.
|
2013-03-19 01:57:31 +00:00
|
|
|
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
|
2012-04-29 00:29:34 +00:00
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
load(qt_config)
|