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