pkgsrc/mk/x11.buildlink2.mk
jschauma 7e75c9318a Initiate support for X11 apps under IRIX.
We introduce two new variables: ABI and IMAKEOPTS
ABI determines the correct ABI to use and is set during bootstrapping
from /etc/compiler.defaults.
IMAKEOPTS are the options passed to imake to allow it to set the right
definitions and find the right paths etc.  Use IMAKEOPTS with SunOS, too.

IRIX will always require xpkgwedge, since it's got a bogus X11BASE.

When linking against libXaw, make sure we get the right ABI.
2003-06-12 15:27:08 +00:00

24 lines
605 B
Makefile

# $NetBSD: x11.buildlink2.mk,v 1.4 2003/06/12 15:27:09 jschauma Exp $
#
# This file is for internal use by bsd.buildlink2.mk and should _not_ be
# include by package Makefiles.
.if !defined(X11_BUILDLINK2_MK)
X11_BUILDLINK2_MK= # defined
USE_X11?= # defined
USE_X11_LINKS= no
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "IRIX"
. include "../../pkgtools/x11-links/xsgi.buildlink2.mk"
.else
. if !empty(X11BASE:M*openwin)
. include "../../pkgtools/x11-links/openwin.buildlink2.mk"
. else
. include "../../pkgtools/x11-links/xfree.buildlink2.mk"
. endif
.endif
.endif # X11_BUILDLINK2_MK