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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ypcmd/revnetgroup/Makefile
          +++ new/usr/src/cmd/ypcmd/revnetgroup/Makefile
↓ open down ↓ 27 lines elided ↑ open up ↑
  28   28  PROG = revnetgroup
  29   29  
  30   30  include ../../Makefile.cmd
  31   31  
  32   32  OBJS = revnetgroup.o getgroup.o table.o util.o
  33   33  SRCS = $(OBJS:.o=.c)
  34   34  HDRS = getgroup.h table.h util.h
  35   35  
  36   36  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  37   37  CERRWARN += -_gcc=-Wno-parentheses
  38      -CERRWARN += -_gcc=-Wno-uninitialized
       38 +CERRWARN += $(CNOWARN_UNINIT)
  39   39  
  40   40  # not linted
  41   41  SMATCH=off
  42   42  
  43   43  .KEEP_STATE:
  44   44  
  45   45  all: $(PROG)
  46   46  
  47   47  $(PROG): $(OBJS)
  48   48          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX