1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/lib/libusb/Makefile
Hans Petter Selasky 51fd3d75fe - Add support for LibUSB in 32-bit compatibility mode.
Approved by:    thompsa (mentor)
2010-10-14 20:38:18 +00:00

39 lines
552 B
Makefile

#
# $FreeBSD$
#
# Makefile for the FreeBSD specific LibUSB 2.0
#
LIB= usb
SHLIB_MAJOR= 2
SHLIB_MINOR= 0
SRCS= libusb20.c
SRCS+= libusb20_desc.c
SRCS+= libusb20_ugen20.c
INCS+= libusb20.h
INCS+= libusb20_desc.h
MAN= libusb.3 libusb20.3
MKLINT= no
NOGCCERROR=
WARNS?= 2
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
.if defined(COMPAT_32BIT)
CFLAGS+= -DCOMPAT_32BIT
.endif
.include <bsd.lib.mk>