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


  42 LINTS           = $(ENVCTRLTWO_OBJS:%.o=$(LINTS_DIR)/%.ln)
  43 ROOTMODULE      = $(ROOT_JAVELIN_DRV_DIR)/$(MODULE)
  44 
  45 #
  46 #       Include common rules.
  47 #
  48 include $(UTSBASE)/sun4u/javelin/Makefile.javelin
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 # lint pass one enforcement
  59 #
  60 CFLAGS += $(CCVERBOSE)
  61 CERRWARN += -_gcc=-Wno-parentheses
  62 CERRWARN += -_gcc=-Wno-uninitialized
  63 
  64 #
  65 # Turn on doubleword alignment for 64 bit registers
  66 #
  67 CFLAGS += -dalign
  68 
  69 LDFLAGS         += -dy -Ndrv/pcipsy
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 
  82 clobber:        $(CLOBBER_DEPS)


  42 LINTS           = $(ENVCTRLTWO_OBJS:%.o=$(LINTS_DIR)/%.ln)
  43 ROOTMODULE      = $(ROOT_JAVELIN_DRV_DIR)/$(MODULE)
  44 
  45 #
  46 #       Include common rules.
  47 #
  48 include $(UTSBASE)/sun4u/javelin/Makefile.javelin
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 # lint pass one enforcement
  59 #
  60 CFLAGS += $(CCVERBOSE)
  61 CERRWARN += -_gcc=-Wno-parentheses
  62 CERRWARN += $(CNOWARN_UNINIT)
  63 
  64 #
  65 # Turn on doubleword alignment for 64 bit registers
  66 #
  67 CFLAGS += -dalign
  68 
  69 LDFLAGS         += -dy -Ndrv/pcipsy
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 
  82 clobber:        $(CLOBBER_DEPS)