556dfd66a9
As with the Makefiles, only include Mesa's buildlink when necessary, otherwise include MesaLib's and/or glu's buildlink.
23 lines
707 B
Makefile
23 lines
707 B
Makefile
# $NetBSD: buildlink2.mk,v 1.3 2003/03/12 22:07:29 jschauma Exp $
|
|
|
|
.if !defined(GTKGLAREA_BUILDLINK2_MK)
|
|
GTKGLAREA_BUILDLINK2_MK= # defined
|
|
|
|
BUILDLINK_PACKAGES+= gtkglarea
|
|
BUILDLINK_DEPENDS.gtkglarea?= gtkglarea>=1.2.2
|
|
BUILDLINK_PKGSRCDIR.gtkglarea?= ../../x11/gtkglarea
|
|
|
|
EVAL_PREFIX+= BUILDLINK_PREFIX.gtkglarea=gtkglarea
|
|
BUILDLINK_PREFIX.gtkglarea_DEFAULT= ${X11PREFIX}
|
|
BUILDLINK_FILES.gtkglarea+= include/gtkgl/*
|
|
BUILDLINK_FILES.gtkglarea+= lib/libgtkgl.*
|
|
|
|
.include "../../graphics/MesaLib/buildlink2.mk"
|
|
.include "../../graphics/glu/buildlink2.mk"
|
|
.include "../../x11/gtk/buildlink2.mk"
|
|
|
|
BUILDLINK_TARGETS+= gtkglarea-buildlink
|
|
|
|
gtkglarea-buildlink: _BUILDLINK_USE
|
|
|
|
.endif # GTKGLAREA_BUILDLINK2_MK
|