Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/expand/Makefile
          +++ new/usr/src/cmd/expand/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -# cmd/expand/Makefile 
  27      -#
       26 +# Copyright (c) 2018, Joyent, Inc.
  28   27  
  29   28  PROG=           expand  unexpand
  30   29  SRCS=           $(PROG:=.c)
  31   30  
  32   31  include         ../Makefile.cmd
  33   32  
  34   33  # workaround two meanings for expand.po
  35   34  POFILES= expand_cmd.po unexpand.po
  36   35  POFILE= expand.po
  37   36  
  38   37  CLOBBERFILES += expand_cmd.c
  39   38  
       39 +SMOFF += signed
       40 +
  40   41  .KEEP_STATE:
  41   42  
  42      -all: $(PROG) 
       43 +all: $(PROG)
  43   44  
  44   45  install: all $(ROOTPROG)
  45   46  
  46   47  clean:
  47   48  
  48   49  lint:
  49   50          $(LINT.c) expand.c $(LDLIBS)
  50   51          $(LINT.c) unexpand.c $(LDLIBS)
  51   52  
  52   53  $(POFILE): $(POFILES)
  53   54          $(RM) $@; cat $(POFILES) > $@
  54   55  
  55   56  expand_cmd.c:
  56   57          $(RM) $@; cp expand.c $@
  57   58  
  58   59  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX