Install libusbhid, and use it instead of libusb.

MFC after:	6 days
This commit is contained in:
Josef Karthauser 2002-03-28 18:44:25 +00:00
parent 7793e75522
commit 7b8cfc5217
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=93351
5 changed files with 6 additions and 6 deletions

View File

@ -47,7 +47,7 @@
.ds doc-str-Lb-libpam PAM Library (libpam, \-lpam)
.ds doc-str-Lb-librpcsvc RPC Service Library (librpcsvc, \-lrpcsvc)
.ds doc-str-Lb-libskey S/Key Password Control Table Access Library (libskey, \-lskey)
.ds doc-str-Lb-libusb USB HID access routines library (libusb, \-lusb)
.ds doc-str-Lb-libusbhid USB HID access routines library (libusbhid, \-lusbhid)
.ds doc-str-Lb-libvgl Video Graphics Library (libvgl, \-lvgl)
.
.\" Default .Os value

View File

@ -3,7 +3,7 @@
MAINTAINER= n_hibma@FreeBSD.ORG
LIB= usb
LIB= usbhid
MAN= usbhid.3
SHLIB_MAJOR= 0

View File

@ -45,7 +45,7 @@
.Nm hid_set_data
.Nd USB HID access routines
.Sh LIBRARY
.Lb libusb
.Lb libusbhid
.Sh SYNOPSIS
.In libusbhid.h
.Ft report_desc_t

View File

@ -106,7 +106,7 @@ LIBTERMCAP?= ${DESTDIR}${LIBDIR}/libtermcap.a
LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES"
LIBUTIL?= ${DESTDIR}${LIBDIR}/libutil.a
LIBUSB?= ${DESTDIR}${LIBDIR}/libusb.a
LIBUSBHID?= ${DESTDIR}${LIBDIR}/libusbhid.a
LIBVGL?= ${DESTDIR}${LIBDIR}/libvgl.a
LIBWRAP?= ${DESTDIR}${LIBDIR}/libwrap.a
LIBXPG4?= ${DESTDIR}${LIBDIR}/libxpg4.a

View File

@ -6,8 +6,8 @@
PROG= usbhidctl
SRCS= usbhid.c
LDADD+= -lusb
DPADD+= ${LIBUSB}
LDADD+= -lusbhid
DPADD+= ${LIBUSBHID}
.include <bsd.prog.mk>
.include <bsd.subdir.mk>