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


   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 # Copyright (c) 2013 Andrew Stormont.  All rights reserved.
  25 #
  26 # cmd/sa/Makefile
  27 #
  28 
  29 MANIFEST =      sar.xml
  30 SVCMETHOD =     svc-sar
  31 
  32 include ../Makefile.cmd
  33 
  34 ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
  35 
  36 CERRWARN +=     -_gcc=-Wno-parentheses
  37 CERRWARN +=     -_gcc=-Wno-uninitialized
  38 


  39 GREP=           grep
  40 
  41 SADC=           sadc
  42 SAR=            sar
  43 TIMEX=          timex
  44 SA1=            sa1
  45 SA2=            sa2
  46 
  47 sadc :=         LDLIBS += -lkstat
  48 
  49 # Executables produced
  50 BINPROG=        $(TIMEX)
  51 SBINPROG=       $(SAR)
  52 LIBPROG=        $(SADC)
  53 LIBSHELL=       $(SA1) $(SA2)
  54 INITSHELL=      $(PERF)
  55 
  56 PROGS=          $(BINPROG) $(SBINPROG) $(LIBPROG)
  57 SHELLS=         $(LIBSHELL)
  58 TXTS=           README




   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 #
  22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23 # Use is subject to license terms.
  24 # Copyright (c) 2013 Andrew Stormont.  All rights reserved.
  25 #
  26 # Copyright (c) 2018, Joyent, Inc.

  27 
  28 MANIFEST =      sar.xml
  29 SVCMETHOD =     svc-sar
  30 
  31 include ../Makefile.cmd
  32 
  33 ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
  34 
  35 CERRWARN +=     -_gcc=-Wno-parentheses
  36 CERRWARN +=     -_gcc=-Wno-uninitialized
  37 
  38 SMOFF += all_func_returns
  39 
  40 GREP=           grep
  41 
  42 SADC=           sadc
  43 SAR=            sar
  44 TIMEX=          timex
  45 SA1=            sa1
  46 SA2=            sa2
  47 
  48 sadc :=         LDLIBS += -lkstat
  49 
  50 # Executables produced
  51 BINPROG=        $(TIMEX)
  52 SBINPROG=       $(SAR)
  53 LIBPROG=        $(SADC)
  54 LIBSHELL=       $(SA1) $(SA2)
  55 INITSHELL=      $(PERF)
  56 
  57 PROGS=          $(BINPROG) $(SBINPROG) $(LIBPROG)
  58 SHELLS=         $(LIBSHELL)
  59 TXTS=           README