Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  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 




  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 +=     $(CNOWARN_UNINIT)
  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