18c2ecf20Sopenharmony_ci#/*******************************************************************
28c2ecf20Sopenharmony_ci# * This file is part of the Emulex Linux Device Driver for         *
38c2ecf20Sopenharmony_ci# * Fibre Channel Host Bus Adapters.                                *
48c2ecf20Sopenharmony_ci# * Copyright (C) 2017-2018 Broadcom. All Rights Reserved. The term *
58c2ecf20Sopenharmony_ci# * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries.     *
68c2ecf20Sopenharmony_ci# * Copyright (C) 2004-2012 Emulex.  All rights reserved.           *
78c2ecf20Sopenharmony_ci# * EMULEX and SLI are trademarks of Emulex.                        *
88c2ecf20Sopenharmony_ci# * www.broadcom.com                                                *
98c2ecf20Sopenharmony_ci# *                                                                 *
108c2ecf20Sopenharmony_ci# * This program is free software; you can redistribute it and/or   *
118c2ecf20Sopenharmony_ci# * modify it under the terms of version 2 of the GNU General       *
128c2ecf20Sopenharmony_ci# * Public License as published by the Free Software Foundation.    *
138c2ecf20Sopenharmony_ci# * This program is distributed in the hope that it will be useful. *
148c2ecf20Sopenharmony_ci# * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND          *
158c2ecf20Sopenharmony_ci# * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,  *
168c2ecf20Sopenharmony_ci# * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE      *
178c2ecf20Sopenharmony_ci# * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
188c2ecf20Sopenharmony_ci# * TO BE LEGALLY INVALID.  See the GNU General Public License for  *
198c2ecf20Sopenharmony_ci# * more details, a copy of which can be found in the file COPYING  *
208c2ecf20Sopenharmony_ci# * included with this package.                                     *
218c2ecf20Sopenharmony_ci# *******************************************************************/
228c2ecf20Sopenharmony_ci######################################################################
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
258c2ecf20Sopenharmony_ciccflags-$(GCOV) += -O0
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciifdef WARNINGS_BECOME_ERRORS
288c2ecf20Sopenharmony_ciccflags-y += -Werror
298c2ecf20Sopenharmony_ciendif
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciobj-$(CONFIG_SCSI_LPFC) := lpfc.o
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_cilpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o \
348c2ecf20Sopenharmony_ci	lpfc_hbadisc.o	lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o   \
358c2ecf20Sopenharmony_ci	lpfc_scsi.o lpfc_attr.o lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o \
368c2ecf20Sopenharmony_ci	lpfc_nvme.o lpfc_nvmet.o
37