1993-12-21 18:36:48 +00:00
|
|
|
#
|
1997-01-14 07:20:47 +00:00
|
|
|
# $FreeBSD$
|
1993-12-21 18:36:48 +00:00
|
|
|
#
|
|
|
|
|
1995-04-04 17:48:02 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../include
|
|
|
|
CFLAGS+= -DNTP_POSIX_SOURCE -DUSE_PROTOTYPES
|
|
|
|
CFLAGS+= -DSYS_FREEBSD -DBOEDER -DHAVE_TERMIOS -DHAVE_BSD_NICE
|
|
|
|
|
1996-06-24 04:26:21 +00:00
|
|
|
.if exists(${.OBJDIR}/../../lib)
|
|
|
|
LDADD+= -L${.OBJDIR}/../../lib
|
|
|
|
DPADD+= -L${.OBJDIR}/../../lib/libntp.a
|
1995-04-04 17:48:02 +00:00
|
|
|
.else
|
|
|
|
LDADD+= -L${.CURDIR}/../../lib
|
|
|
|
DPADD+= -L${.CURDIR}/../../lib/libntp.a
|
|
|
|
.endif
|
1993-12-21 18:36:48 +00:00
|
|
|
|
1995-04-04 17:48:02 +00:00
|
|
|
LDADD+= -lntp
|
|
|
|
BINDIR= /usr/sbin
|
|
|
|
PROG= dcfd
|
1993-12-21 18:36:48 +00:00
|
|
|
|
1995-04-04 17:48:02 +00:00
|
|
|
SRCS= dcfd.c
|
|
|
|
NOMAN=
|
1993-12-21 18:36:48 +00:00
|
|
|
|
1995-04-04 17:48:02 +00:00
|
|
|
.include <bsd.prog.mk>
|