xref: /freebsd/sys/modules/usb/template/Makefile (revision 031beb4e239bfce798af17f5fe8dba8bcaf13d99)
17d0d268bSAndrew Thompson#
27d0d268bSAndrew Thompson#
3*8427dd08SHans Petter Selasky# Copyright (c) 2008-2020 Hans Petter Selasky. All rights reserved.
47d0d268bSAndrew Thompson#
57d0d268bSAndrew Thompson# Redistribution and use in source and binary forms, with or without
67d0d268bSAndrew Thompson# modification, are permitted provided that the following conditions
77d0d268bSAndrew Thompson# are met:
87d0d268bSAndrew Thompson# 1. Redistributions of source code must retain the above copyright
97d0d268bSAndrew Thompson#    notice, this list of conditions and the following disclaimer.
107d0d268bSAndrew Thompson# 2. Redistributions in binary form must reproduce the above copyright
117d0d268bSAndrew Thompson#    notice, this list of conditions and the following disclaimer in the
127d0d268bSAndrew Thompson#    documentation and/or other materials provided with the distribution.
137d0d268bSAndrew Thompson#
147d0d268bSAndrew Thompson# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
157d0d268bSAndrew Thompson# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
167d0d268bSAndrew Thompson# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
177d0d268bSAndrew Thompson# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
187d0d268bSAndrew Thompson# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
197d0d268bSAndrew Thompson# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
207d0d268bSAndrew Thompson# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
217d0d268bSAndrew Thompson# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
227d0d268bSAndrew Thompson# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
237d0d268bSAndrew Thompson# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
247d0d268bSAndrew Thompson# SUCH DAMAGE.
257d0d268bSAndrew Thompson#
267d0d268bSAndrew Thompson
27193d9e76SEnji CooperS=     ${SRCTOP}/sys
287d0d268bSAndrew Thompson
297d0d268bSAndrew Thompson.PATH: $S/dev/usb/template
307d0d268bSAndrew Thompson
317d0d268bSAndrew ThompsonKMOD=	usb_template
327d0d268bSAndrew ThompsonSRCS=	opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h vnode_if.h usbdevs.h \
33399e6543SHans Petter Selasky	usb_template.c \
34399e6543SHans Petter Selasky	usb_template_audio.c \
35399e6543SHans Petter Selasky	usb_template_cdce.c \
36399e6543SHans Petter Selasky	usb_template_kbd.c \
37399e6543SHans Petter Selasky	usb_template_modem.c \
38399e6543SHans Petter Selasky	usb_template_mouse.c \
39399e6543SHans Petter Selasky	usb_template_msc.c \
40f9478f91SHans Petter Selasky	usb_template_mtp.c \
4127f9c0b3SHans Petter Selasky	usb_template_phone.c \
420a76fe7cSHans Petter Selasky	usb_template_serialnet.c \
433dc87e52SEdward Tomasz Napierala	usb_template_midi.c \
4463722e52SEdward Tomasz Napierala	usb_template_multi.c \
4563722e52SEdward Tomasz Napierala	usb_template_cdceem.c
467d0d268bSAndrew Thompson
47*8427dd08SHans Petter Selasky#
48*8427dd08SHans Petter Selasky# NOTE:
49*8427dd08SHans Petter Selasky# Keep source list above in sync with stand/usb/usbcore.mk
50*8427dd08SHans Petter Selasky#
51*8427dd08SHans Petter Selasky
527d0d268bSAndrew Thompson.include <bsd.kmod.mk>
53