1*2b15cb3dSCy Schubert# $FreeBSD$ 2*2b15cb3dSCy Schubert 3*2b15cb3dSCy Schubert.PATH: ${.CURDIR}/../../../contrib/ntp/sntp/libevent 4*2b15cb3dSCy Schubert 5*2b15cb3dSCy SchubertLIB= ntpevent 6*2b15cb3dSCy SchubertINTERNALLIB= 7*2b15cb3dSCy Schubert 8*2b15cb3dSCy SchubertSRCS= buffer.c bufferevent.c bufferevent_filter.c bufferevent_openssl.c \ 9*2b15cb3dSCy Schubert bufferevent_pair.c epoll.c evdns.c event.c event_tagging.c \ 10*2b15cb3dSCy Schubert evmap.c evport.c evrpc.c evthread.c evthread_pthread.c evutil.c \ 11*2b15cb3dSCy Schubert evutil_rand.c evutil_time.c http.c kqueue.c listener.c log.c poll.c \ 12*2b15cb3dSCy Schubert select.c signal.c strlcpy.c 13*2b15cb3dSCy Schubert 14*2b15cb3dSCy Schubert.if ${MACHINE_ARCH} == "i386" 15*2b15cb3dSCy SchubertNTP_ATOMIC=x86_32 16*2b15cb3dSCy Schubert.elif ${MACHINE_ARCH} == "amd64" 17*2b15cb3dSCy SchubertNTP_ATOMIC=x86_64 18*2b15cb3dSCy Schubert.elif ${MACHINE_ARCH} == "ia64" 19*2b15cb3dSCy SchubertNTP_ATOMIC=ia64 20*2b15cb3dSCy Schubert.elif ${MACHINE_ARCH} == "powerpc64" 21*2b15cb3dSCy SchubertNTP_ATOMIC=powerpc 22*2b15cb3dSCy Schubert.elif ${MACHINE_ARCH} == "sparc64" 23*2b15cb3dSCy SchubertNTP_ATOMIC=sparc64 24*2b15cb3dSCy Schubert.else 25*2b15cb3dSCy SchubertNTP_ATOMIC=noatomic 26*2b15cb3dSCy Schubert.endif 27*2b15cb3dSCy Schubert 28*2b15cb3dSCy SchubertCFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \ 29*2b15cb3dSCy Schubert -I${.CURDIR}/../../../contrib/ntp/sntp/libevent/include \ 30*2b15cb3dSCy Schubert -I${.CURDIR}/ 31*2b15cb3dSCy Schubert 32*2b15cb3dSCy SchubertCFLAGS+= -DHAVE_BSD_NICE -DHAVE_STDINT_H 33*2b15cb3dSCy Schubert 34*2b15cb3dSCy Schubert.include <bsd.lib.mk> 35