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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/svr4pkg/libinst/Makefile
          +++ new/usr/src/cmd/svr4pkg/libinst/Makefile
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 2017 Peter Tribble.
  24   24  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
       27 +# Copyright (c) 2018, Joyent, Inc.
  27   28  
  28   29  PROG= libinst.a
  29   30  
  30   31  OBJS=   copyf.o         dockdeps.o      echo.o          eptstat.o       \
  31   32          finalck.o       findscripts.o   fixpath.o       flex_dev.o      \
  32   33          isreloc.o       lockinst.o      mntinfo.o       nblk.o          \
  33   34          ocfile.o        pathdup.o       pkgdbmerg.o     procmap.o       \
  34   35          pkgobjmap.o     ptext.o         putparam.o                      \
  35   36          qreason.o       qstrdup.o       setadmin.o      setlist.o       \
  36   37          srcpath.o       scriptvfy.o     doulimit.o      \
↓ open down ↓ 24 lines elided ↑ open up ↑
  61   62  # Lint flags 
  62   63  #
  63   64  LINTFLAGS += -un
  64   65  
  65   66  CERRWARN += -_gcc=-Wno-parentheses
  66   67  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  67   68  CERRWARN += -_gcc=-Wno-uninitialized
  68   69  CERRWARN += -_gcc=-Wno-clobbered
  69   70  CERRWARN += -_gcc=-Wno-unused-variable
  70   71  
       72 +# too many issues
       73 +SMATCH=off
       74 +
  71   75  .KEEP_STATE:
  72   76  
  73   77  all: $(PROG)
  74   78  
  75   79  $(PROG): $(OBJS)
  76   80          $(RM) $@
  77   81          $(AR) $(ARFLAGS) $@ $(OBJS)
  78   82          $(POST_PROCESS_A)
  79   83  
  80   84  install: all
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX