xref: /freebsd/lib/libusb/Makefile (revision 3ca3047aee082043d90aff2611a349c86c98e97c)
1df4b8c2aSAndrew Thompson#
2df4b8c2aSAndrew Thompson# $FreeBSD$
3df4b8c2aSAndrew Thompson#
4df4b8c2aSAndrew Thompson# Makefile for the FreeBSD specific LibUSB 2.0
5df4b8c2aSAndrew Thompson#
6df4b8c2aSAndrew Thompson
7df4b8c2aSAndrew ThompsonLIB=		usb
83ca3047aSKen SmithSHLIB_MAJOR=	2
9df4b8c2aSAndrew ThompsonSHLIB_MINOR=	0
10df4b8c2aSAndrew ThompsonSRCS=		libusb20.c
11df4b8c2aSAndrew ThompsonSRCS+=		libusb20_desc.c
12df4b8c2aSAndrew ThompsonSRCS+=		libusb20_ugen20.c
13df4b8c2aSAndrew ThompsonINCS+=		libusb20.h
14df4b8c2aSAndrew ThompsonINCS+=		libusb20_desc.h
15a5118bdfSAndrew ThompsonMAN=		libusb.3 libusb20.3
16df4b8c2aSAndrew ThompsonMKLINT=		no
17df4b8c2aSAndrew ThompsonNOGCCERROR=
18df4b8c2aSAndrew Thompson
19a5118bdfSAndrew ThompsonMLINKS+=	libusb.3 usb.3
204eaae44dSAndrew Thompson
21df4b8c2aSAndrew Thompson# libusb 0.1 compat
22df4b8c2aSAndrew ThompsonINCS+=		usb.h
23a5118bdfSAndrew ThompsonSRCS+=		libusb20_compat01.c
24a5118bdfSAndrew Thompson
25a5118bdfSAndrew Thompson# libusb 1.0 compat
26a5118bdfSAndrew ThompsonINCS+=		libusb.h
27a5118bdfSAndrew ThompsonSRCS+=		libusb10.c
28a5118bdfSAndrew ThompsonSRCS+=		libusb10_desc.c
29a5118bdfSAndrew ThompsonSRCS+=		libusb10_io.c
30df4b8c2aSAndrew Thompson
31df4b8c2aSAndrew Thompson.include <bsd.lib.mk>
32df4b8c2aSAndrew Thompson
33