summaryrefslogtreecommitdiff
path: root/devel/libusb/buildlink2.mk
blob: 1572eb0979ebf06a14986880828e2512f5982114 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: buildlink2.mk,v 1.3 2002/11/18 06:25:51 schmonz Exp $

.if !defined(LIBUSB_BUILDLINK2_MK)
LIBUSB_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		libusb
BUILDLINK_DEPENDS.libusb?=	libusb>=0.1.7
BUILDLINK_PKGSRCDIR.libusb?=	../../devel/libusb

EVAL_PREFIX+=			BUILDLINK_PREFIX.libusb=libusb
BUILDLINK_FILES.libusb=		include/usb.h
BUILDLINK_FILES.libusb+=	lib/libusb-*.*
BUILDLINK_FILES.libusb+=	lib/libusb.*

BUILDLINK_TARGETS+=	libusb-buildlink

libusb-buildlink: _BUILDLINK_USE

.endif	# LIBUSB_BUILDLINK2_MK