head	1.16;
access;
symbols
	perseant-exfatfs-base-20250801:1.16
	perseant-exfatfs-base-20240630:1.16
	perseant-exfatfs:1.16.0.22
	perseant-exfatfs-base:1.16
	cjep_sun2x:1.16.0.20
	cjep_sun2x-base:1.16
	cjep_staticlib_x-base1:1.16
	cjep_staticlib_x:1.16.0.18
	cjep_staticlib_x-base:1.16
	phil-wifi-20200421:1.16
	phil-wifi-20200411:1.16
	phil-wifi-20200406:1.16
	pgoyette-compat-merge-20190127:1.16
	pgoyette-compat-20190127:1.16
	pgoyette-compat-20190118:1.16
	pgoyette-compat-1226:1.16
	pgoyette-compat-1126:1.16
	pgoyette-compat-1020:1.16
	pgoyette-compat-0930:1.16
	pgoyette-compat-0906:1.16
	pgoyette-compat-0728:1.16
	pgoyette-compat-0625:1.16
	pgoyette-compat-0521:1.16
	pgoyette-compat-0502:1.16
	pgoyette-compat-0422:1.16
	pgoyette-compat-0415:1.16
	pgoyette-compat-0407:1.16
	pgoyette-compat-0330:1.16
	pgoyette-compat-0322:1.16
	pgoyette-compat-0315:1.16
	pgoyette-compat:1.16.0.16
	pgoyette-compat-base:1.16
	perseant-stdc-iso10646:1.16.0.14
	perseant-stdc-iso10646-base:1.16
	prg-localcount2-base3:1.16
	prg-localcount2-base2:1.16
	prg-localcount2-base1:1.16
	prg-localcount2:1.16.0.12
	prg-localcount2-base:1.16
	pgoyette-localcount-20170426:1.16
	bouyer-socketcan-base1:1.16
	pgoyette-localcount-20170320:1.16
	bouyer-socketcan:1.16.0.10
	bouyer-socketcan-base:1.16
	pgoyette-localcount-20170107:1.16
	pgoyette-localcount-20161104:1.16
	localcount-20160914:1.16
	pgoyette-localcount-20160806:1.16
	pgoyette-localcount-20160726:1.16
	pgoyette-localcount:1.16.0.8
	pgoyette-localcount-base:1.16
	netbsd-5-2-3-RELEASE:1.13
	netbsd-5-1-5-RELEASE:1.13
	yamt-pagecache-base9:1.16
	yamt-pagecache-tag8:1.16
	tls-earlyentropy:1.16.0.4
	tls-earlyentropy-base:1.16
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.16
	riastradh-drm2-base3:1.16
	netbsd-5-2-2-RELEASE:1.13
	netbsd-5-1-4-RELEASE:1.13
	netbsd-5-2-1-RELEASE:1.13
	netbsd-5-1-3-RELEASE:1.13
	agc-symver:1.16.0.6
	agc-symver-base:1.16
	tls-maxphys-base:1.16
	yamt-pagecache-base8:1.16
	netbsd-5-2:1.13.0.2
	yamt-pagecache-base7:1.16
	netbsd-5-2-RELEASE:1.13
	netbsd-5-2-RC1:1.13
	yamt-pagecache-base6:1.16
	yamt-pagecache-base5:1.16
	yamt-pagecache-base4:1.16
	netbsd-5-1-2-RELEASE:1.13
	netbsd-5-1-1-RELEASE:1.13
	yamt-pagecache-base3:1.16
	yamt-pagecache-base2:1.16
	yamt-pagecache:1.16.0.2
	yamt-pagecache-base:1.16
	cherry-xenmp:1.14.0.4
	cherry-xenmp-base:1.14
	bouyer-quota2-nbase:1.14
	bouyer-quota2:1.14.0.2
	bouyer-quota2-base:1.14
	matt-mips64-premerge-20101231:1.14
	matt-nb5-mips64-premerge-20101231:1.13
	matt-nb5-pq3:1.13.0.14
	matt-nb5-pq3-base:1.13
	netbsd-5-1:1.13.0.12
	netbsd-5-1-RELEASE:1.13
	netbsd-5-1-RC4:1.13
	matt-nb5-mips64-k15:1.13
	netbsd-5-1-RC3:1.13
	netbsd-5-1-RC2:1.13
	netbsd-5-1-RC1:1.13
	netbsd-5-0-2-RELEASE:1.13
	matt-nb5-mips64-premerge-20091211:1.13
	matt-premerge-20091211:1.14
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.13
	matt-nb4-mips64-k7-u2a-k9b:1.13
	matt-nb5-mips64-u1-k1-k5:1.13
	matt-nb5-mips64:1.13.0.10
	netbsd-5-0-1-RELEASE:1.13
	jym-xensuspend-nbase:1.14
	netbsd-5-0:1.13.0.8
	netbsd-5-0-RELEASE:1.13
	netbsd-5-0-RC4:1.13
	netbsd-5-0-RC3:1.13
	netbsd-5-0-RC2:1.13
	jym-xensuspend:1.13.0.6
	jym-xensuspend-base:1.14
	netbsd-5-0-RC1:1.13
	netbsd-5:1.13.0.4
	netbsd-5-base:1.13
	matt-mips64-base2:1.13
	matt-mips64:1.12.0.22
	netbsd-4-0-1-RELEASE:1.12
	wrstuden-revivesa-base-3:1.13
	wrstuden-revivesa-base-2:1.13
	wrstuden-fixsa-newbase:1.12
	wrstuden-revivesa-base-1:1.12
	yamt-pf42-base4:1.12
	yamt-pf42-base3:1.12
	hpcarm-cleanup-nbase:1.12
	yamt-pf42-baseX:1.12
	yamt-pf42-base2:1.12
	wrstuden-revivesa:1.12.0.20
	wrstuden-revivesa-base:1.12
	yamt-pf42:1.12.0.18
	yamt-pf42-base:1.12
	keiichi-mipv6-nbase:1.12
	keiichi-mipv6:1.12.0.16
	keiichi-mipv6-base:1.12
	matt-armv6-nbase:1.12
	matt-armv6-prevmlocking:1.12
	wrstuden-fixsa-base-1:1.12
	netbsd-4-0:1.12.0.14
	netbsd-4-0-RELEASE:1.12
	cube-autoconf:1.12.0.12
	cube-autoconf-base:1.12
	netbsd-4-0-RC5:1.12
	netbsd-4-0-RC4:1.12
	netbsd-4-0-RC3:1.12
	netbsd-4-0-RC2:1.12
	netbsd-4-0-RC1:1.12
	matt-armv6:1.12.0.10
	matt-armv6-base:1.12
	matt-mips64-base:1.12
	hpcarm-cleanup:1.12.0.8
	hpcarm-cleanup-base:1.12
	netbsd-3-1-1-RELEASE:1.11
	netbsd-3-0-3-RELEASE:1.11
	wrstuden-fixsa:1.12.0.6
	wrstuden-fixsa-base:1.12
	abandoned-netbsd-4-base:1.12
	abandoned-netbsd-4:1.12.0.2
	netbsd-3-1:1.11.0.6
	netbsd-3-1-RELEASE:1.11
	netbsd-3-0-2-RELEASE:1.11
	netbsd-3-1-RC4:1.11
	netbsd-3-1-RC3:1.11
	netbsd-3-1-RC2:1.11
	netbsd-3-1-RC1:1.11
	netbsd-4:1.12.0.4
	netbsd-4-base:1.12
	netbsd-3-0-1-RELEASE:1.11
	netbsd-3-0:1.11.0.4
	netbsd-3-0-RELEASE:1.11
	netbsd-3-0-RC6:1.11
	netbsd-3-0-RC5:1.11
	netbsd-3-0-RC4:1.11
	netbsd-3-0-RC3:1.11
	netbsd-3-0-RC2:1.11
	netbsd-3-0-RC1:1.11
	netbsd-2-0-3-RELEASE:1.10
	netbsd-2-1:1.10.0.6
	netbsd-2-1-RELEASE:1.10
	netbsd-2-1-RC6:1.10
	netbsd-2-1-RC5:1.10
	netbsd-2-1-RC4:1.10
	netbsd-2-1-RC3:1.10
	netbsd-2-1-RC2:1.10
	netbsd-2-1-RC1:1.10
	netbsd-2-0-2-RELEASE:1.10
	netbsd-3:1.11.0.2
	netbsd-3-base:1.11
	netbsd-2-0-1-RELEASE:1.10
	netbsd-2:1.10.0.4
	netbsd-2-base:1.10
	netbsd-2-0-RELEASE:1.10
	netbsd-2-0-RC5:1.10
	netbsd-2-0-RC4:1.10
	netbsd-2-0-RC3:1.10
	netbsd-2-0-RC2:1.10
	netbsd-2-0-RC1:1.10
	netbsd-2-0:1.10.0.2
	netbsd-2-0-base:1.10
	netbsd-1-6-PATCH002-RELEASE:1.9
	netbsd-1-6-PATCH002:1.9
	netbsd-1-6-PATCH002-RC4:1.9
	netbsd-1-6-PATCH002-RC3:1.9
	netbsd-1-6-PATCH002-RC2:1.9
	netbsd-1-6-PATCH002-RC1:1.9
	netbsd-1-6-PATCH001:1.9
	netbsd-1-6-PATCH001-RELEASE:1.9
	netbsd-1-6-PATCH001-RC3:1.9
	netbsd-1-6-PATCH001-RC2:1.9
	netbsd-1-6-PATCH001-RC1:1.9
	fvdl_fs64_base:1.9
	netbsd-1-6-RELEASE:1.9
	netbsd-1-6-RC3:1.9
	netbsd-1-6-RC2:1.9
	netbsd-1-6-RC1:1.9
	netbsd-1-6:1.9.0.12
	netbsd-1-6-base:1.9
	netbsd-1-5-PATCH003:1.9
	netbsd-1-5-PATCH002:1.9
	netbsd-1-5-PATCH001:1.9
	netbsd-1-5-RELEASE:1.9
	netbsd-1-5-BETA2:1.9
	netbsd-1-5-BETA:1.9
	netbsd-1-4-PATCH003:1.9
	netbsd-1-5-ALPHA2:1.9
	netbsd-1-5:1.9.0.10
	netbsd-1-5-base:1.9
	minoura-xpg4dl-base:1.9
	minoura-xpg4dl:1.9.0.8
	netbsd-1-4-PATCH002:1.9
	wrstuden-devbsize-19991221:1.9
	wrstuden-devbsize:1.9.0.6
	wrstuden-devbsize-base:1.9
	comdex-fall-1999:1.9.0.4
	comdex-fall-1999-base:1.9
	netbsd-1-4-PATCH001:1.9
	netbsd-1-4-RELEASE:1.9
	netbsd-1-4:1.9.0.2
	netbsd-1-4-base:1.9
	netbsd-1-3-PATCH003:1.7.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.7.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.7.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.7.2.1
	netbsd-1-3-PATCH002:1.7.2.1
	netbsd-1-3-PATCH001:1.7.2.1
	netbsd-1-3-RELEASE:1.7.2.1
	netbsd-1-3-BETA:1.7.2.1
	netbsd-1-3:1.7.0.2
	netbsd-1-3-base:1.7
	netbsd-1-2-PATCH001:1.5
	netbsd-1-2-RELEASE:1.5
	netbsd-1-2-BETA:1.5
	netbsd-1-2:1.5.0.6
	netbsd-1-2-base:1.5
	netbsd-1-1-PATCH001:1.5
	netbsd-1-1-RELEASE:1.5
	netbsd-1-1:1.5.0.2
	netbsd-1-1-base:1.5
	netbsd-1-0-PATCH06:1.4
	netbsd-1-0-PATCH05:1.4
	netbsd-1-0-PATCH04:1.4
	netbsd-1-0-PATCH03:1.4
	netbsd-1-0-PATCH02:1.4
	netbsd-1-0-PATCH1:1.4
	netbsd-1-0-PATCH0:1.4
	netbsd-1-0-RELEASE:1.4
	netbsd-1-0:1.4.0.2
	netbsd-1-0-base:1.4
	cron3patch1:1.1.1.3
	cron3:1.1.1.3
	cron3pre11:1.1.1.2
	cron3pre10:1.1.1.1
	cron3pre9:1.1.1.1
	vixie:1.1.1;
locks; strict;
comment	@# @;


1.16
date	2011.08.30.10.08.11;	author christos;	state dead;
branches;
next	1.15;

1.15
date	2011.06.20.07.44.01;	author mrg;	state Exp;
branches;
next	1.14;

1.14
date	2009.04.22.15.23.02;	author lukem;	state Exp;
branches
	1.14.4.1;
next	1.13;

1.13
date	2008.08.29.00.02.25;	author gmcgarry;	state Exp;
branches
	1.13.6.1;
next	1.12;

1.12
date	2006.05.11.23.16.30;	author mrg;	state Exp;
branches
	1.12.20.1;
next	1.11;

1.11
date	2005.03.16.02.53.55;	author xtraeme;	state Exp;
branches;
next	1.10;

1.10
date	2003.03.14.21.56.07;	author christos;	state Exp;
branches;
next	1.9;

1.9
date	98.01.31.14.40.13;	author christos;	state Exp;
branches;
next	1.8;

1.8
date	97.10.23.06.34.28;	author lukem;	state Exp;
branches;
next	1.7;

1.7
date	97.10.18.06.42.37;	author lukem;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	97.03.13.06.19.07;	author mikel;	state Exp;
branches;
next	1.5;

1.5
date	94.12.22.11.33.57;	author cgd;	state Exp;
branches;
next	1.4;

1.4
date	94.01.20.02.56.55;	author jtc;	state Exp;
branches;
next	1.3;

1.3
date	94.01.05.21.10.29;	author jtc;	state Exp;
branches;
next	1.2;

1.2
date	94.01.05.20.57.27;	author jtc;	state Exp;
branches;
next	1.1;

1.1
date	94.01.05.20.40.11;	author jtc;	state Exp;
branches
	1.1.1.1;
next	;

1.14.4.1
date	2011.06.23.14.20.46;	author cherry;	state Exp;
branches;
next	;

1.13.6.1
date	2009.05.13.19.20.21;	author jym;	state Exp;
branches;
next	;

1.12.20.1
date	2008.09.18.04.30.02;	author wrstuden;	state Exp;
branches;
next	;

1.7.2.1
date	97.11.08.15.11.31;	author lukem;	state Exp;
branches;
next	;

1.1.1.1
date	94.01.05.20.40.12;	author jtc;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	94.01.12.18.34.45;	author jtc;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	94.01.20.02.46.59;	author jtc;	state Exp;
branches;
next	;


desc
@@


1.16
log
@in external now
@
text
@#	$NetBSD: Makefile,v 1.15 2011/06/20 07:44:01 mrg Exp $

PROG=	cron
SRCS=	cron.c database.c do_command.c entry.c env.c job.c \
	misc.c popen.c user.c
CPPFLAGS+=-I${.CURDIR} -DLOGIN_CAP
LDADD+=-lutil
MAN=	cron.8

.include <bsd.prog.mk>

.if defined(HAVE_GCC) || defined(HAVE_PCC)
COPTS.misc.c+=	-Wno-pointer-sign
.endif
@


1.15
log
@remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2009/04/22 15:23:02 lukem Exp $
@


1.14
log
@Enable WARNS=4 by default, except for:
	cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2008/08/29 00:02:25 gmcgarry Exp $
d12 1
a12 1
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
@


1.14.4.1
log
@Catchup with rmind-uvmplock merge.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2011/06/20 07:44:01 mrg Exp $
d12 1
a12 1
.if defined(HAVE_GCC) || defined(HAVE_PCC)
@


1.13
log
@Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2006/05/11 23:16:30 mrg Exp $
a9 2
WARNS=  3

@


1.13.6.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2009/04/22 15:23:02 lukem Exp $
d10 2
@


1.12
log
@sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2005/03/16 02:53:55 xtraeme Exp $
d14 1
a14 1
.if ${HAVE_GCC} == 4
@


1.12.20.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2006/05/11 23:16:30 mrg Exp $
d14 1
a14 1
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
@


1.11
log
@Kill __P(), use ANSI function declarations, constify; WARNS=3
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 2003/03/14 21:56:07 christos Exp $
d13 4
@


1.10
log
@PR/15142: Kevin P. Neal: cron does not pay attention to login_cap(3)

I simplified the patch addressed certain security concerns. I only
allowed setusercontext() to set resource limits/priority and umask,
because these are the values that are relevant from login.conf. The
rest of the settings (uid/gid/initgroups) should be done using e->uid
and e->gid like they were before, not from:

	struct passwd *pwd = getpwnam(getenv("LOGNAME"));

Finally login_cap's (path/env) are irrelevant in this context since
we want to use our e->envp anyway to execute the command.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1998/01/31 14:40:13 christos Exp $
d10 2
@


1.9
log
@Warnsify:
	- add __RCSID
	- remove nested comments
	- remove register and auto keywords
	- change into posix signals
	- fix prototypes
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1997/10/23 06:34:28 lukem Exp $
d6 2
a7 1
CPPFLAGS+=-I${.CURDIR}
@


1.8
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1997/10/18 06:42:37 lukem Exp $
a2 1
WARNS?=	0
@


1.7
log
@enable WARNS=1 by default, but disable in unclean 3rd party code
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1997/03/13 06:19:07 mikel Exp $
d7 1
a7 1
CFLAGS+=-I${.CURDIR}
@


1.7.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1997/10/23 06:34:28 lukem Exp $
d7 1
a7 1
CPPFLAGS+=-I${.CURDIR}
@


1.6
log
@RCSid police
@
text
@d1 1
a1 1
#	$NetBSD$
d3 1
@


1.5
log
@specify man pages the new way.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1994/01/20 02:56:55 jtc Exp $
d4 2
a5 2
SRCS=	cron.c database.c user.c entry.c job.c do_command.c \
	misc.c env.c popen.c 
@


1.4
log
@Don't compile with compat.c, since our C library allready has all the
functions it provides.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1994/01/05 21:10:29 jtc Exp $
d7 1
a7 1
MAN8=	cron.0
@


1.3
log
@Remove -DCRONDIR, macro is set correctly in pathnames.h.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1994/01/05 20:57:27 jtc Exp $
d5 1
a5 1
	misc.c env.c popen.c compat.c
@


1.2
log
@Converted Makefile to use BSD make.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1993/08/02 17:50:18 mycroft Exp $
d6 1
a6 1
CFLAGS+=-I${.CURDIR} -DCRONDIR='"/var/cron"' 
@


1.1
log
@Initial revision
@
text
@d1 1
a1 16
#/* Copyright 1988,1990,1993 by Paul Vixie
# * All rights reserved
# *
# * Distribute freely, except: don't remove my name from the source or
# * documentation (don't take credit for my work), mark your changes (don't
# * get me blamed for your possible bugs), don't alter or remove this
# * notice.  May be sold if buildable source is provided to buyer.  No
# * warrantee of any kind, express or implied, is included with this
# * software; use at your own risk, responsibility for damages (if any) to
# * anyone resulting from the use of this software rests entirely with the
# * user.
# *
# * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
# * I'll try to keep a version up to date.  I can be reached as follows:
# * Paul Vixie          <paul@@vix.com>          uunet!decwrl!vixie!paul
# */
d3 5
a7 8
# Makefile for vixie's cron
#
# $Id: Makefile,v 2.4 1993/12/28 08:34:43 vixie Exp $
#
# vix 03mar88 [moved to RCS, rest of log is in there]
# vix 30mar87 [goodbye, time.c; hello, getopt]
# vix 12feb87 [cleanup for distribution]
# vix 30dec86 [written]
d9 1
a9 102
# NOTES:
#	'make' can be done by anyone
#	'make install' must be done by root
#
#	this package needs getopt(3), bitstring(3), and BSD install(8).
#
#	the configurable stuff in this makefile consists of compilation
#	options (use -O, cron runs forever) and destination directories.
#	SHELL is for the 'augumented make' systems where 'make' imports
#	SHELL from the environment and then uses it to run its commands.
#	if your environment SHELL variable is /bin/csh, make goes real
#	slow and sometimes does the wrong thing.  
#
#	this package needs the 'bitstring macros' library, which is
#	available from me or from the comp.sources.unix archive.  if you
#	put 'bitstring.h' in a non-standard place (i.e., not intuited by
#	cc(1)), you will have to define INCLUDE to set the include
#	directory for cc.  INCLUDE should be `-Isomethingorother'.
#
#	there's more configuration info in config.h; edit that first!

#################################### begin configurable stuff
#<<DESTROOT is assumed to have ./etc, ./bin, and ./man subdirectories>>
DESTROOT	=	$(DESTDIR)/usr
DESTSBIN	=	$(DESTROOT)/sbin
DESTBIN		=	$(DESTROOT)/bin
DESTMAN		=	$(DESTROOT)/share/man
#<<need bitstring.h>>
INCLUDE		=	-I.
#INCLUDE	=
#<<need getopt()>>
LIBS		=
#<<optimize or debug?>>
#OPTIM		=	-O
OPTIM		=	-g
#<<ATT or BSD or POSIX?>>
# (ATT untested)
#COMPAT		=	-DATT
#(BSD is only needed if <sys/params.h> does not define it, as on ULTRIX)
#COMPAT		=	-DBSD
# (POSIX)
#COMPAT		=	-DPOSIX
#<<lint flags of choice?>>
LINTFLAGS	=	-hbxa $(INCLUDE) $(COMPAT) $(DEBUGGING)
#<<want to use a nonstandard CC?>>
#CC		=	vcc
#<<manifest defines>>
DEFS		=
#(SGI IRIX systems need this)
#DEFS		=	-D_BSD_SIGNALS -Dconst=
#<<the name of the BSD-like install program>>
#INSTALL = installbsd
INSTALL = install
#<<any special load flags>>
LDFLAGS		=
#################################### end configurable stuff

SHELL		=	/bin/sh
CFLAGS		=	$(OPTIM) $(INCLUDE) $(COMPAT) $(DEFS)

INFOS		=	README CHANGES FEATURES INSTALL CONVERSION THANKS MAIL
MANPAGES	=	bitstring.3 crontab.5 crontab.1 cron.8 putman.sh
HEADERS		=	bitstring.h cron.h config.h pathnames.h \
			externs.h compat.h
SOURCES		=	cron.c crontab.c database.c do_command.c entry.c \
			env.c job.c user.c popen.c misc.c compat.c
SHAR_SOURCE	=	$(INFOS) $(MANPAGES) Makefile $(HEADERS) $(SOURCES)
LINT_CRON	=	cron.c database.c user.c entry.c compat.c \
			misc.c job.c do_command.c env.c popen.c
LINT_CRONTAB	=	crontab.c misc.c entry.c env.c compat.c
CRON_OBJ	=	cron.o database.o user.o entry.o job.o do_command.o \
			misc.o env.o popen.o compat.o
CRONTAB_OBJ	=	crontab.o misc.o entry.o env.o compat.o

all		:	cron crontab

lint		:
			lint $(LINTFLAGS) $(LINT_CRON) $(LIBS) \
			|grep -v "constant argument to NOT" 2>&1
			lint $(LINTFLAGS) $(LINT_CRONTAB) $(LIBS) \
			|grep -v "constant argument to NOT" 2>&1

cron		:	$(CRON_OBJ)
			$(CC) $(LDFLAGS) -o cron $(CRON_OBJ) $(LIBS)

crontab		:	$(CRONTAB_OBJ)
			$(CC) $(LDFLAGS) -o crontab $(CRONTAB_OBJ) $(LIBS)

install		:	all
			$(INSTALL) -c -m  111 -o root -s cron    $(DESTSBIN)/
			$(INSTALL) -c -m 4111 -o root -s crontab $(DESTBIN)/
			sh putman.sh crontab.1 $(DESTMAN)
			sh putman.sh cron.8    $(DESTMAN)
			sh putman.sh crontab.5 $(DESTMAN)

clean		:;	rm -f *.o cron crontab a.out core tags *~ #*

kit		:	$(SHAR_SOURCE)
			makekit -m -s99k $(SHAR_SOURCE)

$(CRON_OBJ)	:	cron.h compat.h config.h externs.h pathnames.h Makefile
$(CRONTAB_OBJ)	:	cron.h compat.h config.h externs.h pathnames.h Makefile
@


1.1.1.1
log
@Vixie Cron 3.0-prerelease, patch 9
@
text
@@


1.1.1.2
log
@Vixie Cron 3.0-prerelease, patch 11
@
text
@d1 1
a1 1
#/* Copyright 1988,1990,1993,1994 by Paul Vixie
@


1.1.1.3
log
@Vixie Cron 3.0-release
@
text
@d20 1
a20 1
# $Id: Makefile,v 2.9 1994/01/15 20:43:43 vixie Exp $
@
