summaryrefslogtreecommitdiff
path: root/x11/Xaw3d/buildlink2.mk
blob: 41205f498c1bdbf65da6e32280704b9e3d1a486d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: buildlink2.mk,v 1.3 2002/09/23 08:29:59 jlam Exp $

.if !defined(XAW3D_BUILDLINK2_MK)
XAW3D_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		Xaw3d
BUILDLINK_DEPENDS.Xaw3d?=	Xaw3d-1.5
BUILDLINK_PKGSRCDIR.Xaw3d?=	../../x11/Xaw3d

EVAL_PREFIX+=			BUILDLINK_PREFIX.Xaw3d=Xaw3d
BUILDLINK_PREFIX.Xaw3d_DEFAULT=	${X11PREFIX}
BUILDLINK_FILES.Xaw3d=		include/X11/X11/Xaw3d/*	# for OpenWindows
BUILDLINK_FILES.Xaw3d+=		include/X11/Xaw3d/*
BUILDLINK_FILES.Xaw3d+=		lib/libXaw3d.*

BUILDLINK_TARGETS+=	Xaw3d-buildlink

LIBXAW?=	-L${BUILDLINK_PREFIX.Xaw3d}/lib				\
		-Wl,-R${BUILDLINK_PREFIX.Xaw3d}/lib			\
		-lXaw3d

Xaw3d-buildlink: _BUILDLINK_USE

.endif	# XAW3D_BUILDLINK2_MK