xref: /freebsd/sys/modules/ena/Makefile (revision 9b8d05b8ac78509e8c4b9f6f1e71c873b38a06b9)
1*9b8d05b8SZbigniew Bodek#
2*9b8d05b8SZbigniew Bodek# BSD LICENSE
3*9b8d05b8SZbigniew Bodek#
4*9b8d05b8SZbigniew Bodek# Copyright (c) 2015-2017 Amazon.com, Inc. or its affiliates.
5*9b8d05b8SZbigniew Bodek# All rights reserved.
6*9b8d05b8SZbigniew Bodek#
7*9b8d05b8SZbigniew Bodek# Redistribution and use in source and binary forms, with or without
8*9b8d05b8SZbigniew Bodek# modification, are permitted provided that the following conditions
9*9b8d05b8SZbigniew Bodek# are met:
10*9b8d05b8SZbigniew Bodek#
11*9b8d05b8SZbigniew Bodek# 1. Redistributions of source code must retain the above copyright
12*9b8d05b8SZbigniew Bodek#    notice, this list of conditions and the following disclaimer.
13*9b8d05b8SZbigniew Bodek#
14*9b8d05b8SZbigniew Bodek# 2. Redistributions in binary form must reproduce the above copyright
15*9b8d05b8SZbigniew Bodek#    notice, this list of conditions and the following disclaimer in the
16*9b8d05b8SZbigniew Bodek#    documentation and/or other materials provided with the distribution.
17*9b8d05b8SZbigniew Bodek#
18*9b8d05b8SZbigniew Bodek# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19*9b8d05b8SZbigniew Bodek# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20*9b8d05b8SZbigniew Bodek# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21*9b8d05b8SZbigniew Bodek# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22*9b8d05b8SZbigniew Bodek# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23*9b8d05b8SZbigniew Bodek# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24*9b8d05b8SZbigniew Bodek# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25*9b8d05b8SZbigniew Bodek# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26*9b8d05b8SZbigniew Bodek# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27*9b8d05b8SZbigniew Bodek# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28*9b8d05b8SZbigniew Bodek# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29*9b8d05b8SZbigniew Bodek#
30*9b8d05b8SZbigniew Bodek# $FreeBSD$
31*9b8d05b8SZbigniew Bodek#
32*9b8d05b8SZbigniew Bodek
33*9b8d05b8SZbigniew Bodek.PATH:	${SRCTOP}/sys/dev/ena \
34*9b8d05b8SZbigniew Bodek	${SRCTOP}/sys/contrib/ena-com
35*9b8d05b8SZbigniew Bodek
36*9b8d05b8SZbigniew BodekKMOD	= if_ena
37*9b8d05b8SZbigniew BodekSRCS	= ena.c ena_com.c ena_eth_com.c ena_sysctl.c
38*9b8d05b8SZbigniew BodekSRCS	+= device_if.h bus_if.h pci_if.h
39*9b8d05b8SZbigniew BodekCFLAGS  += -I${SRCTOP}/sys/contrib
40*9b8d05b8SZbigniew Bodek
41*9b8d05b8SZbigniew Bodek.include <bsd.kmod.mk>
42