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