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


  41 #
  42 MODULE          = privcmd
  43 OBJECTS         = $(PRIVCMD_OBJS:%=$(OBJS_DIR)/%)
  44 LINTS           = $(PRIVCMD_OBJS:%.o=$(LINTS_DIR)/%.ln)
  45 ROOTMODULE      = $(ROOT_PSM_DRV_DIR)/$(MODULE)
  46 
  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/i86xpv/Makefile.i86xpv
  51 
  52 #
  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58 
  59 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  60 
  61 CERRWARN        += -_gcc=-Wno-uninitialized
  62 
  63 #
  64 #       Default build targets.
  65 #
  66 .KEEP_STATE:
  67 
  68 def:            $(DEF_DEPS)
  69 
  70 all:            $(ALL_DEPS)
  71 
  72 clean:          $(CLEAN_DEPS)
  73 
  74 clobber:        $(CLOBBER_DEPS)
  75 
  76 lint:           $(LINT_DEPS)
  77 
  78 modlintlib:     $(MODLINTLIB_DEPS)
  79 
  80 clean.lint:     $(CLEAN_LINT_DEPS)
  81 


  41 #
  42 MODULE          = privcmd
  43 OBJECTS         = $(PRIVCMD_OBJS:%=$(OBJS_DIR)/%)
  44 LINTS           = $(PRIVCMD_OBJS:%.o=$(LINTS_DIR)/%.ln)
  45 ROOTMODULE      = $(ROOT_PSM_DRV_DIR)/$(MODULE)
  46 
  47 #
  48 #       Include common rules.
  49 #
  50 include $(UTSBASE)/i86xpv/Makefile.i86xpv
  51 
  52 #
  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58 
  59 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  60 
  61 CERRWARN        += $(CNOWARN_UNINIT)
  62 
  63 #
  64 #       Default build targets.
  65 #
  66 .KEEP_STATE:
  67 
  68 def:            $(DEF_DEPS)
  69 
  70 all:            $(ALL_DEPS)
  71 
  72 clean:          $(CLEAN_DEPS)
  73 
  74 clobber:        $(CLOBBER_DEPS)
  75 
  76 lint:           $(LINT_DEPS)
  77 
  78 modlintlib:     $(MODLINTLIB_DEPS)
  79 
  80 clean.lint:     $(CLEAN_LINT_DEPS)
  81