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


  34 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35 #
  36 UTSBASE = ../..
  37 
  38 #
  39 #       Define the module and object file sets.
  40 #
  41 MODULE          = ipw
  42 OBJECTS         = $(IPW_OBJS:%=$(OBJS_DIR)/%)
  43 LINTS           = $(IPW_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  45 
  46 #
  47 #       Include common rules.
  48 #
  49 include $(UTSBASE)/intel/Makefile.intel
  50 
  51 CERRWARN        += -_gcc=-Wno-switch
  52 CERRWARN        += -_gcc=-Wno-unused-label
  53 CERRWARN        += -_gcc=-Wno-parentheses
  54 CERRWARN        += -_gcc=-Wno-uninitialized
  55 
  56 # needs work
  57 $(OBJS_DIR)/ipw2100.o := SMOFF += deref_check
  58 
  59 #
  60 #       Define targets
  61 #
  62 ALL_TARGET      = $(BINARY) $(CONFMOD) $(ITUMOD)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  65 
  66 CPPFLAGS        += -I. -D_KERNEL
  67 LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)


  34 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  35 #
  36 UTSBASE = ../..
  37 
  38 #
  39 #       Define the module and object file sets.
  40 #
  41 MODULE          = ipw
  42 OBJECTS         = $(IPW_OBJS:%=$(OBJS_DIR)/%)
  43 LINTS           = $(IPW_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  45 
  46 #
  47 #       Include common rules.
  48 #
  49 include $(UTSBASE)/intel/Makefile.intel
  50 
  51 CERRWARN        += -_gcc=-Wno-switch
  52 CERRWARN        += -_gcc=-Wno-unused-label
  53 CERRWARN        += -_gcc=-Wno-parentheses
  54 CERRWARN        += $(CNOWARN_UNINIT)
  55 
  56 # needs work
  57 $(OBJS_DIR)/ipw2100.o := SMOFF += deref_check
  58 
  59 #
  60 #       Define targets
  61 #
  62 ALL_TARGET      = $(BINARY) $(CONFMOD) $(ITUMOD)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  65 
  66 CPPFLAGS        += -I. -D_KERNEL
  67 LDFLAGS         += -dy -Nmisc/mac -Nmisc/net80211 -Ndrv/random -Ndrv/ip
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)