head	1.15;
access;
symbols
	RELENG_3_5_0_RELEASE:1.13.2.1
	RELENG_3_4_0_RELEASE:1.13.2.1
	RELENG_3_3_0_RELEASE:1.13.2.1
	RELENG_3_2_PAO:1.13.0.4
	RELENG_3_2_PAO_BP:1.13
	RELENG_3_2_0_RELEASE:1.13
	RELENG_3_1_0_RELEASE:1.13
	RELENG_3:1.13.0.2
	RELENG_3_BP:1.13
	RELENG_2_2_8_RELEASE:1.9
	RELENG_3_0_0_RELEASE:1.13
	RELENG_2_2_7_RELEASE:1.9
	RELENG_2_2_6_RELEASE:1.9
	RELENG_2_2_5_RELEASE:1.9
	RELENG_2_2_2_RELEASE:1.9
	RELENG_2_2_1_RELEASE:1.9
	RELENG_2_2_0_RELEASE:1.9
	RELENG_2_1_7_RELEASE:1.7
	RELENG_2_1_6_1_RELEASE:1.7
	RELENG_2_1_6_RELEASE:1.7
	RELENG_2_2:1.9.0.2
	RELENG_2_2_BP:1.9
	RELENG_2_1_5_RELEASE:1.7
	RELENG_2_1_0_RELEASE:1.7
	RELENG_2_1_0:1.7.0.6
	RELENG_2_1_0_BP:1.7
	RELENG_2_0_5_RELEASE:1.7
	RELENG_2_0_5:1.7.0.4
	RELENG_2_0_5_BP:1.7
	RELENG_2_0_5_ALPHA:1.7
	RELEASE_2_0:1.7
	BETA_2_0:1.7
	ALPHA_2_0:1.7.0.2
	MOVED_NEWCVS:1.5
	FINAL_1_1_5:1.5
	ALPHA_1_1_5:1.5
	FINAL_1_1:1.4
	GAMMA_1_1:1.4
	BETA_1_1:1.4.0.2
	BP_BETA_1_1:1.4;
locks; strict;
comment	@# @;


1.15
date	99.12.22.15.24.24;	author roberto;	state dead;
branches;
next	1.14;

1.14
date	99.08.28.01.20.59;	author peter;	state Exp;
branches;
next	1.13;

1.13
date	98.03.19.15.12.04;	author bde;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	98.03.07.09.46.15;	author bde;	state Exp;
branches;
next	1.11;

1.11
date	97.02.22.16.14.39;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	97.01.14.07.19.52;	author jkh;	state Exp;
branches;
next	1.9;

1.9
date	96.09.05.17.16.10;	author bde;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	96.06.24.04.26.19;	author jkh;	state Exp;
branches;
next	1.7;

1.7
date	94.10.03.23.51.32;	author phk;	state Exp;
branches
	1.7.6.1;
next	1.6;

1.6
date	94.09.30.00.34.17;	author wollman;	state Exp;
branches;
next	1.5;

1.5
date	94.04.03.20.37.26;	author wollman;	state Exp;
branches;
next	1.4;

1.4
date	94.02.03.23.23.17;	author wollman;	state Exp;
branches;
next	1.3;

1.3
date	93.12.23.10.21.55;	author rgrimes;	state Exp;
branches;
next	1.2;

1.2
date	93.12.22.11.33.47;	author rgrimes;	state Exp;
branches;
next	1.1;

1.1
date	93.12.21.21.06.54;	author wollman;	state Exp;
branches;
next	;

1.7.6.1
date	99.09.05.11.45.04;	author peter;	state Exp;
branches;
next	;

1.9.2.1
date	99.09.05.11.41.34;	author peter;	state Exp;
branches;
next	;

1.13.2.1
date	99.08.29.15.49.34;	author peter;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Bye bye xntpd.
@
text
@#
# $FreeBSD: src/usr.sbin/xntpd/xntpd/Makefile,v 1.14 1999/08/28 01:20:59 peter Exp $
#

CFLAGS+= -I${.CURDIR}/../include

.if exists(${.OBJDIR}/../parse)
LIBPARSE= ${.OBJDIR}/../parse/libparse.a
.else
LIBPARSE= ${.CURDIR}/../parse/libparse.a
.endif

DPADD=	${LIBNTP} ${LIBPARSE} ${LIBKVM}
LDADD=	${LIBNTP} ${LIBPARSE} -lkvm

PROG= xntpd
MAN8= ${.CURDIR}/../doc/xntpd.8
CLEANFILES+= .version version.c

SRCS=	ntp_config.c ntp_control.c ntp_io.c ntp_leap.c \
	ntp_loopfilter.c ntp_monitor.c ntp_peer.c ntp_proto.c \
	ntp_refclock.c ntp_request.c ntp_restrict.c ntp_timer.c \
	ntp_unixclock.c ntp_util.c ntpd.c ntp_intres.c \
	ntp_filegen.c version.c

# refclocks
SRCS+=	refclock_acts.c refclock_as2201.c refclock_atom.c refclock_chu.c \
	refclock_conf.c refclock_datum.c refclock_goes.c refclock_gpstm.c \
	refclock_heath.c refclock_leitch.c refclock_local.c refclock_moto.c \
	refclock_msfees.c refclock_mx4200.c refclock_nmea.c refclock_omega.c \
	refclock_parse.c refclock_pst.c refclock_trak.c refclock_wwvb.c

version.c: ${.CURDIR}/../VERSION
	sh -e ${.CURDIR}/../scripts/mkversion xntpd

.include <bsd.prog.mk>
@


1.14
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.13
log
@Don't use the beforedepend target.  It was a no-op here except for
helping bsd.dep.mk break `make -jN depend'.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.12 1998/03/07 09:46:15 bde Exp $
@


1.13.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.12
log
@Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.11 1997/02/22 16:14:39 peter Exp $
a31 2

beforedepend: version.c
@


1.11
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
# $Id$
a6 8
.if exists(${.OBJDIR}/../lib)
LDADD+= -L${.OBJDIR}/../lib
DPADD+= ${.OBJDIR}/../lib/libntp.a
.else
LDADD+= -L${.CURDIR}/../lib
DPADD+= ${.CURDIR}/../lib/libntp.a
.endif

d8 1
a8 2
LDADD+= -L${.OBJDIR}/../parse
DPADD+= ${.OBJDIR}/../parse/libparse.a
d10 1
a10 2
LDADD+= -L${.CURDIR}/../parse
DPADD+= ${.CURDIR}/../parse/libparse.a
d13 2
a14 2
LDADD+= -lntp -lparse -lkvm
DPADD+= ${LIBKVM}
@


1.10
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.9
log
@Fixed DPADD.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1996/06/24 04:26:19 jkh Exp $
@


1.9.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.8
log
@Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.7 1994/10/03 23:51:32 phk Exp $
d24 1
@


1.7
log
@Same as last one, use "sh -e" for these to make them catch pathological
conditions.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.6 1994/09/30 00:34:17 wollman Exp $
d7 3
a9 3
.if exists(${.CURDIR}/../lib/obj)
LDADD+= -L${.CURDIR}/../lib/obj
DPADD+= ${.CURDIR}/../lib/obj/libntp.a
d15 3
a17 3
.if exists(${.CURDIR}/../parse/obj)
LDADD+= -L${.CURDIR}/../parse/obj
DPADD+= ${.CURDIR}/../parse/obj/libparse.a
@


1.7.6.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.6
log
@Make it compile under 2.0.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1994/04/03 20:37:26 wollman Exp $
d45 1
a45 1
	${.CURDIR}/../scripts/mkversion xntpd
@


1.5
log
@Upgraded to Delaware version 3.3p (yes, that's right, they're not increasing).
This version still doesn't talk to the kernel PLL code, but you should be
able to convince it to do so relatively easily.  Also deleted some junk
files and fixed all compilation warnings.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.4 1994/02/03 23:23:17 wollman Exp $
d23 1
a23 1
LDADD+= -lntp -lparse
d32 1
a32 6
	ntp_unixclock.c ntp_util.c ntpd.c refclock_chu.c \
	refclock_conf.c refclock_local.c refclock_pst.c \
	refclock_wwvb.c refclock_goes.c refclock_mx4200.c \
	refclock_parse.c refclock_as2201.c refclock_omega.c \
	refclock_tpro.c refclock_leitch.c refclock_irig.c \
	refclock_msfees.c refclock_gpstm.c refclock_trak.c ntp_intres.c \
d34 7
@


1.4
log
@Use uname(2) to get OS name and arch.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1993/12/23 10:21:55 rgrimes Exp $
d37 1
a37 1
	refclock_msfees.c refclock_gpstm.c ntp_intres.c \
@


1.3
log
@Put back refclock_omega.c, it was in the sources but some how did not
end up in my copy.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1993/12/22 11:33:47 rgrimes Exp $
d37 2
a38 1
	refclock_msfees.c ntp_intres.c ntp_filegen.c version.c
@


1.2
log
@Needed to change the LDADD+= and DPADD+= depending on if obj directories
are used or not.

Add .verions to the CLEANFILES+= on those Makefiles that create a version.c
file.

Remove reference to nonexistent file ref_omega.c in one Makefile.

Fix copy of authdes.c.expot so that it works with or without obj directories.

No compiles both with and without obj directories.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1 1993/12/21 21:06:54 wollman Exp $
d35 1
a35 1
	refclock_parse.c refclock_as2201.c \
@


1.1
log
@Deleted old configuration grot and added BSD-style Makefile.  Added
README.FreeBSD.  Re-added NTP's version of getopt() and fixed conflicts.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1 1993/12/21 20:16:18 wollman Exp $
a5 2
LDADD+= -L${.CURDIR}/../lib -lntp -L${.CURDIR}/../parse -lparse
DPADD+= ${.CURDIR}/../lib/libntp.a ${.CURDIR}/../parse/libparse.a
d7 18
d27 1
a27 1
CLEANFILES+= version.c
d35 1
a35 1
	refclock_parse.c refclock_as2201.c refclock_omega.c \
@
