xref: /freebsd/sys/modules/gpio/gpiopps/Makefile (revision 031beb4e239bfce798af17f5fe8dba8bcaf13d99)
1128e3872SIan Lepore#
2128e3872SIan Lepore# Copyright (c) 2016 Ian Lepore <ian@FreeBSD.org>
3128e3872SIan Lepore# All rights reserved.
4128e3872SIan Lepore#
5128e3872SIan Lepore# Redistribution and use in source and binary forms, with or without
6128e3872SIan Lepore# modification, are permitted provided that the following conditions
7128e3872SIan Lepore# are met:
8128e3872SIan Lepore# 1. Redistributions of source code must retain the above copyright
9128e3872SIan Lepore#    notice, this list of conditions and the following disclaimer,
10128e3872SIan Lepore#    without modification.
11128e3872SIan Lepore# 2. Redistributions in binary form must reproduce at minimum a disclaimer
12128e3872SIan Lepore#    similar to the "NO WARRANTY" disclaimer below ("Disclaimer") and any
13128e3872SIan Lepore#    redistribution must be conditioned upon including a substantially
14128e3872SIan Lepore#    similar Disclaimer requirement for further binary redistribution.
15128e3872SIan Lepore#
16128e3872SIan Lepore# NO WARRANTY
17128e3872SIan Lepore# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18128e3872SIan Lepore# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19128e3872SIan Lepore# LIMITED TO, THE IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTIBILITY
20128e3872SIan Lepore# AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
21128e3872SIan Lepore# THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22128e3872SIan Lepore# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23128e3872SIan Lepore# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24128e3872SIan Lepore# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25128e3872SIan Lepore# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26128e3872SIan Lepore# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27128e3872SIan Lepore# THE POSSIBILITY OF SUCH DAMAGES.
28128e3872SIan Lepore#
29128e3872SIan Lepore#
30128e3872SIan Lepore
31*193d9e76SEnji Cooper.PATH:	${SRCTOP}/sys/dev/gpio/
32128e3872SIan Lepore
33128e3872SIan LeporeKMOD=	gpiopps
34128e3872SIan LeporeSRCS=	gpiopps.c
35606efbc7SIan LeporeSRCS+=	device_if.h bus_if.h gpio_if.h gpiobus_if.h opt_platform.h ofw_bus_if.h
36128e3872SIan Lepore
37*193d9e76SEnji CooperCFLAGS+=  -I. -I${SRCTOP}/sys/dev/gpio/
38128e3872SIan Lepore
39128e3872SIan Lepore.include <bsd.kmod.mk>
40