25 lines
434 B
Makefile
25 lines
434 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../include
|
|
CFLAGS+= -DNTP_POSIX_SOURCE -DUSE_PROTOTYPES
|
|
CFLAGS+= -DSYS_FREEBSD -DBOEDER -DHAVE_TERMIOS -DHAVE_BSD_NICE
|
|
|
|
.if exists(${.OBJDIR}/../../lib)
|
|
LDADD+= -L${.OBJDIR}/../../lib
|
|
DPADD+= -L${.OBJDIR}/../../lib/libntp.a
|
|
.else
|
|
LDADD+= -L${.CURDIR}/../../lib
|
|
DPADD+= -L${.CURDIR}/../../lib/libntp.a
|
|
.endif
|
|
|
|
LDADD+= -lntp
|
|
BINDIR= /usr/sbin
|
|
PROG= dcfd
|
|
|
|
SRCS= dcfd.c
|
|
NOMAN=
|
|
|
|
.include <bsd.prog.mk>
|