mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 02:20:51 +01:00
e9ac41698b
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
24 lines
708 B
Makefile
24 lines
708 B
Makefile
BLOCKLIST_DIR=${SRCTOP}/contrib/blocklist
|
|
.PATH: ${BLOCKLIST_DIR}/bin ${BLOCKLIST_DIR}/port
|
|
|
|
PACKAGE= blocklist
|
|
|
|
CONFS= blacklistd.conf
|
|
PROG= blacklistd
|
|
SRCS= blacklistd.c conf.c run.c state.c support.c internal.c \
|
|
sockaddr_snprintf.c pidfile.c strtoi.c popenve.c
|
|
MAN= blacklistd.8 blacklistd.conf.5
|
|
|
|
LDFLAGS+=-L${LIBBLACKLISTDIR}
|
|
LIBADD+= blacklist util
|
|
|
|
CFLAGS+=-I${BLOCKLIST_DIR}/include -I${BLOCKLIST_DIR}/port \
|
|
-D_PATH_BLCONTROL=\"/usr/libexec/blacklistd-helper\" \
|
|
-DHAVE_CONFIG_H -DHAVE_DB_H -DHAVE_LIBUTIL_H \
|
|
-DHAVE_CLOCK_GETTIME -DHAVE_FGETLN -DHAVE_FPARSELN \
|
|
-DHAVE_GETPROGNAME -DHAVE_STRLCAT -DHAVE_STRLCPY \
|
|
-DHAVE_STRUCT_SOCKADDR_SA_LEN
|
|
# CFLAGS+= -D_REENTRANT
|
|
|
|
.include <bsd.prog.mk>
|