head	1.3;
access;
symbols
	MOVED_NEWCVS:1.2
	FINAL_1_1_5:1.2
	ALPHA_1_1_5:1.2
	FINAL_1_1:1.2
	GAMMA_1_1:1.2
	BETA_1_1:1.2.0.2
	BP_BETA_1_1:1.2;
locks; strict;
comment	@# @;


1.3
date	95.12.30.19.02.46;	author peter;	state dead;
branches;
next	1.2;

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

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


desc
@@


1.3
log
@recording cvs-1.6 file death
@
text
@#
# $Id: Makefile,v 1.2 1993/12/22 11:34:09 rgrimes Exp peter $
#

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

.if exists(${.CURDIR}/../lib/obj)
LDADD+= -L${.CURDIR}/../lib/obj
DPADD+= -L${.CURDIR}/../lib/obj/libntp.a
.else
LDADD+= -L${.CURDIR}/../lib
DPADD+= -L${.CURDIR}/../lib/libntp.a
.endif

LDADD+= -lntp

PROG= xntpres
NOMAN=
CLEANFILES+= .version version.c

SRCS= xntpres.c version.c

beforedepend: version.c

version.c: ${.CURDIR}/../VERSION
	${.CURDIR}/../scripts/mkversion xntpres

.include <bsd.prog.mk>
@


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 20:38:27 wollman Exp $
@


1.1
log
@Converted to BSD-style Makefile.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1 1993/12/21 19:50:40 wollman Exp $
d6 6
a11 1
LDADD+= -L${.CURDIR}/../lib -lntp
d13 3
d19 1
a19 1
CLEANFILES+= version.c
@
