Makefile (228577) | Makefile (231642) |
---|---|
1# From: @(#)Makefile 8.1 (Berkeley) 6/5/93 | 1# From: @(#)Makefile 8.1 (Berkeley) 6/5/93 |
2# $FreeBSD: head/sbin/ifconfig/Makefile 228577 2011-12-16 14:30:58Z glebius $ | 2# $FreeBSD: head/sbin/ifconfig/Makefile 231642 2012-02-14 07:14:42Z rmh $ |
3 4.include <bsd.own.mk> 5 6PROG= ifconfig 7 8SRCS= ifconfig.c # base support 9 10# --- 19 unchanged lines hidden (view full) --- 30SRCS+= ifmac.c # MAC support 31SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support 32SRCS+= iffib.c # non-default FIB support 33SRCS+= ifvlan.c # SIOC[GS]ETVLAN support 34SRCS+= ifgre.c # GRE keys etc 35SRCS+= ifgif.c # GIF reversed header workaround 36 37SRCS+= ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support | 3 4.include <bsd.own.mk> 5 6PROG= ifconfig 7 8SRCS= ifconfig.c # base support 9 10# --- 19 unchanged lines hidden (view full) --- 30SRCS+= ifmac.c # MAC support 31SRCS+= ifmedia.c # SIOC[GS]IFMEDIA support 32SRCS+= iffib.c # non-default FIB support 33SRCS+= ifvlan.c # SIOC[GS]ETVLAN support 34SRCS+= ifgre.c # GRE keys etc 35SRCS+= ifgif.c # GIF reversed header workaround 36 37SRCS+= ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support |
38DPADD+= ${LIBBSDXML} ${LIBJAIL} ${LIBSBUF} 39LDADD+= -lbsdxml -ljail -lsbuf | 38DPADD+= ${LIBBSDXML} ${LIBSBUF} 39LDADD+= -lbsdxml -lsbuf |
40 41SRCS+= carp.c # SIOC[GS]VH support 42SRCS+= ifgroup.c # ... 43SRCS+= ifpfsync.c # pfsync(4) support 44 45SRCS+= ifbridge.c # bridge support 46SRCS+= iflagg.c # lagg support 47 48.if ${MK_INET6_SUPPORT} != "no" 49CFLAGS+= -DINET6 50.endif 51.if ${MK_INET_SUPPORT} != "no" 52CFLAGS+= -DINET 53.endif 54.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH) 55SRCS+= af_ipx.c # IPX support 56DPADD+= ${LIBIPX} 57LDADD+= -lipx 58.endif | 40 41SRCS+= carp.c # SIOC[GS]VH support 42SRCS+= ifgroup.c # ... 43SRCS+= ifpfsync.c # pfsync(4) support 44 45SRCS+= ifbridge.c # bridge support 46SRCS+= iflagg.c # lagg support 47 48.if ${MK_INET6_SUPPORT} != "no" 49CFLAGS+= -DINET6 50.endif 51.if ${MK_INET_SUPPORT} != "no" 52CFLAGS+= -DINET 53.endif 54.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH) 55SRCS+= af_ipx.c # IPX support 56DPADD+= ${LIBIPX} 57LDADD+= -lipx 58.endif |
59.if ${MK_JAIL} != "no" && !defined(RELEASE_CRUNCH) && !defined(RESCUE) 60CFLAGS+= -DJAIL 61DPADD+= ${LIBJAIL} 62LDADD+= -ljail 63.endif |
|
59 60MAN= ifconfig.8 61 62CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs 63WARNS?= 2 64 65.include <bsd.prog.mk> | 64 65MAN= ifconfig.8 66 67CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs 68WARNS?= 2 69 70.include <bsd.prog.mk> |