e01fe39f04
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
17 lines
354 B
Makefile
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>
|