1af6a5351SEnji Cooper.PATH: ${SRCTOP}/contrib/ntp/libntp \ 2a466cc55SCy Schubert ${SRCTOP}/contrib/ntp/libntp/lib/isc \ 3a466cc55SCy Schubert ${SRCTOP}/contrib/ntp/libntp/lib/isc/nls \ 4a466cc55SCy Schubert ${SRCTOP}/contrib/ntp/libntp/lib/isc/pthreads \ 5a466cc55SCy Schubert ${SRCTOP}/contrib/ntp/libntp/lib/isc/unix \ 6cc559270SOllivier Robert 72f9966ffSLexi WinterPACKAGE= ntp 890e655eaSDavid E. O'BrienLIB= ntp 9a35d8893SRuslan ErmilovINTERNALLIB= 1090e655eaSDavid E. O'Brien 112b15cb3dSCy SchubertNTP_SRCS= systime.c a_md5encrypt.c adjtime.c atoint.c \ 122b15cb3dSCy Schubert atolfp.c atouint.c audio.c authkeys.c \ 132b15cb3dSCy Schubert authreadkeys.c authusekey.c bsd_strerror.c buftvtots.c \ 142b15cb3dSCy Schubert caljulian.c caltontp.c calyearstart.c clocktime.c \ 152b15cb3dSCy Schubert clocktypes.c decodenetnum.c dofptoa.c dolfptoa.c \ 162b15cb3dSCy Schubert emalloc.c findconfig.c getopt.c hextoint.c \ 172b15cb3dSCy Schubert hextolfp.c humandate.c icom.c iosignal.c \ 1868ba7e87SXin LI is_ip_address.c \ 19f391d6bcSXin LI lib_strbuf.c \ 20f391d6bcSXin LI libssl_compat.c \ 21f391d6bcSXin LI machines.c mktime.c modetoa.c \ 222b15cb3dSCy Schubert mstolfp.c msyslog.c netof.c ntp_calendar.c \ 232d4e511cSCy Schubert ntp_calgps.c \ 242b15cb3dSCy Schubert ntp_crypto_rnd.c ntp_intres.c ntp_libopts.c \ 25a466cc55SCy Schubert ntp_lineedit.c ntp_random.c ntp_rfc2553.c ntp_realpath.c \ 26a466cc55SCy Schubert ntp_worker.c \ 27*f5f40dd6SCy Schubert numtoa.c octtoint.c prettydate.c \ 28276da39aSCy Schubert recvbuff.c refidsmear.c \ 29276da39aSCy Schubert refnumtoa.c snprintf.c socket.c \ 302b15cb3dSCy Schubert socktoa.c socktohost.c ssl_init.c statestr.c \ 312d4e511cSCy Schubert strdup.c strl_obsd.c syssignal.c timespecops.c \ 322d4e511cSCy Schubert timetoa.c \ 332d4e511cSCy Schubert timevalops.c timexsup.c \ 342d4e511cSCy Schubert uglydate.c vint64ops.c work_fork.c \ 35052d159aSCy Schubert work_thread.c xsbprintf.c ymd2yd.c 366cb84f0cSOllivier Robert 372b15cb3dSCy SchubertISC_PTHREADS_SRCS= condition.c \ 382b15cb3dSCy Schubert thread.c \ 392b15cb3dSCy Schubert mutex.c 406cb84f0cSOllivier Robert 412b15cb3dSCy SchubertISC_UNIX_SRCS= dir.c \ 422b15cb3dSCy Schubert errno2result.c \ 432b15cb3dSCy Schubert file.c \ 442b15cb3dSCy Schubert interfaceiter.c \ 452b15cb3dSCy Schubert net.c \ 462b15cb3dSCy Schubert stdio.c \ 472b15cb3dSCy Schubert stdtime.c \ 482b15cb3dSCy Schubert strerror.c \ 494990d495SXin LI time.c \ 504990d495SXin LI tsmemcmp.c 51cc559270SOllivier Robert 522b15cb3dSCy SchubertISC_NLS_SRCS= msgcat.c 532b15cb3dSCy Schubert 542b15cb3dSCy SchubertISC_SRCS= assertions.c \ 552b15cb3dSCy Schubert buffer.c \ 562b15cb3dSCy Schubert backtrace-emptytbl.c \ 572b15cb3dSCy Schubert backtrace.c \ 582b15cb3dSCy Schubert error.c \ 592b15cb3dSCy Schubert event.c \ 602b15cb3dSCy Schubert inet_ntop.c \ 612b15cb3dSCy Schubert inet_pton.c \ 622b15cb3dSCy Schubert lib.c \ 632b15cb3dSCy Schubert log.c \ 642b15cb3dSCy Schubert md5.c \ 652b15cb3dSCy Schubert netaddr.c \ 662b15cb3dSCy Schubert netscope.c \ 672b15cb3dSCy Schubert ondestroy.c \ 682b15cb3dSCy Schubert random.c \ 692b15cb3dSCy Schubert result.c \ 702b15cb3dSCy Schubert task.c \ 712b15cb3dSCy Schubert sha1.c \ 722b15cb3dSCy Schubert sockaddr.c \ 732b15cb3dSCy Schubert ${ISC_NLS_SRCS} \ 742b15cb3dSCy Schubert ${ISC_PTHREADS_SRCS} \ 752b15cb3dSCy Schubert ${ISC_UNIX_SRCS} 762b15cb3dSCy Schubert 772b15cb3dSCy SchubertSRCS= ${NTP_SRCS} ${ISC_SRCS} version.c 782b15cb3dSCy Schubert 79982a915fSEnji CooperCFLAGS+= -I${SRCTOP}/contrib/ntp/include \ 80a466cc55SCy Schubert -I${SRCTOP}/contrib/ntp/libntp/lib/isc/include \ 81a466cc55SCy Schubert -I${SRCTOP}/contrib/ntp/libntp/lib/isc/unix/include \ 82a466cc55SCy Schubert -I${SRCTOP}/contrib/ntp/libntp/lib/isc/pthreads/include \ 83982a915fSEnji Cooper -I${SRCTOP}/contrib/ntp/sntp/libopts \ 84982a915fSEnji Cooper -I${SRCTOP}/lib/libc/${MACHINE_ARCH} \ 85469ce693SBaptiste Daroussin -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/edit \ 86982a915fSEnji Cooper -I${.CURDIR:H} \ 872b15cb3dSCy Schubert -I${.CURDIR}/ 882b15cb3dSCy Schubert 891e8687d2SCy SchubertCFLAGS+= -DHAVE_BSD_NICE -DHAVE_STDINT_H -DHAVE_CLOSEFROM 902b15cb3dSCy Schubert 912b15cb3dSCy SchubertCLEANFILES+= .version version.c 922b15cb3dSCy Schubert 932b15cb3dSCy Schubertversion.c: 94982a915fSEnji Cooper sh -e ${.CURDIR:H}/scripts/mkver ntpd 954c49e2a2SOllivier Robert 96cc559270SOllivier Robert.include <bsd.lib.mk> 97