1# $OpenBSD: Makefile,v 1.9 2022/08/29 17:00:30 deraadt Exp $ 2 3PROG= unwind 4SRCS= control.c resolver.c frontend.c log.c unwind.c parse.y printconf.c 5SRCS+= dns64_synth.c 6MAN= unwind.8 unwind.conf.5 7 8.include "${.CURDIR}/libunbound/Makefile.inc" 9 10#DEBUG= -g -DDEBUG=3 -O0 11CFLAGS+= -Wall -I${.CURDIR} -I ${.CURDIR}/libunbound/libunbound 12CFLAGS+= -I ${.CURDIR}/libunbound 13CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes 14CFLAGS+= -Wmissing-declarations 15CFLAGS+= -Wshadow -Wpointer-arith 16CFLAGS+= -Wsign-compare 17YFLAGS= 18LDADD+= -levent -lutil -lssl -lcrypto 19DPADD+= ${LIBEVENT} ${LIBUTIL} ${LIBSSL} ${LIBCRYPTO} 20 21.include <bsd.prog.mk> 22 23# Don't compile unwind as static binary by default 24LDSTATIC= 25