# $NetBSD: Makefile,v 1.6.34.1 2020/10/12 10:17:33 martin Exp $ USE_FORT?= yes # network client/server .include PROG= sntp MAN= sntp.1 SRCS= \ crypto.c \ kod_management.c \ log.c \ main.c \ networking.c \ sntp-opts.c \ sntp.c \ utilities.c BINDIR= /usr/sbin .include "${.CURDIR}/../Makefile.inc" DIST=${IDIST}/sntp CPPFLAGS+=-I${DIST} -I${DIST}/libopts .PATH: ${DIST} .include CPPFLAGS+= -DLOCKNAME=\"/var/run/sntp.pid\" CPPFLAGS+= -DSAVENAME=\"/var/db/sntp.state\" LDADD+= -L${LIBISC} -liscntp -levent -lm DPADD+= ${LIBM} ${LIBEVENT} CLEANFILES+=${MAN} .include