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


  47 
  48 #
  49 #       Define targets
  50 #
  51 ALL_TARGET      = $(BINARY)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  54 
  55 #
  56 #       Overrides and depends_on
  57 #
  58 MODSTUBS_DIR     = $(OBJS_DIR)
  59 
  60 INC_PATH        += -I$(UTSBASE)/common/sys/fibre-channel/fca/qlge
  61 
  62 LDFLAGS         += -dy -Nmisc/mac -Ndrv/ip
  63 
  64 C99LMODE=       -Xc99=%all
  65 
  66 CERRWARN        += -_gcc=-Wno-switch
  67 CERRWARN        += -_gcc=-Wno-uninitialized
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 all:            $(ALL_DEPS)
  77 
  78 clean:          $(CLEAN_DEPS)
  79 
  80 clobber:        $(CLOBBER_DEPS)
  81 
  82 lint:           $(LINT_DEPS)
  83 
  84 modlintlib:     $(MODLINTLIB_DEPS)
  85 
  86 clean.lint:     $(CLEAN_LINT_DEPS)
  87 


  47 
  48 #
  49 #       Define targets
  50 #
  51 ALL_TARGET      = $(BINARY)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  54 
  55 #
  56 #       Overrides and depends_on
  57 #
  58 MODSTUBS_DIR     = $(OBJS_DIR)
  59 
  60 INC_PATH        += -I$(UTSBASE)/common/sys/fibre-channel/fca/qlge
  61 
  62 LDFLAGS         += -dy -Nmisc/mac -Ndrv/ip
  63 
  64 C99LMODE=       -Xc99=%all
  65 
  66 CERRWARN        += -_gcc=-Wno-switch
  67 CERRWARN        += $(CNOWARN_UNINIT)
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 all:            $(ALL_DEPS)
  77 
  78 clean:          $(CLEAN_DEPS)
  79 
  80 clobber:        $(CLOBBER_DEPS)
  81 
  82 lint:           $(LINT_DEPS)
  83 
  84 modlintlib:     $(MODLINTLIB_DEPS)
  85 
  86 clean.lint:     $(CLEAN_LINT_DEPS)
  87