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


   5 # Common Development and Distribution License (the "License").
   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 #

  25 
  26 DEFAULTFILES =  cron.dfl
  27 
  28 include         ../Makefile.cmd
  29 
  30 MANIFEST =      cron.xml
  31 
  32 ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
  33 ROOTMETHOD =    $(ROOTLIBSVCMETHOD)/svc-cron
  34 
  35 CPPFLAGS +=     -D_FILE_OFFSET_BITS=64 -I $(SRC)/common/util
  36 CERRWARN +=     -_gcc=-Wno-parentheses
  37 CERRWARN +=     -_gcc=-Wno-unused-label
  38 CERRWARN +=     -_gcc=-Wno-uninitialized
  39 CERRWARN +=     -_gcc=-Wno-unused-variable
  40 CERRWARN +=     -_gcc=-Wno-unused-value
  41 



  42 ROOTVAR =       $(ROOT)/var
  43 
  44 ROOTSPCRON =    $(ROOTVAR)/spool/cron
  45 ROOTCROND =     $(ROOTETC)/cron.d
  46 ROOTCRONTABS =  $(ROOTSPCRON)/crontabs
  47 ROOTATJOBS =    $(ROOTSPCRON)/atjobs
  48 ROOTLIBCRON =   $(ROOTLIB)/cron
  49 
  50 PROG1 =         cron
  51 PROG2 =         at atq atrm crontab
  52 XPG6PROG =      crontab
  53 XPG4PROG =      at crontab
  54 PROG =          $(PROG1) $(PROG2)
  55 
  56 SCRIPT =        batch
  57 XPG4SCRIPT =    batch.xpg4
  58 
  59 POFILE=         $(PROG1)_cmd.po
  60 POFILES1=       at.po crontab.po funcs.po batch.po
  61 POFILES=        $(POFILES1) atrm.po




   5 # Common Development and Distribution License (the "License").
   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 #
  25 # Copyright (c) 2018, Joyent, Inc.
  26 
  27 DEFAULTFILES =  cron.dfl
  28 
  29 include         ../Makefile.cmd
  30 
  31 MANIFEST =      cron.xml
  32 
  33 ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
  34 ROOTMETHOD =    $(ROOTLIBSVCMETHOD)/svc-cron
  35 
  36 CPPFLAGS +=     -D_FILE_OFFSET_BITS=64 -I $(SRC)/common/util
  37 CERRWARN +=     -_gcc=-Wno-parentheses
  38 CERRWARN +=     -_gcc=-Wno-unused-label
  39 CERRWARN +=     -_gcc=-Wno-uninitialized
  40 CERRWARN +=     -_gcc=-Wno-unused-variable
  41 CERRWARN +=     -_gcc=-Wno-unused-value
  42 
  43 # not linted
  44 SMATCH=off
  45 
  46 ROOTVAR =       $(ROOT)/var
  47 
  48 ROOTSPCRON =    $(ROOTVAR)/spool/cron
  49 ROOTCROND =     $(ROOTETC)/cron.d
  50 ROOTCRONTABS =  $(ROOTSPCRON)/crontabs
  51 ROOTATJOBS =    $(ROOTSPCRON)/atjobs
  52 ROOTLIBCRON =   $(ROOTLIB)/cron
  53 
  54 PROG1 =         cron
  55 PROG2 =         at atq atrm crontab
  56 XPG6PROG =      crontab
  57 XPG4PROG =      at crontab
  58 PROG =          $(PROG1) $(PROG2)
  59 
  60 SCRIPT =        batch
  61 XPG4SCRIPT =    batch.xpg4
  62 
  63 POFILE=         $(PROG1)_cmd.po
  64 POFILES1=       at.po crontab.po funcs.po batch.po
  65 POFILES=        $(POFILES1) atrm.po