12b15cb3dSCy Schubert.include <src.opts.mk> 22b15cb3dSCy Schubert 3af6a5351SEnji Cooper.PATH: ${SRCTOP}/contrib/ntp/sntp 4c9832307SOllivier Robert 52f9966ffSLexi WinterPACKAGE=ntp 6c9832307SOllivier RobertPROG= sntp 754773723SBrooks DavisMAN= 82b15cb3dSCy SchubertSRCS= crypto.c kod_management.c log.c main.c networking.c \ 92b15cb3dSCy Schubert sntp-opts.c sntp.c utilities.c 10c9832307SOllivier Robert 11af6a5351SEnji CooperCFLAGS+= -I${SRCTOP}/contrib/ntp/include \ 12af6a5351SEnji Cooper -I${SRCTOP}/contrib/ntp/include \ 13a466cc55SCy Schubert -I${SRCTOP}/contrib/ntp/libntp/lib/isc/include \ 14a466cc55SCy Schubert -I${SRCTOP}/contrib/ntp/libntp/lib/isc/unix/include \ 15a466cc55SCy Schubert -I${SRCTOP}/contrib/ntp/libntp/lib/isc/pthreads/include \ 16af6a5351SEnji Cooper -I${SRCTOP}/contrib/ntp/sntp \ 17af6a5351SEnji Cooper -I${SRCTOP}/contrib/ntp/sntp/libopts \ 18af6a5351SEnji Cooper -I${SRCTOP}/contrib/ntp/sntp/libevent/include \ 19af6a5351SEnji Cooper -I${.CURDIR:H}/libntpevent \ 20af6a5351SEnji Cooper -I${.CURDIR:H} 21c9832307SOllivier Robert 22*f5f40dd6SCy SchubertLIBADD= m opts md ntp ntpevent pthread 232b15cb3dSCy Schubert 242b15cb3dSCy Schubert.if ${MK_OPENSSL} != "no" 25ef0cb5dbSBaptiste DaroussinLIBADD+= crypto 262b15cb3dSCy Schubert.endif 27c9832307SOllivier Robert 28c9832307SOllivier Robert.include <bsd.prog.mk> 29