mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
A native route Netlink interface will replace this stack. Requested by: glebius This reverts commit1ccf543b21. This reverts commit2c04cfa148. This reverts commit2d6114f6d2. This reverts commitd15f2551b2. This reverts commitceb282bbd6. This reverts commitc30021fe0d. This reverts commitfb1820d23a. This reverts commit8696cc600f.
47 lines
896 B
Makefile
47 lines
896 B
Makefile
LIB= ifconfig
|
|
INTERNALLIB= true
|
|
|
|
LIBADD= m
|
|
|
|
SHLIBDIR?= /lib
|
|
SHLIB_MAJOR= 2
|
|
|
|
VERSION_DEF= ${LIBCSRCDIR}/Versions.def
|
|
SYMBOL_MAPS= ${.CURDIR}/Symbol.map
|
|
|
|
SRCS= libifconfig.c \
|
|
libifconfig_bridge.c \
|
|
libifconfig_carp.c \
|
|
libifconfig_inet.c \
|
|
libifconfig_inet6.c \
|
|
libifconfig_internal.c \
|
|
libifconfig_lagg.c \
|
|
libifconfig_media.c \
|
|
libifconfig_nl.c \
|
|
libifconfig_sfp.c
|
|
|
|
GEN= libifconfig_sfp_tables.h \
|
|
libifconfig_sfp_tables.c \
|
|
libifconfig_sfp_tables_internal.h
|
|
|
|
SRCS+= ${GEN}
|
|
|
|
.include <src.lua.mk>
|
|
|
|
.SUFFIXES: .tpl.c .tpl.h
|
|
.tpl.c.c .tpl.h.h: sfp.lua
|
|
${LUA} ${.CURDIR}/sfp.lua ${.IMPSRC} >${.TARGET}
|
|
|
|
CLEANFILES+= ${GEN}
|
|
|
|
# If libifconfig become public uncomment those two lines
|
|
#INCSDIR= ${INCLUDEDIR}
|
|
#INCS= libifconfig.h libifconfig_sfp.h libifconfig_sfp_tables.h
|
|
|
|
#MAN= libifconfig.3
|
|
|
|
CFLAGS+= -I${.CURDIR} -I${.OBJDIR}
|
|
NO_WCAST_ALIGN= yes
|
|
|
|
.include <bsd.lib.mk>
|