e5539fb618
The new function operates similarly to ifconfig_lagg_get_lagg_status and likewise is accompanied by a function to free the bridge status data structure. I have included in this patch the relocation of some strings describing STP parameters and the PV2ID macro from ifconfig into net/if_bridgevar.h as they are useful for consumers of libifconfig. Reviewed by: kp, melifaro, mmacy Approved by: mmacy (mentor) MFC after: 1 week Relnotes: yes Differential Revision: https://reviews.freebsd.org/D25460
28 lines
479 B
Makefile
28 lines
479 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= lib${LIB}
|
|
LIB= ifconfig
|
|
INTERNALLIB= true
|
|
|
|
SHLIBDIR?= /lib
|
|
SHLIB_MAJOR= 1
|
|
SRCS= libifconfig.c \
|
|
libifconfig_bridge.c \
|
|
libifconfig_carp.c \
|
|
libifconfig_inet.c \
|
|
libifconfig_inet6.c \
|
|
libifconfig_internal.c \
|
|
libifconfig_lagg.c \
|
|
libifconfig_media.c
|
|
|
|
# If libifconfig become public uncomment those two lines
|
|
#INCSDIR= ${INCLUDEDIR}
|
|
#INCS= libifconfig.h
|
|
|
|
#MAN= libifconfig.3
|
|
|
|
CFLAGS+= -I${.CURDIR}
|
|
NO_WCAST_ALIGN= yes
|
|
|
|
.include <bsd.lib.mk>
|