1# $FreeBSD$ 2 3BLACKLIST_DIR=${SRCTOP}/contrib/blacklist 4 5.PATH: ${BLACKLIST_DIR}/lib ${BLACKLIST_DIR}/include 6 7LIB= blacklist 8SHLIB_MAJOR= 0 9 10LIBADD+= pthread 11 12CFLAGS.clang+=-Wno-thread-safety-analysis 13 14CFLAGS+=-I${BLACKLIST_DIR}/include -I${BLACKLIST_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