mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 14:54:21 -04:00
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
33 lines
509 B
Makefile
33 lines
509 B
Makefile
SHLIBDIR?= /lib
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= runtime
|
|
|
|
SHLIB_MAJOR= 1
|
|
INCSDIR?= ${INCLUDEDIR}/casper
|
|
|
|
.if ${MK_CASPER} != "no"
|
|
SHLIB= cap_netdb
|
|
|
|
SRCS= cap_netdb.c
|
|
.endif
|
|
|
|
INCS= cap_netdb.h
|
|
|
|
LIBADD= nv
|
|
|
|
CFLAGS+=-I${.CURDIR}
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
MAN+= cap_netdb.3
|
|
|
|
MLINKS+=cap_netdb.3 libcap_netdb.3
|
|
MLINKS+=cap_netdb.3 cap_getprotobyname.3
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
# GCC 13 complains incorrectly about free after failed realloc: GCC bug #110501
|
|
CFLAGS.cap_netdb.c+= ${NO_WUSE_AFTER_FREE}
|