mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
f227705fdb
several different PRs, but the tests share some common code, so I'm committing them together. sbin/ifconfig/tests sbin/ifconfig/tests/fibs_test.sh sbin/ifconfig/tests/Makefile sbin/ifconfig/Makefile Add fibs_test.sh, which regresses bin/187551 tests/sys/netinet tests/sys/netinet/fibs_test.sh tests/sys/netinet/udp_dontroute.c tests/sys/netinet/Makefile tests/sys/Makefile Add fibs_test.sh, which regresses kern/167947, kern/187552 kern/187549, kern/187550, and kern/187553 etc/mtree/BSD.tests.dist Add newly created directories PR: bin/187551 PR: kern/167947 PR: kern/187552 PR: kern/187549 PR: kern/187550 PR: kern/187553 Discussed with: melifaro MFC after: 3 weeks Sponsored by: Spectra Logic Corporation
71 lines
1.7 KiB
Makefile
71 lines
1.7 KiB
Makefile
# From: @(#)Makefile 8.1 (Berkeley) 6/5/93
|
|
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= ifconfig
|
|
|
|
SRCS= ifconfig.c # base support
|
|
|
|
#
|
|
# NB: The order here defines the order in which the constructors
|
|
# are called. This in turn defines the default order in which
|
|
# status is displayed. Probably should add a priority mechanism
|
|
# to the registration process so we don't depend on this aspect
|
|
# of the toolchain.
|
|
#
|
|
SRCS+= af_link.c # LLC support
|
|
.if ${MK_INET_SUPPORT} != "no"
|
|
SRCS+= af_inet.c # IPv4 support
|
|
.endif
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
SRCS+= af_inet6.c # IPv6 support
|
|
.endif
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
SRCS+= af_nd6.c # ND6 support
|
|
.endif
|
|
|
|
SRCS+= ifclone.c # clone device support
|
|
SRCS+= ifmac.c # MAC support
|
|
SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support
|
|
SRCS+= iffib.c # non-default FIB support
|
|
SRCS+= ifvlan.c # SIOC[GS]ETVLAN support
|
|
SRCS+= ifgre.c # GRE keys etc
|
|
SRCS+= ifgif.c # GIF reversed header workaround
|
|
|
|
SRCS+= ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support
|
|
DPADD+= ${LIBBSDXML} ${LIBSBUF}
|
|
LDADD+= -lbsdxml -lsbuf
|
|
|
|
SRCS+= carp.c # SIOC[GS]VH support
|
|
SRCS+= ifgroup.c # ...
|
|
.if ${MK_PF} != "no"
|
|
SRCS+= ifpfsync.c # pfsync(4) support
|
|
.endif
|
|
|
|
SRCS+= ifbridge.c # bridge support
|
|
SRCS+= iflagg.c # lagg support
|
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
CFLAGS+= -DINET6
|
|
.endif
|
|
.if ${MK_INET_SUPPORT} != "no"
|
|
CFLAGS+= -DINET
|
|
.endif
|
|
.if ${MK_JAIL} != "no" && !defined(RELEASE_CRUNCH) && !defined(RESCUE)
|
|
CFLAGS+= -DJAIL
|
|
DPADD+= ${LIBJAIL}
|
|
LDADD+= -ljail
|
|
.endif
|
|
|
|
MAN= ifconfig.8
|
|
|
|
CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
|
|
WARNS?= 2
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
SUBDIR+= tests
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|