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