summaryrefslogtreecommitdiff
path: root/graphics/glut/buildlink.mk
blob: 4adc17f65965fa6ae876ac7e1e533e51a4cd20e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: buildlink.mk,v 1.2 2002/08/25 18:39:08 jlam Exp $

.if !defined(GLUT_BUILDLINK_MK)
GLUT_BUILDLINK_MK=	# defined

.include "../../mk/bsd.buildlink.mk"

BUILDLINK_DEPENDS.glut?=	glut>=3.4.2
DEPENDS+=	${BUILDLINK_DEPENDS.glut}:../../graphics/glut

EVAL_PREFIX+=		BUILDLINK_PREFIX.glut=glut
BUILDLINK_PREFIX.glut_DEFAULT=	${X11PREFIX}
BUILDLINK_FILES.glut=	include/GL/glut.h
BUILDLINK_FILES.glut+=	include/GL/glutf90.h
BUILDLINK_FILES.glut+=	lib/libglut.*

BUILDLINK_TARGETS+=	glut-buildlink

pre-configure: glut-buildlink
glut-buildlink: _BUILDLINK_USE

.endif	# GLUT_BUILDLINK_MK