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


  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 #
  61 # depends on misc/pci_autoconfig misc/pcihp
  62 #
  63 LDFLAGS         += -dy -Nmisc/pcihp
  64 
  65 #
  66 # Name of the module is needed by the source, to distinguish from other
  67 # PCI/PCI-express nexi
  68 #
  69 CFLAGS          += -D_MODULE_NAME="\"$(MODULE)\""
  70 LINTFLAGS       += -D_MODULE_NAME="\"$(MODULE)\""
  71 
  72 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  73 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  74 
  75 CERRWARN        += -_gcc=-Wno-uninitialized
  76 CERRWARN        += -_gcc=-Wno-parentheses
  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 lint:           $(LINT_DEPS)
  93 
  94 modlintlib:     $(MODLINTLIB_DEPS)
  95 


  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 #
  61 # depends on misc/pci_autoconfig misc/pcihp
  62 #
  63 LDFLAGS         += -dy -Nmisc/pcihp
  64 
  65 #
  66 # Name of the module is needed by the source, to distinguish from other
  67 # PCI/PCI-express nexi
  68 #
  69 CFLAGS          += -D_MODULE_NAME="\"$(MODULE)\""
  70 LINTFLAGS       += -D_MODULE_NAME="\"$(MODULE)\""
  71 
  72 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  73 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  74 
  75 CERRWARN        += $(CNOWARN_UNINIT)
  76 CERRWARN        += -_gcc=-Wno-parentheses
  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 lint:           $(LINT_DEPS)
  93 
  94 modlintlib:     $(MODLINTLIB_DEPS)
  95