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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/acct/lib/Makefile
          +++ new/usr/src/cmd/acct/lib/Makefile
↓ open down ↓ 11 lines elided ↑ open up ↑
  12   12  # and limitations under the License.
  13   13  #
  14   14  # When distributing Covered Code, include this CDDL HEADER in each
  15   15  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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      -#
  23   22  # Copyright (c) 1989 by Sun Microsystems, Inc.
       23 +# Copyright (c) 2018, Joyent, Inc.
  24   24  #
  25      -#
  26   25  LIBS=   a.a
  27   26  
  28      -OBJS=   pnpsplit.o  copyn.o devtolin.o expand.o lintodev.o \
  29      -        namtouid.o tmless.o tmsecs.o uidtonam.o substr.o 
       27 +OBJS=   pnpsplit.o devtolin.o expand.o lintodev.o \
       28 +        namtouid.o tmless.o tmsecs.o uidtonam.o substr.o
  30   29  SRCS=   $(OBJS:%.o=%.c)
  31   30  
  32   31  include ../../Makefile.cmd
  33   32  
  34   33  CPPFLAGS = -D_LTYPES -I.. $(CPPFLAGS.master)
  35   34  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  36   35  CERRWARN += -_gcc=-Wno-parentheses
  37   36  CERRWARN += -_gcc=-Wno-extra
  38   37  
       38 +# not linted
       39 +SMATCH=off
       40 +
  39   41  .KEEP_STATE:
  40   42  
  41   43  .PARALLEL: $(OBJS)
  42   44  
  43   45  all: $(LIBS)
  44   46  
  45   47  $(LIBS): $(OBJS)
  46   48          $(AR) $(ARFLAGS) $@ $(OBJS)
  47   49  
  48   50  clean:
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX