Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  58 #
  59 # depends on misc/acpica and misc/pcie
  60 #
  61 # acpica supplies ACPI access routines
  62 #
  63 # pcie supplies PCI Express fabric error support
  64 #
  65 LDFLAGS += -dy -Nmisc/acpica -Nmisc/pcie
  66 
  67 #
  68 # Name of the module is needed by the source, to distinguish from other
  69 # PCI/PCI-express nexi
  70 #
  71 CFLAGS          += -D_MODULE_NAME="\"$(MODULE)\""
  72 
  73 #
  74 # For now, disable these checks; maintainers should endeavor
  75 # to investigate and remove these for maximum coverage.
  76 # Please do not carry these forward to new Makefiles.
  77 #
  78 CERRWARN        += -_gcc=-Wno-uninitialized
  79 CERRWARN        += -_gcc=-Wno-parentheses
  80 CERRWARN        += -_gcc=-Wno-unused-function
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS)
  90 
  91 clean:          $(CLEAN_DEPS)
  92 
  93 clobber:        $(CLOBBER_DEPS)
  94 
  95 install:        $(INSTALL_DEPS)
  96 
  97 #
  98 #       Include common targets.


  58 #
  59 # depends on misc/acpica and misc/pcie
  60 #
  61 # acpica supplies ACPI access routines
  62 #
  63 # pcie supplies PCI Express fabric error support
  64 #
  65 LDFLAGS += -dy -Nmisc/acpica -Nmisc/pcie
  66 
  67 #
  68 # Name of the module is needed by the source, to distinguish from other
  69 # PCI/PCI-express nexi
  70 #
  71 CFLAGS          += -D_MODULE_NAME="\"$(MODULE)\""
  72 
  73 #
  74 # For now, disable these checks; maintainers should endeavor
  75 # to investigate and remove these for maximum coverage.
  76 # Please do not carry these forward to new Makefiles.
  77 #
  78 CERRWARN        += $(CNOWARN_UNINIT)
  79 CERRWARN        += -_gcc=-Wno-parentheses
  80 CERRWARN        += -_gcc=-Wno-unused-function
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS)
  90 
  91 clean:          $(CLEAN_DEPS)
  92 
  93 clobber:        $(CLOBBER_DEPS)
  94 
  95 install:        $(INSTALL_DEPS)
  96 
  97 #
  98 #       Include common targets.