12b15cb3dSCy Schubert# $FreeBSD$ 22b15cb3dSCy Schubert 3*539a27e1SEd Maste.PATH: ${SRCTOP}/contrib/libevent 42b15cb3dSCy Schubert 52b15cb3dSCy SchubertLIB= ntpevent 62b15cb3dSCy SchubertINTERNALLIB= 72b15cb3dSCy Schubert 82b15cb3dSCy SchubertSRCS= buffer.c bufferevent.c bufferevent_filter.c bufferevent_openssl.c \ 92b15cb3dSCy Schubert bufferevent_pair.c epoll.c evdns.c event.c event_tagging.c \ 102b15cb3dSCy Schubert evmap.c evport.c evrpc.c evthread.c evthread_pthread.c evutil.c \ 112b15cb3dSCy Schubert evutil_rand.c evutil_time.c http.c kqueue.c listener.c log.c poll.c \ 122b15cb3dSCy Schubert select.c signal.c strlcpy.c 132b15cb3dSCy Schubert 142b15cb3dSCy Schubert.if ${MACHINE_ARCH} == "i386" 152b15cb3dSCy SchubertNTP_ATOMIC=x86_32 162b15cb3dSCy Schubert.elif ${MACHINE_ARCH} == "amd64" 172b15cb3dSCy SchubertNTP_ATOMIC=x86_64 182b15cb3dSCy Schubert.elif ${MACHINE_ARCH} == "ia64" 192b15cb3dSCy SchubertNTP_ATOMIC=ia64 202b15cb3dSCy Schubert.elif ${MACHINE_ARCH} == "powerpc64" 212b15cb3dSCy SchubertNTP_ATOMIC=powerpc 222b15cb3dSCy Schubert.elif ${MACHINE_ARCH} == "sparc64" 232b15cb3dSCy SchubertNTP_ATOMIC=sparc64 242b15cb3dSCy Schubert.else 252b15cb3dSCy SchubertNTP_ATOMIC=noatomic 262b15cb3dSCy Schubert.endif 272b15cb3dSCy Schubert 28af6a5351SEnji CooperCFLAGS+= -I${SRCTOP}/contrib/ntp/include \ 29*539a27e1SEd Maste -I${SRCTOP}/contrib/libevent/include \ 302b15cb3dSCy Schubert -I${.CURDIR}/ 312b15cb3dSCy Schubert 322b15cb3dSCy SchubertCFLAGS+= -DHAVE_BSD_NICE -DHAVE_STDINT_H 332b15cb3dSCy Schubert 342b15cb3dSCy Schubert.include <bsd.lib.mk> 35