1 2BLACKLIST_DIR=${SRCTOP}/contrib/blacklist 3.PATH: ${BLACKLIST_DIR}/bin ${BLACKLIST_DIR}/port 4 5CONFS= blacklistd.conf 6PROG= blacklistd 7SRCS= blacklistd.c conf.c run.c state.c support.c internal.c \ 8 sockaddr_snprintf.c pidfile.c strtoi.c popenve.c 9MAN= blacklistd.8 blacklistd.conf.5 10 11LDFLAGS+=-L${LIBBLACKLISTDIR} 12LIBADD+= blacklist util 13 14CFLAGS+=-I${BLACKLIST_DIR}/include -I${BLACKLIST_DIR}/port \ 15 -D_PATH_BLCONTROL=\"/usr/libexec/blacklistd-helper\" \ 16 -DHAVE_CONFIG_H -DHAVE_DB_H -DHAVE_LIBUTIL_H \ 17 -DHAVE_CLOCK_GETTIME -DHAVE_FGETLN -DHAVE_FPARSELN \ 18 -DHAVE_GETPROGNAME -DHAVE_STRLCAT -DHAVE_STRLCPY \ 19 -DHAVE_STRUCT_SOCKADDR_SA_LEN 20# CFLAGS+= -D_REENTRANT 21 22.include <bsd.prog.mk> 23