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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.bin/pppdump/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.bin/pppdump/Makefile
↓ open down ↓ 7 lines elided ↑ open up ↑
   8    8  OBJS=           bsd-comp.o deflate.o pppdump.o zlib.o
   9    9  SRCS=           $(OBJS:%.o=%.c)
  10   10  
  11   11  include         ../../../Makefile.cmd
  12   12  
  13   13  CPPFLAGS +=     -DPPP_DEFS_IN_NET
  14   14  
  15   15  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  16   16  CERRWARN +=     -_gcc=-Wno-parentheses
  17   17  CERRWARN +=     -_gcc=-Wno-unused-variable
  18      -CERRWARN +=     -_gcc=-Wno-uninitialized
       18 +CERRWARN +=     $(CNOWARN_UNINIT)
  19   19  
  20   20  # not linted
  21   21  SMATCH=off
  22   22  
  23   23  .KEEP_STATE:
  24   24  
  25   25  all:            $(PROG)
  26   26  
  27   27  $(PROG):        $(OBJS)
  28   28                  $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  29   29                  $(POST_PROCESS)
  30   30  
  31   31  install:         all $(ROOTPROG)
  32   32  
  33   33  clean:
  34   34                  $(RM) $(OBJS)
  35   35  
  36   36  lint:
  37   37  
  38   38  include         ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX