xref: /openbmc/linux/drivers/scsi/lpfc/Makefile (revision a09d2831)
1#/*******************************************************************
2# * This file is part of the Emulex Linux Device Driver for         *
3# * Fibre Channel Host Bus Adapters.                                *
4# * Copyright (C) 2004-2006 Emulex.  All rights reserved.           *
5# * EMULEX and SLI are trademarks of Emulex.                        *
6# * www.emulex.com                                                  *
7# *                                                                 *
8# * This program is free software; you can redistribute it and/or   *
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.                                     *
19# *******************************************************************/
20######################################################################
21
22ifneq ($(GCOV),)
23  EXTRA_CFLAGS += -fprofile-arcs -ftest-coverage
24  EXTRA_CFLAGS += -O0
25endif
26
27obj-$(CONFIG_SCSI_LPFC) := lpfc.o
28
29lpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o lpfc_hbadisc.o	\
30	lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o lpfc_scsi.o lpfc_attr.o \
31	lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o
32