Makefile 1.9 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #/*******************************************************************
  2. # * This file is part of the Emulex Linux Device Driver for *
  3. # * Fibre Channel Host Bus Adapters. *
  4. # * Copyright (C) 2017-2018 Broadcom. All Rights Reserved. The term *
  5. # * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. *
  6. # * Copyright (C) 2004-2012 Emulex. All rights reserved. *
  7. # * EMULEX and SLI are trademarks of Emulex. *
  8. # * www.broadcom.com *
  9. # * *
  10. # * This program is free software; you can redistribute it and/or *
  11. # * modify it under the terms of version 2 of the GNU General *
  12. # * Public License as published by the Free Software Foundation. *
  13. # * This program is distributed in the hope that it will be useful. *
  14. # * ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND *
  15. # * WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, *
  16. # * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
  17. # * DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD *
  18. # * TO BE LEGALLY INVALID. See the GNU General Public License for *
  19. # * more details, a copy of which can be found in the file COPYING *
  20. # * included with this package. *
  21. # *******************************************************************/
  22. ######################################################################
  23. ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
  24. ccflags-$(GCOV) += -O0
  25. ifdef WARNINGS_BECOME_ERRORS
  26. ccflags-y += -Werror
  27. endif
  28. obj-$(CONFIG_SCSI_LPFC) := lpfc.o
  29. lpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o \
  30. lpfc_hbadisc.o lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o \
  31. lpfc_scsi.o lpfc_attr.o lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o \
  32. lpfc_nvme.o lpfc_nvmet.o lpfc_vmid.o