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


  45 ROOTMODULE      = $(ROOT_OPL_DRV_DIR)/$(MODULE)
  46 CONF_SRCDIR     = $(UTSBASE)/sun4u/opl/io
  47 
  48 #
  49 #       Include common rules.
  50 #
  51 include $(UTSBASE)/sun4u/opl/Makefile.opl
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  59 
  60 #
  61 #       lint pass one enforcement
  62 #
  63 CFLAGS += $(CCVERBOSE) -I../sys
  64 CERRWARN += -_gcc=-Wno-parentheses
  65 CERRWARN += -_gcc=-Wno-uninitialized
  66 CERRWARN += -_gcc=-Wno-type-limits
  67 
  68 #
  69 #       Turn on doubleword alignment for 64 bit registers
  70 #
  71 # CFLAGS
  72 # MC_EMULATION   - emulate mac patrol registers
  73 #
  74 CFLAGS += -dalign -DMC_EMULATION
  75 #CFLAGS += -dalign 
  76 
  77 #
  78 #       Dependency
  79 LDFLAGS += -dy -Ndrv/scfd
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 


  45 ROOTMODULE      = $(ROOT_OPL_DRV_DIR)/$(MODULE)
  46 CONF_SRCDIR     = $(UTSBASE)/sun4u/opl/io
  47 
  48 #
  49 #       Include common rules.
  50 #
  51 include $(UTSBASE)/sun4u/opl/Makefile.opl
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  59 
  60 #
  61 #       lint pass one enforcement
  62 #
  63 CFLAGS += $(CCVERBOSE) -I../sys
  64 CERRWARN += -_gcc=-Wno-parentheses
  65 CERRWARN += $(CNOWARN_UNINIT)
  66 CERRWARN += -_gcc=-Wno-type-limits
  67 
  68 #
  69 #       Turn on doubleword alignment for 64 bit registers
  70 #
  71 # CFLAGS
  72 # MC_EMULATION   - emulate mac patrol registers
  73 #
  74 CFLAGS += -dalign -DMC_EMULATION
  75 #CFLAGS += -dalign 
  76 
  77 #
  78 #       Dependency
  79 LDFLAGS += -dy -Ndrv/scfd
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85