freebsd-dev/usr.sbin/ntp/sntp/Makefile
Ollivier Robert 271c3a9060 Update the various files to sync with vendor import of 4.2.4p5.
sntp includes a copy of libopts in itself in vendor code, rewrite the
Makefile to compile and use only one copy.  It is an internal library, not
installed.

MFC after:	2 weeks
2008-08-22 16:00:48 +00:00

17 lines
354 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../../contrib/ntp/sntp
PROG= sntp
NO_MAN=
SRCS= internet.c main.c socket.c timing.c unix.c
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
-DPACKAGE=\"sntp\" -DVERSION=\"1.6\" \
-I${.CURDIR}/../../../contrib/ntp/libopts
DPADD= ${LIBM} ${LIBOPTS}
LDADD= -lm ${LIBOPTS}
.include <bsd.prog.mk>