1# $FreeBSD$ 2 3BLACKLIST_DIR=${SRCTOP}/contrib/blacklist 4.PATH: ${BLACKLIST_DIR}/bin ${BLACKLIST_DIR}/port 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${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