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>
23 lines
625 B
Plaintext
23 lines
625 B
Plaintext
#
|
|
# qmake configuration for netbsd-g++
|
|
#
|
|
|
|
MAKEFILE_GENERATOR = UNIX
|
|
QMAKE_PLATFORM = netbsd
|
|
|
|
include(../common/bsd/bsd.conf)
|
|
|
|
# Addon software goes into /usr/pkg on NetBSD, by default we will look there
|
|
QMAKE_INCDIR = /usr/pkg/include
|
|
QMAKE_LIBDIR = /usr/pkg/lib
|
|
|
|
# System provided X11 defaults to X11R7 path on NetBSD since 5.0
|
|
QMAKE_INCDIR_X11 = /usr/X11R7/include
|
|
QMAKE_LIBDIR_X11 = /usr/X11R7/lib
|
|
QMAKE_INCDIR_OPENGL = /usr/X11R7/include
|
|
QMAKE_LIBDIR_OPENGL = /usr/X11R7/lib
|
|
|
|
include(../common/gcc-base-unix.conf)
|
|
include(../common/g++-unix.conf)
|
|
load(qt_config)
|