162306a36Sopenharmony_ci#/*******************************************************************
262306a36Sopenharmony_ci# * This file is part of the Emulex Linux Device Driver for         *
362306a36Sopenharmony_ci# * Fibre Channel Host Bus Adapters.                                *
462306a36Sopenharmony_ci# * Copyright (C) 2017-2018 Broadcom. All Rights Reserved. The term *
562306a36Sopenharmony_ci# * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.     *
662306a36Sopenharmony_ci# * Copyright (C) 2004-2012 Emulex.  All rights reserved.           *
762306a36Sopenharmony_ci# * EMULEX and SLI are trademarks of Emulex.                        *
862306a36Sopenharmony_ci# * www.broadcom.com                                                *
962306a36Sopenharmony_ci# *                                                                 *
1062306a36Sopenharmony_ci# * This program is free software; you can redistribute it and/or   *
1162306a36Sopenharmony_ci# * modify it under the terms of version 2 of the GNU General       *
1262306a36Sopenharmony_ci# * Public License as published by the Free Software Foundation.    *
1362306a36Sopenharmony_ci# * This program is distributed in the hope that it will be useful. *
1462306a36Sopenharmony_ci# * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
1562306a36Sopenharmony_ci# * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
1662306a36Sopenharmony_ci# * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
1762306a36Sopenharmony_ci# * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
1862306a36Sopenharmony_ci# * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
1962306a36Sopenharmony_ci# * more details, a copy of which can be found in the file COPYING  *
2062306a36Sopenharmony_ci# * included with this package.                                     *
2162306a36Sopenharmony_ci# *******************************************************************/
2262306a36Sopenharmony_ci######################################################################
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
2562306a36Sopenharmony_ciccflags-$(GCOV) += -O0
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciifdef WARNINGS_BECOME_ERRORS
2862306a36Sopenharmony_ciccflags-y += -Werror
2962306a36Sopenharmony_ciendif
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciobj-$(CONFIG_SCSI_LPFC) := lpfc.o
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_cilpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o \
3462306a36Sopenharmony_ci	lpfc_hbadisc.o	lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o   \
3562306a36Sopenharmony_ci	lpfc_scsi.o lpfc_attr.o lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o \
3662306a36Sopenharmony_ci	lpfc_nvme.o lpfc_nvmet.o lpfc_vmid.o
37