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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/zlogin/Makefile
          +++ new/usr/src/cmd/zlogin/Makefile
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  #
  24      -# Copyright (c) 2018, Joyent, Inc.
       24 +# Copyright 2019 Joyent, Inc.
       25 +#
  25   26  
  26   27  PROG = zlogin
  27   28  
  28   29  include ../Makefile.cmd
  29   30  
  30      -LINTFLAGS += -u
  31   31  LDLIBS += -lsocket -lzonecfg -lcontract -lbrand -lsecdb
  32   32  CFLAGS += $(CCVERBOSE)
  33   33  FILEMODE = 0555
  34   34  
  35      -CERRWARN += -_gcc=-Wno-uninitialized
       35 +CERRWARN += $(CNOWARN_UNINIT)
  36   36  
  37   37  # not linted
  38   38  SMATCH=off
  39   39  
       40 +CSTD = $(CSTD_GNU99)
       41 +
  40   42  .KEEP_STATE:
  41   43  
  42   44  all: $(PROG)
  43   45  
  44   46  install: all $(ROOTUSRSBINPROG)
  45   47  
  46   48  clean:
  47   49          $(RM) $(OBJS)
  48   50  
  49      -lint:   lint_PROG
  50      -
  51   51  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX