Makefile 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  1. #/*******************************************************************
  2. # * This file is part of the Emulex Linux Device Driver for *
  3. # * Fibre Channel Host Bus Adapters. *
  4. # * Copyright (C) 2004-2012 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. ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
  22. ccflags-$(GCOV) += -O0
  23. ifdef WARNINGS_BECOME_ERRORS
  24. ccflags-y += -Werror
  25. endif
  26. obj-$(CONFIG_SCSI_LPFC) := lpfc.o
  27. lpfc-objs := lpfc_mem.o lpfc_sli.o lpfc_ct.o lpfc_els.o lpfc_hbadisc.o \
  28. lpfc_init.o lpfc_mbox.o lpfc_nportdisc.o lpfc_scsi.o lpfc_attr.o \
  29. lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o