1# $NetBSD: Makefile,v 1.5 2019/02/04 04:05:16 mrg Exp $ 2 3USE_SHLIBDIR=yes 4.include <bsd.own.mk> 5 6LIB=event 7 8SRCS= \ 9buffer.c \ 10bufferevent.c \ 11bufferevent_filter.c \ 12bufferevent_pair.c \ 13bufferevent_ratelim.c \ 14bufferevent_sock.c \ 15evdns.c \ 16event.c \ 17event_tagging.c \ 18evmap.c \ 19evrpc.c \ 20evthread.c \ 21evutil.c \ 22evutil_rand.c \ 23evutil_time.c \ 24http.c \ 25kqueue.c \ 26listener.c \ 27log.c \ 28poll.c \ 29select.c \ 30signal.c 31 32.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc" 33COPTS.bufferevent_filter.c += -Wno-error=implicit-fallthrough 34COPTS.evdns.c += -Wno-error=implicit-fallthrough 35COPTS.event.c += -Wno-error=implicit-fallthrough 36.endif 37 38.include <bsd.lib.mk> 39