# $NetBSD: buildlink2.mk,v 1.4 2004/03/29 05:05:40 jlam Exp $ .if !defined(SANE_BUILDLINK2_MK) SANE_BUILDLINK2_MK= # defined BUILDLINK_PACKAGES+= sane BUILDLINK_PKGBASE.sane?= sane-backends BUILDLINK_DEPENDS.sane?= sane-backends>=1.0.3 BUILDLINK_PKGSRCDIR.sane?= ../../graphics/sane-backends EVAL_PREFIX+= BUILDLINK_PREFIX.sane=sane-backends BUILDLINK_PREFIX.sane_DEFAULT= ${LOCALBASE} BUILDLINK_FILES.sane= include/sane/*.h BUILDLINK_FILES.sane+= lib/libsane.* .if (${OPSYS} != "SunOS") . include "../../devel/libusb/buildlink2.mk" .endif .include "../../graphics/jpeg/buildlink2.mk" BUILDLINK_TARGETS+= sane-buildlink sane-buildlink: _BUILDLINK_USE .endif # SANE_BUILDLINK2_MK