Changeset View
Changeset View
Standalone View
Standalone View
lib/libblacklist/Makefile
- This file was added.
# $FreeBSD$ | |||||
BLACKLIST_DIR=${SRCTOP}/contrib/blacklist | |||||
sjg: FWIW ${.CURDIR:H:H} results in much neater paths than
${.CURDIR}/../.. | |||||
.PATH: ${BLACKLIST_DIR}/lib ${BLACKLIST_DIR}/include | |||||
LIB= blacklist | |||||
SHLIB_MAJOR= 0 | |||||
LIBADD+= pthread | |||||
Done Inline ActionsI do not think it is necessary to add it to /lib instead of the regular /usr/lib given there is "nothing vital about this lib" bapt: I do not think it is necessary to add it to /lib instead of the regular /usr/lib given there is… | |||||
Not Done Inline ActionsDo we have daemons in /bin or /sbin that might (later on) depend on blacklistd, and could start before /usr is mounted? emaste: Do we have daemons in /bin or /sbin that might (later on) depend on blacklistd, and could start… | |||||
Not Done Inline ActionsOK, I'll move it to /usr/lib. I was thinking that sshd did not have a requirement for /usr/lib, but checking shows that it does require /usr/lib. lidl: OK, I'll move it to /usr/lib. I was thinking that sshd did not have a requirement for /usr/lib… | |||||
Not Done Inline ActionsNote that since sshd itself is in /usr/sbin /usr must be mounted for it to start anyhow :-) emaste: Note that since sshd itself is in /usr/sbin /usr must be mounted for it to start anyhow :-) | |||||
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> |
FWIW ${.CURDIR:H:H} results in much neater paths than
${.CURDIR}/../..