| 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 | d4379ac | 2012-03-01 22:37:07 -0500 | [diff] [blame] | 4 | # * Copyright (C) 2004-2012 Emulex. All rights reserved. * |
James.Smart@Emulex.Com | c44ce17 | 2005-06-25 10:34:39 -0400 | [diff] [blame] | 5 | # * EMULEX and SLI are trademarks of Emulex. * |
| dea3101 | 2005-04-17 16:05:31 -0500 | [diff] [blame] | 6 | # * www.emulex.com * |
| 7 | # * * |
| 8 | # * 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] | 9 | # * modify it under the terms of version 2 of the GNU General * |
| 10 | # * Public License as published by the Free Software Foundation. * |
| 11 | # * This program is distributed in the hope that it will be useful. * |
| 12 | # * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND * |
| 13 | # * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, * |
| 14 | # * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * |
| 15 | # * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD * |
| 16 | # * TO BE LEGALLY INVALID. See the GNU General Public License for * |
| 17 | # * more details, a copy of which can be found in the file COPYING * |
| 18 | # * included with this package. * |
| dea3101 | 2005-04-17 16:05:31 -0500 | [diff] [blame] | 19 | # *******************************************************************/ |
| 20 | ###################################################################### |
| 21 | |
matt mooney | bfbec92 | 2011-01-14 06:12:49 -0800 | [diff] [blame] | 22 | ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage |
| 23 | ccflags-$(GCOV) += -O0 |
| dea3101 | 2005-04-17 16:05:31 -0500 | [diff] [blame] | 24 | |
James Bottomley | 4bdd03e | 2012-06-21 07:50:02 +0000 | [diff] [blame] | 25 | ifdef WARNINGS_BECOME_ERRORS |
James Smart | d438bd3 | 2012-03-01 22:36:40 -0500 | [diff] [blame] | 26 | ccflags-y += -Werror |
James Bottomley | 4bdd03e | 2012-06-21 07:50:02 +0000 | [diff] [blame] | 27 | endif |
James Smart | d438bd3 | 2012-03-01 22:36:40 -0500 | [diff] [blame] | 28 | |
| dea3101 | 2005-04-17 16:05:31 -0500 | [diff] [blame] | 29 | obj-$(CONFIG_SCSI_LPFC) := lpfc.o |
| 30 | |
| 31 | lpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o lpfc_hbadisc.o \ |
James Smart | 92d7f7b | 2007-06-17 19:56:38 -0500 | [diff] [blame] | 32 | lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o lpfc_scsi.o lpfc_attr.o \ |
James Smart | f1c3b0f | 2009-07-19 10:01:32 -0400 | [diff] [blame] | 33 | lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o |