xref: /freebsd/sys/modules/usb/i2ctinyusb/Makefile (revision 54e231b373ef617c348706c6c64a2e049ea738ec)
1*54e231b3SDenis Bodor#
2*54e231b3SDenis Bodor#
3*54e231b3SDenis Bodor# Copyright (c) Denis Bodor <dbodor@rollmops.ninja>
4*54e231b3SDenis Bodor#
5*54e231b3SDenis Bodor# Redistribution and use in source and binary forms, with or without
6*54e231b3SDenis Bodor# modification, are permitted provided that the following conditions
7*54e231b3SDenis Bodor# are met:
8*54e231b3SDenis Bodor# 1. Redistributions of source code must retain the above copyright
9*54e231b3SDenis Bodor#    notice, this list of conditions and the following disclaimer.
10*54e231b3SDenis Bodor# 2. Redistributions in binary form must reproduce the above copyright
11*54e231b3SDenis Bodor#    notice, this list of conditions and the following disclaimer in the
12*54e231b3SDenis Bodor#    documentation and/or other materials provided with the distribution.
13*54e231b3SDenis Bodor#
14*54e231b3SDenis Bodor# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15*54e231b3SDenis Bodor# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16*54e231b3SDenis Bodor# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17*54e231b3SDenis Bodor# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18*54e231b3SDenis Bodor# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19*54e231b3SDenis Bodor# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20*54e231b3SDenis Bodor# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21*54e231b3SDenis Bodor# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22*54e231b3SDenis Bodor# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23*54e231b3SDenis Bodor# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24*54e231b3SDenis Bodor# SUCH DAMAGE.
25*54e231b3SDenis Bodor#
26*54e231b3SDenis Bodor
27*54e231b3SDenis BodorS=     ${SRCTOP}/sys
28*54e231b3SDenis Bodor
29*54e231b3SDenis Bodor.PATH: $S/dev/usb/misc
30*54e231b3SDenis Bodor
31*54e231b3SDenis BodorKMOD=	i2ctinyusb
32*54e231b3SDenis BodorSRCS=	i2ctinyusb.c
33*54e231b3SDenis BodorSRCS+=	i2ctinyusb.c device_if.h bus_if.h opt_usb.h usbdevs.h iicbus_if.h
34*54e231b3SDenis Bodor
35*54e231b3SDenis Bodor.include <bsd.kmod.mk>
36