freebsd-dev/usr.sbin/ntp/ntpdate/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

20 lines
366 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdate
PROG= ntpdate
NO_MAN=
SRCS= ntpdate.c version.c
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
DPADD= ${LIBNTP} ${LIBM} ${LIBMD} ${LIBRT}
LDADD= ${LIBNTP} -lm -lmd -lrt
CLEANFILES+= .version version.c
version.c:
sh -e ${.CURDIR}/../scripts/mkver ntpdate
.include <bsd.prog.mk>