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.sbin/ipmpstat/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.sbin/ipmpstat/Makefile
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  # Use is subject to license terms.
  23   23  #
  24   24  
  25   25  PROG = ipmpstat
  26   26  ROOTFS_PROG = $(PROG)
  27   27  ROOTUSRSBINLINKS = $(PROG:%=$(ROOTUSRSBIN)/%)
  28   28  
  29   29  include $(SRC)/cmd/Makefile.cmd
  30   30  
  31   31  CSTD = $(CSTD_GNU99)
  32      -CERRWARN += -_gcc=-Wno-uninitialized
       32 +CERRWARN += $(CNOWARN_UNINIT)
  33   33  LDLIBS += -lipmp -lsocket -lsysevent -lnvpair -lofmt
  34   34  XGETFLAGS += -a -x $(PROG).xcl
  35   35  
  36   36  .KEEP_STATE:
  37   37  
  38   38  all:            $(PROG)
  39   39  
  40   40  install:        all $(ROOTSBINPROG) $(ROOTUSRSBINLINKS)
  41   41  
  42   42  clean:
  43   43  
  44   44  lint:           lint_PROG
  45   45  
  46   46  $(ROOTUSRSBINLINKS):
  47   47          -$(RM) $@; $(SYMLINK) ../../sbin/$(@F) $@
  48   48  
  49   49  include $(SRC)/cmd/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX