2002-09-23 10:41:00 +02:00
|
|
|
# $NetBSD: xaw.buildlink2.mk,v 1.5 2002/09/23 08:41:00 jlam Exp $
|
2002-08-22 10:21:26 +02:00
|
|
|
|
|
|
|
.if !defined(XAW_BUILDLINK2_MK)
|
|
|
|
XAW_BUILDLINK2_MK= # defined
|
|
|
|
|
|
|
|
# Pull in setting for XAW_TYPE.
|
|
|
|
XAW_TYPE?= standard
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${XAW_TYPE} == "xpm"
|
2002-09-23 10:29:56 +02:00
|
|
|
. include "../../x11/Xaw-Xpm/buildlink2.mk"
|
|
|
|
BUILDLINK_PREFIX.Xaw?= ${BUILDLINK_PREFIX.Xaw-Xpm}
|
2002-08-22 10:21:26 +02:00
|
|
|
.elif ${XAW_TYPE} == "3d"
|
2002-09-23 10:29:56 +02:00
|
|
|
. include "../../x11/Xaw3d/buildlink2.mk"
|
|
|
|
BUILDLINK_PREFIX.Xaw?= ${BUILDLINK_PREFIX.Xaw3d}
|
2002-08-28 17:20:39 +02:00
|
|
|
.elif ${XAW_TYPE} == "neXtaw"
|
2002-09-23 10:29:56 +02:00
|
|
|
. include "../../x11/neXtaw/buildlink2.mk"
|
|
|
|
BUILDLINK_PREFIX.Xaw?= ${BUILDLINK_PREFIX.neXtaw}
|
2002-08-22 10:21:26 +02:00
|
|
|
.else
|
2002-09-23 10:29:56 +02:00
|
|
|
BUILDLINK_PREFIX.Xaw?= ${X11BASE}
|
2002-09-23 10:41:00 +02:00
|
|
|
LIBXAW?= -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lXaw
|
2002-08-22 10:21:26 +02:00
|
|
|
.endif
|
2002-09-23 10:29:56 +02:00
|
|
|
|
2002-08-22 10:21:26 +02:00
|
|
|
MAKE_ENV+= LIBXAW="${LIBXAW}"
|
|
|
|
|
|
|
|
.endif # XAW_BUILDLINK2_MK
|