Makefile revision 298107
119914Swollman# From: @(#)Makefile 8.1 (Berkeley) 6/5/93 250476Speter# $FreeBSD: head/sbin/ifconfig/Makefile 298107 2016-04-16 07:45:30Z gjb $ 31558Srgrimes 4265420Simp.include <src.opts.mk> 5156905Sru 6298107SgjbPACKAGE=runtime 71558SrgrimesPROG= ifconfig 825451Speter 9138593SsamSRCS= ifconfig.c # base support 1025451Speter 11138593Ssam# 12138593Ssam# NB: The order here defines the order in which the constructors 13138593Ssam# are called. This in turn defines the default order in which 14138593Ssam# status is displayed. Probably should add a priority mechanism 15138593Ssam# to the registration process so we don't depend on this aspect 16138593Ssam# of the toolchain. 17138593Ssam# 18138593SsamSRCS+= af_link.c # LLC support 19222527Sbz.if ${MK_INET_SUPPORT} != "no" 20138593SsamSRCS+= af_inet.c # IPv4 support 21222527Sbz.endif 22222527Sbz.if ${MK_INET6_SUPPORT} != "no" 23138593SsamSRCS+= af_inet6.c # IPv6 support 24222527Sbz.endif 25222527Sbz.if ${MK_INET6_SUPPORT} != "no" 26197138ShrsSRCS+= af_nd6.c # ND6 support 27222527Sbz.endif 2844764Swpaul 29138593SsamSRCS+= ifclone.c # clone device support 30138593SsamSRCS+= ifmac.c # MAC support 31138593SsamSRCS+= ifmedia.c # SIOC[GS]IFMEDIA support 32223735SbzSRCS+= iffib.c # non-default FIB support 33138593SsamSRCS+= ifvlan.c # SIOC[GS]ETVLAN support 34275851SbryanvSRCS+= ifvxlan.c # VXLAN support 35181224SthompsaSRCS+= ifgre.c # GRE keys etc 36193664ShrsSRCS+= ifgif.c # GIF reversed header workaround 3777217Sphk 38270064SmelifaroSRCS+= sfp.c # SFP/SFP+ information 39275030SbaptLIBADD+= m 40270064Smelifaro 41291470SadrianSRCS+= ifieee80211.c # SIOC[GS]IEEE80211 support 42292684SbaptLIBADD+= 80211 43178354Ssam 44228577SglebiusSRCS+= carp.c # SIOC[GS]VH support 45159781SmlaierSRCS+= ifgroup.c # ... 46257349Sglebius.if ${MK_PF} != "no" 47142215SglebiusSRCS+= ifpfsync.c # pfsync(4) support 48257349Sglebius.endif 49142215Sglebius 50146987SthompsaSRCS+= ifbridge.c # bridge support 51168793SthompsaSRCS+= iflagg.c # lagg support 52146987Sthompsa 53222527Sbz.if ${MK_INET6_SUPPORT} != "no" 54222527SbzCFLAGS+= -DINET6 55222527Sbz.endif 56222527Sbz.if ${MK_INET_SUPPORT} != "no" 57222527SbzCFLAGS+= -DINET 58222527Sbz.endif 59231642Srmh.if ${MK_JAIL} != "no" && !defined(RELEASE_CRUNCH) && !defined(RESCUE) 60231642SrmhCFLAGS+= -DJAIL 61275030SbaptLIBADD+= jail 62231642Srmh.endif 6380057Sobrien 64138593SsamMAN= ifconfig.8 65138593Ssam 66144130SbrooksCFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs 67202532SedWARNS?= 2 681558Srgrimes 69276668Sngie.if ${MK_TESTS} != "no" 70276668SngieSUBDIR+= tests 71276668Sngie.endif 72276668Sngie 731558Srgrimes.include <bsd.prog.mk> 74