Print this page
374 cron should send more useful mail


  55 POFILES1=       at.po crontab.po funcs.po batch.po
  56 POFILES=        $(POFILES1) atrm.po
  57 $(POFILES1) :=  XGETFLAGS= -a -x $(PROG1).xcl
  58 
  59 ROOTDIRS =      $(ROOTSPCRON) $(ROOTCROND) \
  60                 $(ROOTCRONTABS) $(ROOTATJOBS)
  61 
  62 ROOTPROG =      $(PROG1:%=$(ROOTUSRSBIN)/%) $(PROG2:%=$(ROOTBIN)/%)     \
  63                 $(SCRIPT:%=$(ROOTBIN)/%) \
  64                 $(XPG6PROG:%=$(ROOTXPG6BIN)/%) \
  65                 $(XPG4PROG:%=$(ROOTXPG4BIN)/%) \
  66                 $(XPG4SCRIPT:%.xpg4=$(ROOTXPG4BIN)/%)
  67 
  68 ROOTSYMLINK =   $(ROOTLIBCRON) $(ROOTETC)/cron
  69 
  70 GETRESPSRC=     $(SRC)/common/util/getresponse.c
  71 GETRESPOBJ=     getresponse.o
  72 COMMONOBJ1=     permit.o
  73 COMMONOBJ2=     funcs.o
  74 COMMONOBJS=     $(COMMONOBJ1) $(COMMONOBJ2)
  75 CRONOBJS=       cron.o elm.o
  76 ATOBJS=         at.o att1.o att2.o
  77 XPG4OBJS=       values-xpg4.o
  78 ATRMOBJS1=      atrm.o
  79 ATRMOBJS=       $(ATRMOBJS1) $(GETRESPOBJ)
  80 ATQOBJS=        atq.o
  81 CRONTABOBJS1=   crontab.o
  82 CRONTABOBJS=    $(CRONTABOBJS1) $(GETRESPOBJ)
  83 
  84 # /usr/xpg*/bin/crontab isn't linked with values-xpg*.o since it isn't
  85 # required by any specific behavior differences; this makes these
  86 # setuid variants less likely to accidently trip over differences that
  87 # could unintentionally open up a security hole.
  88 XPG4COMMONOBJS= $(COMMONOBJS:%=objs.xpg4/%)
  89 XPG4CTOBJS=     $(CRONTABOBJS:%=objs.xpg4/%)
  90 XPG4ATOBJS=     $(ATOBJS:%=objs.xpg4/%) $(XPG4OBJS:%=objs.xpg4/%)
  91 XPG6COMMONOBJS= $(COMMONOBJS:%=objs.xpg6/%)
  92 XPG6CTOBJS=     $(CRONTABOBJS:%=objs.xpg6/%)
  93 
  94 cron :=         POBJS = $(CRONOBJS) $(COMMONOBJ2)
  95 at :=           POBJS = $(ATOBJS) $(COMMONOBJS)


 112 CLOBBERFILES += $(SCRIPT) $(XPG4SCRIPT)
 113 
 114 $(ROOTLIBCRON) :=               SYMLNKDEST = ../../etc/cron.d
 115 $(ROOTETC)/cron :=              SYMLNKDEST = ../usr/sbin/cron
 116 
 117 $(ROOTBIN)/at :=                FILEMODE = 04755
 118 $(ROOTXPG4BIN)/at :=            FILEMODE = 04755
 119 $(ROOTBIN)/atrm :=              FILEMODE = 04755
 120 $(ROOTBIN)/atq :=               FILEMODE = 04755
 121 $(ROOTBIN)/crontab :=           FILEMODE = 04555
 122 $(ROOTXPG6BIN)/crontab :=       FILEMODE = 04555
 123 $(ROOTXPG4BIN)/crontab :=       FILEMODE = 04555
 124 $(ROOTUSRSBIN)/cron :=          FILEMODE = 0555
 125 
 126 LDLIBS +=       -lbsm
 127 
 128 at :=           LDLIBS += -lproject -lsecdb
 129 at.xpg4 :=      LDLIBS += -lproject -lsecdb
 130 atq :=          LDLIBS += -lsecdb
 131 atrm :=         LDLIBS += -lsecdb
 132 cron :=         LDLIBS += -lpam -lproject -lcontract -lzoneinfo
 133 crontab :=      LDLIBS += -lsecdb -lpam -lzoneinfo
 134 crontab.xpg6 := LDLIBS += -lsecdb -lpam -lzoneinfo
 135 crontab.xpg4 := LDLIBS += -lsecdb -lpam -lzoneinfo
 136 
 137 lint :=         LDLIBS += -lproject -lsecdb -lcontract -lpam
 138 
 139 $(XPG4) := CFLAGS += -DXPG4
 140 $(XPG6) := CFLAGS += -DXPG6
 141 
 142 LINTFLAGS += -u
 143 
 144 $(ROOTSVCSYSTEM)/cron.xml := FILEMODE = 0444
 145 $(ROOTLIBSVCMETHOD)/svc-cron := FILEMODE = 0555
 146 
 147 
 148 .KEEP_STATE:
 149 
 150 all :           $(PROG) $(XPG4) $(XPG6) $(SCRIPT) $(XPG4SCRIPT) $(FILES)
 151 
 152 install :       all $(ROOTPROG) $(ROOTETCDEFAULTFILES) $(ROOTSYMLINK) \




  55 POFILES1=       at.po crontab.po funcs.po batch.po
  56 POFILES=        $(POFILES1) atrm.po
  57 $(POFILES1) :=  XGETFLAGS= -a -x $(PROG1).xcl
  58 
  59 ROOTDIRS =      $(ROOTSPCRON) $(ROOTCROND) \
  60                 $(ROOTCRONTABS) $(ROOTATJOBS)
  61 
  62 ROOTPROG =      $(PROG1:%=$(ROOTUSRSBIN)/%) $(PROG2:%=$(ROOTBIN)/%)     \
  63                 $(SCRIPT:%=$(ROOTBIN)/%) \
  64                 $(XPG6PROG:%=$(ROOTXPG6BIN)/%) \
  65                 $(XPG4PROG:%=$(ROOTXPG4BIN)/%) \
  66                 $(XPG4SCRIPT:%.xpg4=$(ROOTXPG4BIN)/%)
  67 
  68 ROOTSYMLINK =   $(ROOTLIBCRON) $(ROOTETC)/cron
  69 
  70 GETRESPSRC=     $(SRC)/common/util/getresponse.c
  71 GETRESPOBJ=     getresponse.o
  72 COMMONOBJ1=     permit.o
  73 COMMONOBJ2=     funcs.o
  74 COMMONOBJS=     $(COMMONOBJ1) $(COMMONOBJ2)
  75 CRONOBJS=       cron.o elm.o cron_scf.o
  76 ATOBJS=         at.o att1.o att2.o
  77 XPG4OBJS=       values-xpg4.o
  78 ATRMOBJS1=      atrm.o
  79 ATRMOBJS=       $(ATRMOBJS1) $(GETRESPOBJ)
  80 ATQOBJS=        atq.o
  81 CRONTABOBJS1=   crontab.o
  82 CRONTABOBJS=    $(CRONTABOBJS1) $(GETRESPOBJ)
  83 
  84 # /usr/xpg*/bin/crontab isn't linked with values-xpg*.o since it isn't
  85 # required by any specific behavior differences; this makes these
  86 # setuid variants less likely to accidently trip over differences that
  87 # could unintentionally open up a security hole.
  88 XPG4COMMONOBJS= $(COMMONOBJS:%=objs.xpg4/%)
  89 XPG4CTOBJS=     $(CRONTABOBJS:%=objs.xpg4/%)
  90 XPG4ATOBJS=     $(ATOBJS:%=objs.xpg4/%) $(XPG4OBJS:%=objs.xpg4/%)
  91 XPG6COMMONOBJS= $(COMMONOBJS:%=objs.xpg6/%)
  92 XPG6CTOBJS=     $(CRONTABOBJS:%=objs.xpg6/%)
  93 
  94 cron :=         POBJS = $(CRONOBJS) $(COMMONOBJ2)
  95 at :=           POBJS = $(ATOBJS) $(COMMONOBJS)


 112 CLOBBERFILES += $(SCRIPT) $(XPG4SCRIPT)
 113 
 114 $(ROOTLIBCRON) :=               SYMLNKDEST = ../../etc/cron.d
 115 $(ROOTETC)/cron :=              SYMLNKDEST = ../usr/sbin/cron
 116 
 117 $(ROOTBIN)/at :=                FILEMODE = 04755
 118 $(ROOTXPG4BIN)/at :=            FILEMODE = 04755
 119 $(ROOTBIN)/atrm :=              FILEMODE = 04755
 120 $(ROOTBIN)/atq :=               FILEMODE = 04755
 121 $(ROOTBIN)/crontab :=           FILEMODE = 04555
 122 $(ROOTXPG6BIN)/crontab :=       FILEMODE = 04555
 123 $(ROOTXPG4BIN)/crontab :=       FILEMODE = 04555
 124 $(ROOTUSRSBIN)/cron :=          FILEMODE = 0555
 125 
 126 LDLIBS +=       -lbsm
 127 
 128 at :=           LDLIBS += -lproject -lsecdb
 129 at.xpg4 :=      LDLIBS += -lproject -lsecdb
 130 atq :=          LDLIBS += -lsecdb
 131 atrm :=         LDLIBS += -lsecdb
 132 cron :=         LDLIBS += -lpam -lproject -lcontract -lzoneinfo -lscf
 133 crontab :=      LDLIBS += -lsecdb -lpam -lzoneinfo
 134 crontab.xpg6 := LDLIBS += -lsecdb -lpam -lzoneinfo
 135 crontab.xpg4 := LDLIBS += -lsecdb -lpam -lzoneinfo
 136 
 137 lint :=         LDLIBS += -lproject -lsecdb -lcontract -lpam
 138 
 139 $(XPG4) := CFLAGS += -DXPG4
 140 $(XPG6) := CFLAGS += -DXPG6
 141 
 142 LINTFLAGS += -u
 143 
 144 $(ROOTSVCSYSTEM)/cron.xml := FILEMODE = 0444
 145 $(ROOTLIBSVCMETHOD)/svc-cron := FILEMODE = 0555
 146 
 147 
 148 .KEEP_STATE:
 149 
 150 all :           $(PROG) $(XPG4) $(XPG6) $(SCRIPT) $(XPG4SCRIPT) $(FILES)
 151 
 152 install :       all $(ROOTPROG) $(ROOTETCDEFAULTFILES) $(ROOTSYMLINK) \