Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/ifconfig/Makefile
Show All 29 Lines | |||||
SRCS+= ifmac.c # MAC support | SRCS+= ifmac.c # MAC support | ||||
SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support | SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support | ||||
SRCS+= iffib.c # non-default FIB support | SRCS+= iffib.c # non-default FIB support | ||||
SRCS+= ifvlan.c # SIOC[GS]ETVLAN support | SRCS+= ifvlan.c # SIOC[GS]ETVLAN support | ||||
SRCS+= ifvxlan.c # VXLAN support | SRCS+= ifvxlan.c # VXLAN support | ||||
SRCS+= ifgre.c # GRE keys etc | SRCS+= ifgre.c # GRE keys etc | ||||
SRCS+= ifgif.c # GIF reversed header workaround | SRCS+= ifgif.c # GIF reversed header workaround | ||||
SRCS+= ifipsec.c # IPsec VTI | SRCS+= ifipsec.c # IPsec VTI | ||||
SRCS+= ifwg.c # Wireguard | |||||
SRCS+= sfp.c # SFP/SFP+ information | SRCS+= sfp.c # SFP/SFP+ information | ||||
LIBADD+= ifconfig m util | LIBADD+= ifconfig m util | ||||
CFLAGS+= -I${SRCTOP}/lib/libifconfig -I${OBJTOP}/lib/libifconfig | CFLAGS+= -I${SRCTOP}/lib/libifconfig -I${OBJTOP}/lib/libifconfig | ||||
.if ${MK_WIRELESS_SUPPORT} != "no" | .if ${MK_WIRELESS_SUPPORT} != "no" | ||||
SRCS+= ifieee80211.c # SIOC[GS]IEEE80211 support | SRCS+= ifieee80211.c # SIOC[GS]IEEE80211 support | ||||
LIBADD+= 80211 | LIBADD+= 80211 | ||||
Show All 17 Lines | |||||
.endif | .endif | ||||
.if ${MK_INET_SUPPORT} != "no" | .if ${MK_INET_SUPPORT} != "no" | ||||
CFLAGS+= -DINET | CFLAGS+= -DINET | ||||
.endif | .endif | ||||
.if ${MK_JAIL} != "no" && !defined(RESCUE) | .if ${MK_JAIL} != "no" && !defined(RESCUE) | ||||
CFLAGS+= -DJAIL | CFLAGS+= -DJAIL | ||||
LIBADD+= jail | LIBADD+= jail | ||||
.endif | .endif | ||||
LIBADD+= nv | |||||
MAN= ifconfig.8 | MAN= ifconfig.8 | ||||
CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs | CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs | ||||
WARNS?= 2 | WARNS?= 2 | ||||
HAS_TESTS= | HAS_TESTS= | ||||
SUBDIR.${MK_TESTS}+= tests | SUBDIR.${MK_TESTS}+= tests | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |