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


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


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