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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/oamuser/lib/Makefile
          +++ new/usr/src/cmd/oamuser/lib/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  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 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  LIBRARY=        lib.a
  27   28  
  28   29  DATEFILE=       ugdates
  29   30  DATEFILESRC=    ugdates.dat
  30   31  TXT=            $(DATEFILESRC)
  31   32  
  32   33  OBJECTS=        putgrent.o \
  33   34                  errmsg.o \
  34   35                  file.o \
↓ open down ↓ 24 lines elided ↑ open up ↑
  59   60  LLINTLIB=       llib-l$(LIBRARY:lib%.a=lib).ln
  60   61  
  61   62  CLEANFILES=     $(LLINTLIB)
  62   63  CLOBBERFILES=   $(DATEFILE)
  63   64  
  64   65  GENERAL=        ../inc
  65   66  CPPFLAGS=       -I. -I$(GENERAL) $(CPPFLAGS.master)
  66   67  CERRWARN +=     -_gcc=-Wno-parentheses
  67   68  CERRWARN +=     -_gcc=-Wno-type-limits
  68   69  CERRWARN +=     -_gcc=-Wno-unused-variable
       70 +# not linted
       71 +SMATCH=off
       72 +
  69   73  ARFLAGS=        cr
  70   74  AROBJS=         `$(LORDER) $(OBJS) | $(TSORT)`
  71   75  LINTFLAGS=      -u
  72   76  
  73   77  ROOTUSRSADM=    $(ROOT)/usr/sadm
  74   78  ROOTUSRSADMFILE=$(DATEFILE:%=$(ROOTUSRSADM)/%)
  75   79  
  76   80  CLOBBERFILES += $(LIBRARY)
  77   81  
  78   82  .KEEP_STATE:
↓ open down ↓ 17 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX