freebsd-skq/lib/libifconfig/Makefile
emaste 6ff1d0e317 Make libifconfig INTERNALLIB
Instead of PRIVATELIB + NO_PIC.  This avoids the need for the wlandebug
PIE special case added in r344211, and provides a stronger guarantee
against 3rd party software coming to depend on the API or ABI.

If / when we declare the API/ABI to be stable we can make it a normal
library.

Discussed with:	bapt
Sponsored by:	The FreeBSD Foundation
2019-02-25 18:22:20 +00:00

22 lines
387 B
Makefile

# $FreeBSD$
PACKAGE= lib${LIB}
LIB= ifconfig
INTERNALLIB= true
SHLIBDIR?= /lib
SHLIB_MAJOR= 1
SRCS= libifconfig.c libifconfig_carp.c libifconfig_inet.c
SRCS+= libifconfig_inet6.c libifconfig_internal.c libifconfig_lagg.c
SRCS+= libifconfig_media.c
INCSDIR= ${INCLUDEDIR}
INCS= libifconfig.h
#MAN= libifconfig.3
CFLAGS+= -I${.CURDIR}
NO_WCAST_ALIGN= yes
.include <bsd.lib.mk>