927f26c351
BSD OS mkspecs share mainly the same configurations except very few differences. Merge into a common/bsd/bsd.conf file to be used across all BSD OSes in their respective qmake.conf and add a qplatformdefs.h that contain the common defines to be re-used in the BSD mkspecs. The change includes the usage of <sys/param.h> also on NetBSD through the common qplatformdefs.h, which is intended for using NetBSD's version defines. Change-Id: Ibb0ac9e4c8bb5aff7d0febdcab1a4b9600a61117 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
27 lines
728 B
Plaintext
27 lines
728 B
Plaintext
#
|
|
# qmake configuration for openbsd-g++
|
|
#
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
QMAKE_PLATFORM = openbsd
|
|
|
|
include(../common/bsd/bsd.conf)
|
|
|
|
# Addon software goes into /usr/local on OpenBSD, by default we will look there
|
|
QMAKE_INCDIR = /usr/local/include
|
|
QMAKE_LIBDIR = /usr/local/lib
|
|
|
|
# System provided X11 defaults to X11R6 path on OpenBSD
|
|
QMAKE_INCDIR_X11 = /usr/X11R6/include
|
|
QMAKE_LIBDIR_X11 = /usr/X11R6/lib
|
|
QMAKE_INCDIR_OPENGL = /usr/X11R6/include
|
|
QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
|
|
|
|
include(../common/gcc-base-unix.conf)
|
|
include(../common/g++-unix.conf)
|
|
|
|
# Reset g++-unix.conf's NOUNDEF flags as OpenBSD libc can't handle environ
|
|
QMAKE_LFLAGS_NOUNDEF =
|
|
|
|
load(qt_config)
|