summaryrefslogtreecommitdiffstats
path: root/lib/libusb/Makefile
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-06-23 01:00:26 +0000
committerthompsa <thompsa@FreeBSD.org>2009-06-23 01:00:26 +0000
commit1a82c9d31363acffab29dbfe4aa9b59c205cf9f1 (patch)
tree9e4fbcce1f6dd5e0087f6e504d13678345f80f91 /lib/libusb/Makefile
parentf8f19f8c7631d7d07134ad673f769af83e3f88b4 (diff)
downloadFreeBSD-src-1a82c9d31363acffab29dbfe4aa9b59c205cf9f1.zip
FreeBSD-src-1a82c9d31363acffab29dbfe4aa9b59c205cf9f1.tar.gz
Add libusb 1.0 support which is compatible with the latest revision on
Sourceforge. Libusb 1.0 is a portable usb api released December 2008 and supersedes the original libusb released 10 years ago, it supports isochronous endpoints and asynchronous I/O. Many applications have already started using the interfaces. This has been developed as part of Google Summer of Code this year by Sylvestre Gallon and has been cribbed early due to it being desirable in FreeBSD 8.0 Submitted by: Sylvestre Gallon Sponsored by: Google Summer of Code 2009 Reviewed by: Hans Petter Selasky
Diffstat (limited to 'lib/libusb/Makefile')
-rw-r--r--lib/libusb/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/libusb/Makefile b/lib/libusb/Makefile
index 83a5448..1ee56fe 100644
--- a/lib/libusb/Makefile
+++ b/lib/libusb/Makefile
@@ -10,19 +10,23 @@ SHLIB_MINOR= 0
SRCS= libusb20.c
SRCS+= libusb20_desc.c
SRCS+= libusb20_ugen20.c
-SRCS+= libusb20_compat01.c
-SRCS+= libusb20_compat10.c
INCS+= libusb20.h
INCS+= libusb20_desc.h
-MAN= libusb.3
+MAN= libusb.3 libusb20.3
MKLINT= no
NOGCCERROR=
-MLINKS+= libusb.3 usb.3 \
- libusb.3 libusb20.3
+MLINKS+= libusb.3 usb.3
# libusb 0.1 compat
INCS+= usb.h
+SRCS+= libusb20_compat01.c
+
+# libusb 1.0 compat
+INCS+= libusb.h
+SRCS+= libusb10.c
+SRCS+= libusb10_desc.c
+SRCS+= libusb10_io.c
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud