Makefile revision 202532
119914Swollman# From: @(#)Makefile 8.1 (Berkeley) 6/5/93 250476Speter# $FreeBSD: head/sbin/ifconfig/Makefile 202532 2010-01-17 21:56:27Z ed $ 31558Srgrimes 4156905Sru.include <bsd.own.mk> 5156905Sru 61558SrgrimesPROG= ifconfig 725451Speter 8138593SsamSRCS= ifconfig.c # base support 925451Speter 10138593Ssam# 11138593Ssam# NB: The order here defines the order in which the constructors 12138593Ssam# are called. This in turn defines the default order in which 13138593Ssam# status is displayed. Probably should add a priority mechanism 14138593Ssam# to the registration process so we don't depend on this aspect 15138593Ssam# of the toolchain. 16138593Ssam# 17138593SsamSRCS+= af_link.c # LLC support 18138593SsamSRCS+= af_inet.c # IPv4 support 19138593SsamSRCS+= af_inet6.c # IPv6 support 20138593SsamSRCS+= af_atalk.c # AppleTalk support 21197138ShrsSRCS+= af_nd6.c # ND6 support 2244764Swpaul 23138593SsamSRCS+= ifclone.c # clone device support 24138593SsamSRCS+= ifmac.c # MAC support 25138593SsamSRCS+= ifmedia.c # SIOC[GS]IFMEDIA support 26138593SsamSRCS+= ifvlan.c # SIOC[GS]ETVLAN support 27181224SthompsaSRCS+= ifgre.c # GRE keys etc 28193664ShrsSRCS+= ifgif.c # GIF reversed header workaround 2977217Sphk 30178354SsamSRCS+= ifieee80211.c regdomain.c # SIOC[GS]IEEE80211 support 31194871SjamieDPADD+= ${LIBBSDXML} ${LIBSBUF} ${LIBJAIL} 32194871SjamieLDADD+= -lbsdxml -ljail -lsbuf 33178354Ssam 34142215SglebiusSRCS+= ifcarp.c # SIOC[GS]VH support 35159781SmlaierSRCS+= ifgroup.c # ... 36142215SglebiusSRCS+= ifpfsync.c # pfsync(4) support 37142215Sglebius 38146987SthompsaSRCS+= ifbridge.c # bridge support 39168793SthompsaSRCS+= iflagg.c # lagg support 40146987Sthompsa 41156905Sru.if ${MK_IPX_SUPPORT} != "no" && !defined(RELEASE_CRUNCH) 42138593SsamSRCS+= af_ipx.c # IPX support 43178354SsamDPADD+= ${LIBIPX} 44178354SsamLDADD+= -lipx 4580057Sobrien.endif 4680057Sobrien 47138593SsamMAN= ifconfig.8 48138593Ssam 49144130SbrooksCFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs 50202532SedWARNS?= 2 511558Srgrimes 521558Srgrimes.include <bsd.prog.mk> 53