# $MidnightBSD: stable/0.8/usr.sbin/ntpd/Makefile 6516 2013-12-20 23:33:19Z laffer1 $

NTPD_DIR=${.CURDIR}/../../contrib/openntpd
SYSCONFDIR=/etc

PROG=	ntpd

WARNS?=	2

.PATH: ${NTPD_DIR}
SRCS=   ntpd.c buffer.c log.c imsg.c ntp.c ntp_msg.c parse.y config.c \
        server.c client.c util.c adjfreq.c arc4random.c

DPADD= ${LIBMD}
LDADD= -lmd

MAN=	ntpd.8 ntpd.conf.5
CFLAGS+=-I${NTPD_DIR} -DSYSCONFDIR=\"${SYSCONFDIR}\"

.include <bsd.prog.mk>

