1 # $NetBSD: xaw.buildlink3.mk,v 1.5 2007/03/09 02:04:04 rillig Exp $
3 # This file selects the X Athena Widgets (Xaw) implementation.
5 # User-settable variables:
8 # The Xaw type to be selected.
10 # Possible: 3d neXtaw standard xpm
14 .if
!defined
(XAW_BUILDLINK3_MK
)
15 XAW_BUILDLINK3_MK
= # defined
17 .
include "../../mk/bsd.prefs.mk"
21 .if
${XAW_TYPE} == "xpm"
22 .
include "../../x11/Xaw-Xpm/buildlink3.mk"
23 BUILDLINK_PREFIX.Xaw?
= ${BUILDLINK_PREFIX.Xaw-Xpm
}
24 .elif
${XAW_TYPE} == "3d"
25 .
include "../../x11/Xaw3d/buildlink3.mk"
26 BUILDLINK_PREFIX.Xaw?
= ${BUILDLINK_PREFIX.Xaw3d
}
27 .elif
${XAW_TYPE} == "neXtaw"
28 .
include "../../x11/neXtaw/buildlink3.mk"
29 BUILDLINK_PREFIX.Xaw?
= ${BUILDLINK_PREFIX.neXtaw
}
30 .elif
${XAW_TYPE} == "standard"
31 . if
${X11_TYPE} == "modular"
32 .
include "../../x11/libXaw/buildlink3.mk"
33 BUILDLINK_PREFIX.Xaw?
= ${BUILDLINK_PREFIX.libXaw
}
35 .
include "../../mk/x11.buildlink3.mk"
36 BUILDLINK_PREFIX.Xaw?
= ${X11BASE}
39 PKG_FAIL_REASON
+= "[xaw.buildlink3.mk] Invalid value ${XAW_TYPE} for XAW_TYPE."
42 .
endif # XAW_BUILDLINK3_MK