mirror of
https://github.com/opnsense/src.git
synced 2026-03-02 05:13:58 -05:00
Unbloat a bit FreeBSD-utilities. The only package that will depends on this new one is FreeBSD-ssh which not anyone have in some setup. And this will allow to have small pkgbase setup with ssh without having to bring the bloated FreeBSD-utilities package Name the package blocklist to reflect upstream futur changes. Sponsored by: Beckhoff Automation GmbH & Co. KG Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D42148 (cherry picked from commit 0983e80a9addbd65603a430e186d2a50b4e15e29)
30 lines
745 B
Makefile
30 lines
745 B
Makefile
|
|
BLACKLIST_DIR=${SRCTOP}/contrib/blacklist
|
|
|
|
.PATH: ${BLACKLIST_DIR}/lib ${BLACKLIST_DIR}/include
|
|
|
|
PACKAGE= blocklist
|
|
LIB= blacklist
|
|
SHLIB_MAJOR= 0
|
|
|
|
LIBADD+= pthread
|
|
|
|
CFLAGS.clang+=-Wno-thread-safety-analysis
|
|
|
|
CFLAGS+=-I${BLACKLIST_DIR}/include -I${BLACKLIST_DIR}/port \
|
|
-D_REENTRANT -DHAVE_CONFIG_H -DHAVE_DB_H -DHAVE_LIBUTIL_H \
|
|
-DHAVE_CLOCK_GETTIME -DHAVE_FGETLN -DHAVE_GETPROGNAME \
|
|
-DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRUCT_SOCKADDR_SA_LEN
|
|
|
|
SRCS= bl.c blacklist.c
|
|
INCS= blacklist.h
|
|
MAN= libblacklist.3
|
|
|
|
MLINKS= libblacklist.3 blacklist_open.3 \
|
|
libblacklist.3 blacklist_close.3 \
|
|
libblacklist.3 blacklist.3 \
|
|
libblacklist.3 blacklist_r.3 \
|
|
libblacklist.3 blacklist_sa.3 \
|
|
libblacklist.3 blacklist_sa_r.3
|
|
|
|
.include <bsd.lib.mk>
|