1132459Sroberto# $FreeBSD$ 2132459Sroberto 3290000Sglebius.include <bsd.own.mk> 4132459Sroberto 5290000Sglebius.PATH: ${.CURDIR}/../../../contrib/ntp/sntp 6290000Sglebius 7132459SrobertoPROG= sntp 8290000SglebiusMK_MAN= no 9290000SglebiusSRCS= crypto.c kod_management.c log.c main.c networking.c \ 10290000Sglebius sntp-opts.c sntp.c utilities.c 11132459Sroberto 12290000SglebiusCFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \ 13290000Sglebius -I${.CURDIR}/../../../contrib/ntp/include \ 14290000Sglebius -I${.CURDIR}/../../../contrib/ntp/lib/isc/include \ 15290000Sglebius -I${.CURDIR}/../../../contrib/ntp/lib/isc/unix/include \ 16290000Sglebius -I${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads/include \ 17290000Sglebius -I${.CURDIR}/../../../contrib/ntp/sntp \ 18290000Sglebius -I${.CURDIR}/../../../contrib/ntp/sntp/libopts \ 19290000Sglebius -I${.CURDIR}/../../../contrib/ntp/sntp/libevent/include \ 20290000Sglebius -I${.CURDIR}/../libntpevent \ 21290000Sglebius -I${.CURDIR}/../ 22132459Sroberto 23290000SglebiusDPADD= ${LIBM} ${LIBOPTS} ${LIBNTP} ${LIBNTPEVENT} ${LIBPTHREAD} 24290000SglebiusLDADD= -lm ${LIBOPTS} ${LIBNTP} ${LIBNTPEVENT} -lpthread 25132459Sroberto 26290000Sglebius.if ${MK_OPENSSL} != "no" 27290000SglebiusDPADD+= ${LIBCRYPTO} 28290000SglebiusLDADD+= -lcrypto 29290000Sglebius.else 30290000SglebiusDPADD+= ${LIBMD} 31290000SglebiusLDADD+= -lmd 32290000Sglebius.endif 33290000Sglebius 34132459Sroberto.include <bsd.prog.mk> 35