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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/adbgen/Makefile.com
          +++ new/usr/src/cmd/adbgen/Makefile.com
↓ open down ↓ 17 lines elided ↑ open up ↑
  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   26  # Copyright 2015 RackTop Systems.
  27   27  #
       28 +# Copyright (c) 2018, Joyent, Inc.
  28   29  
  29   30  PROGS = adbgen1 adbgen3 adbgen4
  30   31  OBJS = adbsub.o
  31   32  SCRIPTS = adbgen
  32   33  
  33   34  CLOBBERFILES = $(PROGS) $(OBJS) $(SCRIPTS)
  34   35  
  35   36  .PARALLEL: $(PROGS) $(OBJS) $(SCRIPTS)
  36   37  .KEEP_STATE:
  37   38  
  38   39  include ../../Makefile.cmd
       40 +include ../../Makefile.targ
  39   41  
       42 +# not linted
       43 +SMATCH=off
       44 +
  40   45  ROOTADBDIR32    = $(ROOT)/usr/lib/adb
  41   46  ROOTADBDIR64    = $(ROOT)/usr/lib/adb/$(MACH64)
  42   47  ROOTADBDIR      = $(ROOTADBDIR32)
  43   48  
  44   49  ROOTPROGS       = $(PROGS:%=$(ROOTADBDIR)/%)
  45   50  ROOTOBJS        = $(OBJS:%=$(ROOTADBDIR)/%)
  46   51  ROOTSCRIPTS     = $(SCRIPTS:%=$(ROOTADBDIR)/%)
  47   52  
  48   53  FILEMODE        = 0644
  49   54  $(ROOTPROGS) $(ROOTSCRIPTS) := FILEMODE = 0755
↓ open down ↓ 20 lines elided ↑ open up ↑
  70   75          $(INS.file)
  71   76  
  72   77  $(ROOTADBDIR64)/%: % $(ROOTADBDIR64)
  73   78          $(INS.file)
  74   79  
  75   80  $(ROOTADBDIR32):
  76   81          $(INS.dir)
  77   82  
  78   83  $(ROOTADBDIR64): $(ROOTADBDIR32)
  79   84          $(INS.dir)
  80      -
  81      -include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX