11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# Makefile for the linux networking. 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds# 2 Sep 2000, Christoph Hellwig <hch@infradead.org> 51da177e4SLinus Torvalds# Rewritten to use lists instead of if-statements. 61da177e4SLinus Torvalds# 71da177e4SLinus Torvalds 81da177e4SLinus Torvaldsobj-y := nonet.o 91da177e4SLinus Torvalds 101da177e4SLinus Torvaldsobj-$(CONFIG_NET) := socket.o core/ 111da177e4SLinus Torvalds 121da177e4SLinus Torvaldstmp-$(CONFIG_COMPAT) := compat.o 131da177e4SLinus Torvaldsobj-$(CONFIG_NET) += $(tmp-y) 141da177e4SLinus Torvalds 151da177e4SLinus Torvalds# LLC has to be linked before the files in net/802/ 161da177e4SLinus Torvaldsobj-$(CONFIG_LLC) += llc/ 171da177e4SLinus Torvaldsobj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ 18f9e815b3SHarald Welteobj-$(CONFIG_NETFILTER) += netfilter/ 1947d4305bSKrzysztof Oledzkiobj-$(CONFIG_INET) += ipv4/ 201da177e4SLinus Torvaldsobj-$(CONFIG_XFRM) += xfrm/ 211da177e4SLinus Torvaldsobj-$(CONFIG_UNIX) += unix/ 222ea6d8c4SThomas Grafobj-$(CONFIG_NET) += ipv6/ 231da177e4SLinus Torvaldsobj-$(CONFIG_PACKET) += packet/ 241da177e4SLinus Torvaldsobj-$(CONFIG_NET_KEY) += key/ 251da177e4SLinus Torvaldsobj-$(CONFIG_BRIDGE) += bridge/ 2691da11f8SLennert Buytenhekobj-$(CONFIG_NET_DSA) += dsa/ 271da177e4SLinus Torvaldsobj-$(CONFIG_IPX) += ipx/ 281da177e4SLinus Torvaldsobj-$(CONFIG_ATALK) += appletalk/ 291da177e4SLinus Torvaldsobj-$(CONFIG_WAN_ROUTER) += wanrouter/ 301da177e4SLinus Torvaldsobj-$(CONFIG_X25) += x25/ 311da177e4SLinus Torvaldsobj-$(CONFIG_LAPB) += lapb/ 321da177e4SLinus Torvaldsobj-$(CONFIG_NETROM) += netrom/ 331da177e4SLinus Torvaldsobj-$(CONFIG_ROSE) += rose/ 341da177e4SLinus Torvaldsobj-$(CONFIG_AX25) += ax25/ 350d66548aSOliver Hartkoppobj-$(CONFIG_CAN) += can/ 361da177e4SLinus Torvaldsobj-$(CONFIG_IRDA) += irda/ 371da177e4SLinus Torvaldsobj-$(CONFIG_BT) += bluetooth/ 381da177e4SLinus Torvaldsobj-$(CONFIG_SUNRPC) += sunrpc/ 3917926a79SDavid Howellsobj-$(CONFIG_AF_RXRPC) += rxrpc/ 401da177e4SLinus Torvaldsobj-$(CONFIG_ATM) += atm/ 41fd558d18SJames Chapmanobj-$(CONFIG_L2TP) += l2tp/ 421da177e4SLinus Torvaldsobj-$(CONFIG_DECNET) += decnet/ 431da177e4SLinus Torvaldsobj-$(CONFIG_ECONET) += econet/ 448ead536dSRemi Denis-Courmontobj-$(CONFIG_PHONET) += phonet/ 457750f403SPatrick McHardyifneq ($(CONFIG_VLAN_8021Q),) 467750f403SPatrick McHardyobj-y += 8021q/ 477750f403SPatrick McHardyendif 487c657876SArnaldo Carvalho de Meloobj-$(CONFIG_IP_DCCP) += dccp/ 491da177e4SLinus Torvaldsobj-$(CONFIG_IP_SCTP) += sctp/ 50fe17f84fSAndy Groverobj-$(CONFIG_RDS) += rds/ 51d1e31689SNicolas Kaiserobj-$(CONFIG_WIRELESS) += wireless/ 52f0706e82SJiri Bencobj-$(CONFIG_MAC80211) += mac80211/ 53b97bf3fdSPer Lidenobj-$(CONFIG_TIPC) += tipc/ 54d15c345fSPaul Mooreobj-$(CONFIG_NETLABEL) += netlabel/ 552356f4cbSMartin Schwidefskyobj-$(CONFIG_IUCV) += iucv/ 56cf4328cdSIvo van Doornobj-$(CONFIG_RFKILL) += rfkill/ 57bd238fb4SLatchesar Ionkovobj-$(CONFIG_NET_9P) += 9p/ 583908c690SSjur Braendelandobj-$(CONFIG_CAIF) += caif/ 597a6b6f51SJeff Kirsherifneq ($(CONFIG_DCB),) 607a6b6f51SJeff Kirsherobj-y += dcb/ 612f90b865SAlexander Duyckendif 62d1e31689SNicolas Kaiserobj-$(CONFIG_IEEE802154) += ieee802154/ 631da177e4SLinus Torvalds 641da177e4SLinus Torvaldsifeq ($(CONFIG_NET),y) 651da177e4SLinus Torvaldsobj-$(CONFIG_SYSCTL) += sysctl_net.o 661da177e4SLinus Torvaldsendif 67b0c83ae1SInaky Perez-Gonzalezobj-$(CONFIG_WIMAX) += wimax/ 681a4240f4SWang Leiobj-$(CONFIG_DNS_RESOLVER) += dns_resolver/ 693d14c5d2SYehuda Sadehobj-$(CONFIG_CEPH_LIB) += ceph/ 70c6c8fea2SSven Eckelmannobj-$(CONFIG_BATMAN_ADV) += batman-adv/ 713e256b8fSLauro Ramos Venancioobj-$(CONFIG_NFC) += nfc/ 72