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