xref: /linux/drivers/scsi/lpfc/Makefile (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1dea3101eS#/*******************************************************************
2dea3101eS# * This file is part of the Emulex Linux Device Driver for         *
3c44ce173SJames.Smart@Emulex.Com# * Fibre Channel Host Bus Adapters.                                *
44ae2ebdeSJames Smart# * Copyright (C) 2017-2018 Broadcom. All Rights Reserved. The term *
54ae2ebdeSJames Smart# * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.     *
6d4379acdSJames Smart# * Copyright (C) 2004-2012 Emulex.  All rights reserved.           *
7c44ce173SJames.Smart@Emulex.Com# * EMULEX and SLI are trademarks of Emulex.                        *
8d080abe0SJames Smart# * www.broadcom.com                                                *
9dea3101eS# *                                                                 *
10dea3101eS# * This program is free software; you can redistribute it and/or   *
11c44ce173SJames.Smart@Emulex.Com# * modify it under the terms of version 2 of the GNU General       *
12c44ce173SJames.Smart@Emulex.Com# * Public License as published by the Free Software Foundation.    *
13c44ce173SJames.Smart@Emulex.Com# * This program is distributed in the hope that it will be useful. *
14c44ce173SJames.Smart@Emulex.Com# * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
15c44ce173SJames.Smart@Emulex.Com# * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
16c44ce173SJames.Smart@Emulex.Com# * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
17c44ce173SJames.Smart@Emulex.Com# * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
18c44ce173SJames.Smart@Emulex.Com# * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
19c44ce173SJames.Smart@Emulex.Com# * more details, a copy of which can be found in the file COPYING  *
20c44ce173SJames.Smart@Emulex.Com# * included with this package.                                     *
21dea3101eS# *******************************************************************/
22dea3101eS######################################################################
23dea3101eS
24bfbec920Smatt mooneyccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
25bfbec920Smatt mooneyccflags-$(GCOV) += -O0
26dea3101eS
274bdd03e6SJames Bottomleyifdef WARNINGS_BECOME_ERRORS
28d438bd3aSJames Smartccflags-y += -Werror
294bdd03e6SJames Bottomleyendif
30d438bd3aSJames Smart
31dea3101eSobj-$(CONFIG_SCSI_LPFC) := lpfc.o
32dea3101eS
3301649561SJames Smartlpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o \
3401649561SJames Smart	lpfc_hbadisc.o	lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o   \
3501649561SJames Smart	lpfc_scsi.o lpfc_attr.o lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o \
36*ed913cf4SJames Smart	lpfc_nvme.o lpfc_nvmet.o lpfc_vmid.o
37