| dea3101 | 2005-04-17 16:05:31 -0500 | [diff] [blame] | 1 | #/******************************************************************* |
| 2 | # * This file is part of the Emulex Linux Device Driver for * |
James.Smart@Emulex.Com | c44ce17 | 2005-06-25 10:34:39 -0400 | [diff] [blame] | 3 | # * Fibre Channel Host Bus Adapters. * |
James Smart | d080abe | 2017-02-12 13:52:39 -0800 | [diff] [blame] | 4 | # * Copyright (C) 2017 Broadcom. All Rights Reserved. The term * |
| 5 | # * “Broadcom” refers to Broadcom Limited and/or its subsidiaries. * |
James Smart | d4379ac | 2012-03-01 22:37:07 -0500 | [diff] [blame] | 6 | # * Copyright (C) 2004-2012 Emulex. All rights reserved. * |
James.Smart@Emulex.Com | c44ce17 | 2005-06-25 10:34:39 -0400 | [diff] [blame] | 7 | # * EMULEX and SLI are trademarks of Emulex. * |
James Smart | d080abe | 2017-02-12 13:52:39 -0800 | [diff] [blame] | 8 | # * www.broadcom.com * |
| dea3101 | 2005-04-17 16:05:31 -0500 | [diff] [blame] | 9 | # * * |
| 10 | # * This program is free software; you can redistribute it and/or * |
James.Smart@Emulex.Com | c44ce17 | 2005-06-25 10:34:39 -0400 | [diff] [blame] | 11 | # * modify it under the terms of version 2 of the GNU General * |
| 12 | # * Public License as published by the Free Software Foundation. * |
| 13 | # * This program is distributed in the hope that it will be useful. * |
| 14 | # * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * |
| 15 | # * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * |
| 16 | # * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * |
| 17 | # * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * |
| 18 | # * TO BE LEGALLY INVALID. See the GNU General Public License for * |
| 19 | # * more details, a copy of which can be found in the file COPYING * |
| 20 | # * included with this package. * |
| dea3101 | 2005-04-17 16:05:31 -0500 | [diff] [blame] | 21 | # *******************************************************************/ |
| 22 | ###################################################################### |
| 23 | |
matt mooney | bfbec92 | 2011-01-14 06:12:49 -0800 | [diff] [blame] | 24 | ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage |
| 25 | ccflags-$(GCOV) += -O0 |
| dea3101 | 2005-04-17 16:05:31 -0500 | [diff] [blame] | 26 | |
James Bottomley | 4bdd03e | 2012-06-21 07:50:02 +0000 | [diff] [blame] | 27 | ifdef WARNINGS_BECOME_ERRORS |
James Smart | d438bd3a | 2012-03-01 22:36:40 -0500 | [diff] [blame] | 28 | ccflags-y += -Werror |
James Bottomley | 4bdd03e | 2012-06-21 07:50:02 +0000 | [diff] [blame] | 29 | endif |
James Smart | d438bd3a | 2012-03-01 22:36:40 -0500 | [diff] [blame] | 30 | |
| dea3101 | 2005-04-17 16:05:31 -0500 | [diff] [blame] | 31 | obj-$(CONFIG_SCSI_LPFC) := lpfc.o |
| 32 | |
James Smart | 0164956 | 2017-02-12 13:52:32 -0800 | [diff] [blame] | 33 | lpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o \ |
| 34 | lpfc_hbadisc.o lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o \ |
| 35 | lpfc_scsi.o lpfc_attr.o lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o \ |
James Smart | d613b6a | 2017-02-12 13:52:37 -0800 | [diff] [blame] | 36 | lpfc_nvme.o lpfc_nvmet.o |