summaryrefslogtreecommitdiff
path: root/lib/libusbhid/Makefile
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2001-12-30 07:04:39 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2001-12-30 07:04:39 +0000
commit837e781a6ec51816e816da362e8e6826b6d8ee24 (patch)
treee7d9151bb2f4ac57c4bbb8c3eeca86fd50826da8 /lib/libusbhid/Makefile
parentb31d4540e881701d8fc024815b8cadf2e40c2b35 (diff)
Rename libusb to libusbhid, a better name, per NetBSD
Diffstat (limited to 'lib/libusbhid/Makefile')
-rw-r--r--lib/libusbhid/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/libusbhid/Makefile b/lib/libusbhid/Makefile
new file mode 100644
index 00000000000..a3dfa6790c5
--- /dev/null
+++ b/lib/libusbhid/Makefile
@@ -0,0 +1,34 @@
+# $OpenBSD: Makefile,v 1.1 2001/12/30 07:04:38 pvalchev Exp $
+# $NetBSD: Makefile,v 1.5 1999/07/23 09:44:38 mrg Exp $
+
+LIB= usbhid
+NOPIC=
+NOPROFILE=
+MAN= usbhid.3
+
+MLINKS= usbhid.3 hid_dispose_report_desc.3 \
+ usbhid.3 hid_end_parse.3 \
+ usbhid.3 hid_get_data.3 \
+ usbhid.3 hid_get_item.3 \
+ usbhid.3 hid_get_report_desc.3 \
+ usbhid.3 hid_init.3 \
+ usbhid.3 hid_locate.3 \
+ usbhid.3 hid_parse_usage_in_page.3 \
+ usbhid.3 hid_parse_usage_page.3 \
+ usbhid.3 hid_report_size.3 \
+ usbhid.3 hid_set_data.3 \
+ usbhid.3 hid_start_parse.3 \
+ usbhid.3 hid_usage_in_page.3 \
+ usbhid.3 hid_usage_page.3 \
+ usbhid.3 hid_use_report_desc.3
+
+SRCS= descr.c parse.c usage.c data.c
+
+CPPFLAGS+= -I${.CURDIR}
+
+includes:
+ @cd ${.CURDIR}; cmp -s usbhid.h ${DESTDIR}/usr/include/usbhid.h || \
+ ${INSTALL} ${INSTALL_COPY} -m 444 -o $(BINOWN) -g $(BINGRP) usbhid.h \
+ ${DESTDIR}/usr/include
+
+.include <bsd.lib.mk>