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