xref: /freebsd/lib/libblacklist/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1*5f4c09ddSEd MasteBLOCKLIST_DIR=${SRCTOP}/contrib/blocklist
295856e14SKurt Lidl
3*5f4c09ddSEd Maste.PATH: ${BLOCKLIST_DIR}/lib ${BLOCKLIST_DIR}/include
495856e14SKurt Lidl
50983e80aSEmmanuel VadotPACKAGE=	blocklist
695856e14SKurt LidlLIB=	blacklist
795856e14SKurt LidlSHLIB_MAJOR= 0
895856e14SKurt Lidl
995856e14SKurt LidlLIBADD+= pthread
1095856e14SKurt Lidl
1195856e14SKurt LidlCFLAGS.clang+=-Wno-thread-safety-analysis
1295856e14SKurt Lidl
13*5f4c09ddSEd MasteCFLAGS+=-I${BLOCKLIST_DIR}/include -I${BLOCKLIST_DIR}/port \
1495856e14SKurt Lidl	-D_REENTRANT -DHAVE_CONFIG_H -DHAVE_DB_H -DHAVE_LIBUTIL_H \
1595856e14SKurt Lidl	-DHAVE_CLOCK_GETTIME -DHAVE_FGETLN -DHAVE_GETPROGNAME \
1695856e14SKurt Lidl	-DHAVE_STRLCAT -DHAVE_STRLCPY -DHAVE_STRUCT_SOCKADDR_SA_LEN
1795856e14SKurt Lidl
1895856e14SKurt LidlSRCS=	bl.c blacklist.c
1995856e14SKurt LidlINCS=	blacklist.h
2095856e14SKurt LidlMAN=	libblacklist.3
2195856e14SKurt Lidl
2295856e14SKurt LidlMLINKS=	libblacklist.3 blacklist_open.3		\
2395856e14SKurt Lidl	libblacklist.3 blacklist_close.3	\
2495856e14SKurt Lidl	libblacklist.3 blacklist.3		\
2595856e14SKurt Lidl	libblacklist.3 blacklist_r.3		\
2695856e14SKurt Lidl	libblacklist.3 blacklist_sa.3		\
2795856e14SKurt Lidl	libblacklist.3 blacklist_sa_r.3
2895856e14SKurt Lidl
2995856e14SKurt Lidl.include <bsd.lib.mk>
30