xref: /freebsd/sys/modules/gpio/gpiobus/Makefile (revision 1dd2aa86b99c9a856f4fba32675c2774f28f3a1b)
13cf391a1SAdrian Chadd#
23cf391a1SAdrian Chadd# Copyright (c) 2012 Adrian Chadd, Xenion Pty Ltd
33cf391a1SAdrian Chadd# All rights reserved.
43cf391a1SAdrian Chadd#
53cf391a1SAdrian Chadd# Redistribution and use in source and binary forms, with or without
63cf391a1SAdrian Chadd# modification, are permitted provided that the following conditions
73cf391a1SAdrian Chadd# are met:
83cf391a1SAdrian Chadd# 1. Redistributions of source code must retain the above copyright
93cf391a1SAdrian Chadd#    notice, this list of conditions and the following disclaimer,
103cf391a1SAdrian Chadd#    without modification.
113cf391a1SAdrian Chadd# 2. Redistributions in binary form must reproduce at minimum a disclaimer
123cf391a1SAdrian Chadd#    similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
133cf391a1SAdrian Chadd#    redistribution must be conditioned upon including a substantially
143cf391a1SAdrian Chadd#    similar Disclaimer requirement for further binary redistribution.
153cf391a1SAdrian Chadd#
163cf391a1SAdrian Chadd# NO WARRANTY
173cf391a1SAdrian Chadd# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
183cf391a1SAdrian Chadd# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
193cf391a1SAdrian Chadd# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
203cf391a1SAdrian Chadd# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
213cf391a1SAdrian Chadd# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
223cf391a1SAdrian Chadd# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
233cf391a1SAdrian Chadd# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
243cf391a1SAdrian Chadd# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
253cf391a1SAdrian Chadd# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
263cf391a1SAdrian Chadd# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
273cf391a1SAdrian Chadd# THE POSSIBILITY OF SUCH DAMAGES.
283cf391a1SAdrian Chadd#
293cf391a1SAdrian Chadd# $FreeBSD$
303cf391a1SAdrian Chadd#
313cf391a1SAdrian Chadd
323cf391a1SAdrian Chadd.PATH:	${.CURDIR}/../../../dev/gpio/
333cf391a1SAdrian Chadd
343cf391a1SAdrian ChaddKMOD=	gpiobus
35*1dd2aa86SLuiz Otavio O SouzaSRCS=	gpiobus.c gpioc.c
36*1dd2aa86SLuiz Otavio O SouzaSRCS+=	gpio_if.c gpio_if.h gpiobus_if.c gpiobus_if.h
37*1dd2aa86SLuiz Otavio O SouzaSRCS+=	device_if.h bus_if.h opt_platform.h
383cf391a1SAdrian Chadd
393cf391a1SAdrian ChaddCFLAGS+=  -I. -I${.CURDIR}/../../../dev/gpio/
403cf391a1SAdrian Chadd
413cf391a1SAdrian Chadd.include <bsd.kmod.mk>
42