2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
# qmake configuration for netbsd-g++
|
|
|
|
#
|
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
MAKEFILE_GENERATOR = UNIX
|
2016-06-09 09:33:51 +00:00
|
|
|
QMAKE_PLATFORM = netbsd
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2016-06-09 09:33:51 +00:00
|
|
|
include(../common/bsd/bsd.conf)
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2016-06-09 09:33:51 +00:00
|
|
|
# Addon software goes into /usr/pkg on NetBSD, by default we will look there
|
2017-05-16 15:28:22 +00:00
|
|
|
QMAKE_INCDIR_POST = /usr/pkg/include
|
|
|
|
QMAKE_LIBDIR_POST = /usr/pkg/lib
|
2016-06-09 09:33:51 +00:00
|
|
|
|
|
|
|
# System provided X11 defaults to X11R7 path on NetBSD since 5.0
|
2016-06-07 13:00:46 +00:00
|
|
|
QMAKE_INCDIR_X11 = /usr/X11R7/include
|
|
|
|
QMAKE_LIBDIR_X11 = /usr/X11R7/lib
|
|
|
|
QMAKE_INCDIR_OPENGL = /usr/X11R7/include
|
|
|
|
QMAKE_LIBDIR_OPENGL = /usr/X11R7/lib
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2016-06-29 09:54:33 +00:00
|
|
|
# NetBSD requires rpath to be used for all lib dirs, see http://www.netbsd.org/docs/elf.html
|
|
|
|
QMAKE_RPATHDIR += $$QMAKE_LIBDIR $$QMAKE_LIBDIR_X11
|
|
|
|
|
2016-06-09 09:33:51 +00:00
|
|
|
include(../common/gcc-base-unix.conf)
|
|
|
|
include(../common/g++-unix.conf)
|
2011-04-27 10:05:43 +00:00
|
|
|
load(qt_config)
|