1BLOCKLIST_DIR=${SRCTOP}/contrib/blocklist 2.PATH: ${BLOCKLIST_DIR}/bin ${BLOCKLIST_DIR}/port 3 4PACKAGE= blocklist 5 6PROG= blacklistctl 7SRCS= blacklistctl.c conf.c state.c support.c internal.c \ 8 sockaddr_snprintf.c pidfile.c strtoi.c popenve.c 9MAN= blacklistctl.8 10 11LDFLAGS+=-L${LIBBLACKLISTDIR} 12LIBADD+= blacklist util 13 14CFLAGS+=-I${BLOCKLIST_DIR}/include -I${BLOCKLIST_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