1252206Sdavidcs#/*
2252206Sdavidcs# * Copyright (c) 2013-2014 Qlogic Corporation
3252206Sdavidcs# * All rights reserved.
4252206Sdavidcs# *
5252206Sdavidcs# *  Redistribution and use in source and binary forms, with or without
6252206Sdavidcs# *  modification, are permitted provided that the following conditions
7252206Sdavidcs# *  are met:
8252206Sdavidcs# *
9252206Sdavidcs# *  1. Redistributions of source code must retain the above copyright
10252206Sdavidcs# *     notice, this list of conditions and the following disclaimer.
11252206Sdavidcs# *  2. Redistributions in binary form must reproduce the above copyright
12252206Sdavidcs# *     notice, this list of conditions and the following disclaimer in the
13252206Sdavidcs# *     documentation and/or other materials provided with the distribution.
14252206Sdavidcs# *
15252206Sdavidcs# *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16252206Sdavidcs# *  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17252206Sdavidcs# *  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18252206Sdavidcs# *  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
19252206Sdavidcs# *  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20252206Sdavidcs# *  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21252206Sdavidcs# *  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22252206Sdavidcs# *  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23252206Sdavidcs# *  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24252206Sdavidcs# *  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25252206Sdavidcs# *  POSSIBILITY OF SUCH DAMAGE.
26252206Sdavidcs# */
27252206Sdavidcs#/*
28252206Sdavidcs# * File : Makefile
29252206Sdavidcs# * Author : David C Somayajulu, Qlogic Corporation, Aliso Viejo, CA 92656.
30252206Sdavidcs# */
31252206Sdavidcs#
32252206Sdavidcs# $FreeBSD$
33252206Sdavidcs#
34252206Sdavidcs
35252206Sdavidcs.PATH: ${.CURDIR}/../../dev/qlxge
36252206Sdavidcs
37252206SdavidcsKMOD=if_qlxge
38252206SdavidcsSRCS=qls_os.c qls_dbg.c qls_hw.c qls_isr.c qls_dump.c
39252206SdavidcsSRCS+=qls_ioctl.c
40252206SdavidcsSRCS+= device_if.h bus_if.h pci_if.h
41252206Sdavidcs
42252206SdavidcsCFLAGS += -DQL_DBG
43252206Sdavidcs
44252206Sdavidcsclean:
45252206Sdavidcs	rm -f opt_bdg.h device_if.h bus_if.h pci_if.h export_syms
46252206Sdavidcs	rm -f *.o *.kld *.ko
47252206Sdavidcs	rm -f @ machine x86
48252206Sdavidcs
49252206Sdavidcs.include <bsd.kmod.mk>
50252206Sdavidcs
51