Print this page
3806 illumos build execs echo unnecessarily
Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sa/Makefile
          +++ new/usr/src/cmd/sa/Makefile
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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 +# Copyright (c) 2013 Andrew Stormont.  All rights reserved.
  24   25  #
  25   26  # cmd/sa/Makefile
  26   27  #
  27   28  
  28   29  MANIFEST =      sar.xml
  29   30  SVCMETHOD =     svc-sar
  30   31  
  31   32  include ../Makefile.cmd
  32   33  
  33   34  ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
↓ open down ↓ 37 lines elided ↑ open up ↑
  71   72  
  72   73  # Set of target install files
  73   74  SYSCRONTAB=     $(CRONTABSD)/sys
  74   75  ROOTPROG=       $(BINPROG:%=$(ROOTBIN)/%)
  75   76  ROOTUSBINPROG=  $(SBINPROG:%=$(ROOTUSRSBIN)/%)
  76   77  ROOTLIBPROG=    $(LIBPROG:%=$(LIBSAD)/%)
  77   78  ROOTLIBSHELL=   $(LIBSHELL:%=$(LIBSAD)/%)
  78   79  ROOTSYMLINKS=   $(SBINPROG:%=$(ROOTBIN)/%)
  79   80  
  80   81  # Performance monitoring should not be enabled by default. Hence, these
  81      -# entries are comments. Note the difficulty of inserting a literal #
  82      -# in a makefile.... Wonderful parser here....
  83      -COMMENT_CHAR:sh=          echo \\043
  84      -ENTRY1=         '$(COMMENT_CHAR) 0 * * * 0-6 /usr/lib/sa/sa1'
  85      -ENTRY2=         '$(COMMENT_CHAR) 20,40 8-17 * * 1-5 /usr/lib/sa/sa1'
  86      -ENTRY3=         '$(COMMENT_CHAR) 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A'
       82 +# entries are comments.
       83 +ENTRY1=         '$(POUND_SIGN) 0 * * * 0-6 /usr/lib/sa/sa1'
       84 +ENTRY2=         '$(POUND_SIGN) 20,40 8-17 * * 1-5 /usr/lib/sa/sa1'
       85 +ENTRY3=         '$(POUND_SIGN) 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A'
  87   86  
  88   87  CLOBBERFILES=   $(PROGS) $(SHELLS)
  89   88  
  90   89  # Conditionals
  91   90  $(LIBSAD)/$(SADC)       := FILEMODE = 0555
  92   91  
  93   92  .KEEP_STATE:
  94   93  
  95   94  all:            $(ALL) $(TXTS)
  96   95  
↓ open down ↓ 41 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX