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


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


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