2003-12-05 14:34:58 +03:00
|
|
|
# $NetBSD: Makefile,v 1.2 2003/12/05 11:34:58 drochner Exp $
|
2003-12-04 21:14:59 +03:00
|
|
|
|
|
|
|
PROG= sntp
|
|
|
|
SRCS= internet.c main.c socket.c timing.c unix.c
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
DIST= ${NETBSDSRCDIR}/dist/ntp
|
|
|
|
|
2003-12-05 14:34:58 +03:00
|
|
|
CPPFLAGS+= -DLOCKNAME=\"/var/run/sntp.pid\"
|
|
|
|
CPPFLAGS+= -DSAVENAME=\"/var/db/sntp.state\"
|
2003-12-04 21:14:59 +03:00
|
|
|
LDADD+= -lm
|
|
|
|
DPADD+= ${LIBM}
|
|
|
|
|
|
|
|
.PATH: ${DIST}/sntp
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|