Makefile revision 298770
1135446Strhodes# $FreeBSD: releng/9.3/usr.sbin/ntp/libntp/Makefile 298770 2016-04-29 08:02:31Z delphij $ 2193149Sdougb 3135446Strhodes.PATH: ${.CURDIR}/../../../contrib/ntp/libntp \ 4135446Strhodes ${.CURDIR}/../../../contrib/ntp/lib/isc \ 5193149Sdougb ${.CURDIR}/../../../contrib/ntp/lib/isc/nls \ 6135446Strhodes ${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads \ 7135446Strhodes ${.CURDIR}/../../../contrib/ntp/lib/isc/unix \ 8135446Strhodes 9135446StrhodesLIB= ntp 10135446StrhodesINTERNALLIB= 11135446Strhodes 12135446StrhodesNTP_SRCS= systime.c a_md5encrypt.c adjtime.c atoint.c \ 13135446Strhodes atolfp.c atouint.c audio.c authkeys.c \ 14135446Strhodes authreadkeys.c authusekey.c bsd_strerror.c buftvtots.c \ 15135446Strhodes caljulian.c caltontp.c calyearstart.c clocktime.c \ 16135446Strhodes clocktypes.c decodenetnum.c dofptoa.c dolfptoa.c \ 17135446Strhodes emalloc.c findconfig.c getopt.c hextoint.c \ 18234010Sdougb hextolfp.c humandate.c icom.c iosignal.c \ 19135446Strhodes is_ip_address.c \ 20135446Strhodes lib_strbuf.c machines.c mktime.c modetoa.c \ 21135446Strhodes mstolfp.c msyslog.c netof.c ntp_calendar.c \ 22135446Strhodes ntp_crypto_rnd.c ntp_intres.c ntp_libopts.c \ 23135446Strhodes ntp_lineedit.c ntp_random.c ntp_rfc2553.c ntp_worker.c \ 24135446Strhodes numtoa.c numtohost.c octtoint.c prettydate.c \ 25135446Strhodes recvbuff.c refidsmear.c \ 26135446Strhodes refnumtoa.c snprintf.c socket.c \ 27193149Sdougb socktoa.c socktohost.c ssl_init.c statestr.c \ 28170222Sdougb strdup.c strl_obsd.c syssignal.c timetoa.c \ 29135446Strhodes timevalops.c uglydate.c vint64ops.c work_fork.c \ 30135446Strhodes work_thread.c ymd2yd.c 31135446Strhodes 32135446StrhodesISC_PTHREADS_SRCS= condition.c \ 33135446Strhodes thread.c \ 34135446Strhodes mutex.c 35135446Strhodes 36135446StrhodesISC_UNIX_SRCS= dir.c \ 37135446Strhodes errno2result.c \ 38135446Strhodes file.c \ 39135446Strhodes interfaceiter.c \ 40135446Strhodes net.c \ 41135446Strhodes stdio.c \ 42135446Strhodes stdtime.c \ 43135446Strhodes strerror.c \ 44135446Strhodes time.c \ 45135446Strhodes tsmemcmp.c 46135446Strhodes 47135446StrhodesISC_NLS_SRCS= msgcat.c 48135446Strhodes 49170222SdougbISC_SRCS= assertions.c \ 50135446Strhodes buffer.c \ 51135446Strhodes backtrace-emptytbl.c \ 52135446Strhodes backtrace.c \ 53135446Strhodes error.c \ 54135446Strhodes event.c \ 55170222Sdougb inet_ntop.c \ 56193149Sdougb inet_pton.c \ 57135446Strhodes lib.c \ 58135446Strhodes log.c \ 59135446Strhodes md5.c \ 60135446Strhodes netaddr.c \ 61135446Strhodes netscope.c \ 62135446Strhodes ondestroy.c \ 63135446Strhodes random.c \ 64135446Strhodes result.c \ 65170222Sdougb task.c \ 66135446Strhodes sha1.c \ 67135446Strhodes sockaddr.c \ 68135446Strhodes ${ISC_NLS_SRCS} \ 69135446Strhodes ${ISC_PTHREADS_SRCS} \ 70135446Strhodes ${ISC_UNIX_SRCS} 71135446Strhodes 72135446StrhodesSRCS= ${NTP_SRCS} ${ISC_SRCS} version.c 73170222Sdougb 74193149SdougbCFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \ 75170222Sdougb -I${.CURDIR}/../../../contrib/ntp/lib/isc/include \ 76170222Sdougb -I${.CURDIR}/../../../contrib/ntp/lib/isc/unix/include \ 77135446Strhodes -I${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads/include \ 78135446Strhodes -I${.CURDIR}/../../../contrib/ntp/sntp/libopts \ 79135446Strhodes -I${.CURDIR}/../../../lib/libc/${MACHINE_ARCH} \ 80135446Strhodes -I${.CURDIR}/../../../lib/libedit/edit \ 81135446Strhodes -I${.CURDIR}/../ \ 82135446Strhodes -I${.CURDIR}/ 83135446Strhodes 84135446StrhodesCFLAGS+= -DHAVE_BSD_NICE -DHAVE_STDINT_H 85170222Sdougb 86135446StrhodesCLEANFILES+= .version version.c 87135446Strhodes 88170222Sdougbversion.c: 89170222Sdougb sh -e ${.CURDIR}/../scripts/mkver ntpd 90135446Strhodes 91135446Strhodes.include <bsd.lib.mk> 92135446Strhodes