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


  27 # Copyright (c) 2018, Joyent, Inc.
  28 
  29 #
  30 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  31 #
  32 UTSBASE = ../..
  33 
  34 #
  35 #       Define the module and object file sets.
  36 #
  37 MODULE          = trill
  38 OBJECTS         = $(TRILL_OBJS:%=$(OBJS_DIR)/%)
  39 LINTS           = $(TRILL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  40 ROOTMODULE      = $(ROOT_SOCK_DIR)/$(MODULE)
  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 CERRWARN        += -_gcc=-Wno-uninitialized
  48 
  49 # needs work
  50 SMOFF += all_func_returns
  51 
  52 #
  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58 
  59 #
  60 #       Overrides.
  61 #
  62 CFLAGS          += $(CCVERBOSE)
  63 LDFLAGS         += -dy -Ndrv/bridge -Nmisc/mac -Nmisc/dls -Nfs/sockfs
  64 
  65 #
  66 #       Default build targets.
  67 #




  27 # Copyright (c) 2018, Joyent, Inc.
  28 
  29 #
  30 #       Path to the base of the uts directory tree (usually /usr/src/uts).
  31 #
  32 UTSBASE = ../..
  33 
  34 #
  35 #       Define the module and object file sets.
  36 #
  37 MODULE          = trill
  38 OBJECTS         = $(TRILL_OBJS:%=$(OBJS_DIR)/%)
  39 LINTS           = $(TRILL_OBJS:%.o=$(LINTS_DIR)/%.ln)
  40 ROOTMODULE      = $(ROOT_SOCK_DIR)/$(MODULE)
  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 CERRWARN        += $(CNOWARN_UNINIT)
  48 
  49 # needs work
  50 SMOFF += all_func_returns
  51 
  52 #
  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58 
  59 #
  60 #       Overrides.
  61 #
  62 CFLAGS          += $(CCVERBOSE)
  63 LDFLAGS         += -dy -Ndrv/bridge -Nmisc/mac -Nmisc/dls -Nfs/sockfs
  64 
  65 #
  66 #       Default build targets.
  67 #