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