1BLOCKLIST_DIR=${SRCTOP}/contrib/blocklist 2 3.PATH: ${BLOCKLIST_DIR}/lib ${BLOCKLIST_DIR}/include 4 5PACKAGE= blocklist 6LIB= blacklist 7SHLIB_MAJOR= 0 8 9LIBADD+= pthread 10 11CFLAGS.clang+=-Wno-thread-safety-analysis 12 13CFLAGS+=-I${BLOCKLIST_DIR}/include -I${BLOCKLIST_DIR}/port \ 14 -D_REENTRANT -DHAVE_CONFIG_H -DHAVE_DB_H -DHAVE_LIBUTIL_H \ 15 -DHAVE_CLOCK_GETTIME -DHAVE_FGETLN -DHAVE_GETPROGNAME \ 16 -DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRUCT_SOCKADDR_SA_LEN 17 18SRCS= bl.c blacklist.c 19INCS= blacklist.h 20MAN= libblacklist.3 21 22MLINKS= libblacklist.3 blacklist_open.3 \ 23 libblacklist.3 blacklist_close.3 \ 24 libblacklist.3 blacklist.3 \ 25 libblacklist.3 blacklist_r.3 \ 26 libblacklist.3 blacklist_sa.3 \ 27 libblacklist.3 blacklist_sa_r.3 28 29.include <bsd.lib.mk> 30