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