blob: e2516ba8ebfa91a25a50a8f21b9797914f73c196 [file] [log] [blame]
dea31012005-04-17 16:05:31 -05001#/*******************************************************************
2# * This file is part of the Emulex Linux Device Driver for *
James.Smart@Emulex.Comc44ce172005-06-25 10:34:39 -04003# * Fibre Channel Host Bus Adapters. *
James Smartd4379ac2012-03-01 22:37:07 -05004# * Copyright (C) 2004-2012 Emulex. All rights reserved. *
James.Smart@Emulex.Comc44ce172005-06-25 10:34:39 -04005# * EMULEX and SLI are trademarks of Emulex. *
dea31012005-04-17 16:05:31 -05006# * www.emulex.com *
7# * *
8# * This program is free software; you can redistribute it and/or *
James.Smart@Emulex.Comc44ce172005-06-25 10:34:39 -04009# * 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. *
dea31012005-04-17 16:05:31 -050019# *******************************************************************/
20######################################################################
21
matt mooneybfbec922011-01-14 06:12:49 -080022ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
23ccflags-$(GCOV) += -O0
dea31012005-04-17 16:05:31 -050024
James Bottomley4bdd03e2012-06-21 07:50:02 +000025ifdef WARNINGS_BECOME_ERRORS
James Smartd438bd32012-03-01 22:36:40 -050026ccflags-y += -Werror
James Bottomley4bdd03e2012-06-21 07:50:02 +000027endif
James Smartd438bd32012-03-01 22:36:40 -050028
dea31012005-04-17 16:05:31 -050029obj-$(CONFIG_SCSI_LPFC) := lpfc.o
30
31lpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o lpfc_hbadisc.o \
James Smart92d7f7b2007-06-17 19:56:38 -050032 lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o lpfc_scsi.o lpfc_attr.o \
James Smartf1c3b0f2009-07-19 10:01:32 -040033 lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o