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-$(CONFIG_NET) := socket.o core/ 91da177e4SLinus Torvalds 101da177e4SLinus Torvaldstmp-$(CONFIG_COMPAT) := compat.o 111da177e4SLinus Torvaldsobj-$(CONFIG_NET) += $(tmp-y) 121da177e4SLinus Torvalds 131da177e4SLinus Torvalds# LLC has to be linked before the files in net/802/ 141da177e4SLinus Torvaldsobj-$(CONFIG_LLC) += llc/ 151da177e4SLinus Torvaldsobj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ 16f9e815b3SHarald Welteobj-$(CONFIG_NETFILTER) += netfilter/ 1747d4305bSKrzysztof Oledzkiobj-$(CONFIG_INET) += ipv4/ 181da177e4SLinus Torvaldsobj-$(CONFIG_XFRM) += xfrm/ 191da177e4SLinus Torvaldsobj-$(CONFIG_UNIX) += unix/ 202ea6d8c4SThomas Grafobj-$(CONFIG_NET) += ipv6/ 211da177e4SLinus Torvaldsobj-$(CONFIG_PACKET) += packet/ 221da177e4SLinus Torvaldsobj-$(CONFIG_NET_KEY) += key/ 231da177e4SLinus Torvaldsobj-$(CONFIG_BRIDGE) += bridge/ 2491da11f8SLennert Buytenhekobj-$(CONFIG_NET_DSA) += dsa/ 251da177e4SLinus Torvaldsobj-$(CONFIG_IPX) += ipx/ 261da177e4SLinus Torvaldsobj-$(CONFIG_ATALK) += appletalk/ 271da177e4SLinus Torvaldsobj-$(CONFIG_X25) += x25/ 281da177e4SLinus Torvaldsobj-$(CONFIG_LAPB) += lapb/ 291da177e4SLinus Torvaldsobj-$(CONFIG_NETROM) += netrom/ 301da177e4SLinus Torvaldsobj-$(CONFIG_ROSE) += rose/ 311da177e4SLinus Torvaldsobj-$(CONFIG_AX25) += ax25/ 320d66548aSOliver Hartkoppobj-$(CONFIG_CAN) += can/ 331da177e4SLinus Torvaldsobj-$(CONFIG_IRDA) += irda/ 341da177e4SLinus Torvaldsobj-$(CONFIG_BT) += bluetooth/ 351da177e4SLinus Torvaldsobj-$(CONFIG_SUNRPC) += sunrpc/ 3617926a79SDavid Howellsobj-$(CONFIG_AF_RXRPC) += rxrpc/ 371da177e4SLinus Torvaldsobj-$(CONFIG_ATM) += atm/ 38fd558d18SJames Chapmanobj-$(CONFIG_L2TP) += l2tp/ 391da177e4SLinus Torvaldsobj-$(CONFIG_DECNET) += decnet/ 408ead536dSRemi Denis-Courmontobj-$(CONFIG_PHONET) += phonet/ 417750f403SPatrick McHardyifneq ($(CONFIG_VLAN_8021Q),) 427750f403SPatrick McHardyobj-y += 8021q/ 437750f403SPatrick McHardyendif 447c657876SArnaldo Carvalho de Meloobj-$(CONFIG_IP_DCCP) += dccp/ 451da177e4SLinus Torvaldsobj-$(CONFIG_IP_SCTP) += sctp/ 46fe17f84fSAndy Groverobj-$(CONFIG_RDS) += rds/ 47d1e31689SNicolas Kaiserobj-$(CONFIG_WIRELESS) += wireless/ 48f0706e82SJiri Bencobj-$(CONFIG_MAC80211) += mac80211/ 49b97bf3fdSPer Lidenobj-$(CONFIG_TIPC) += tipc/ 50d15c345fSPaul Mooreobj-$(CONFIG_NETLABEL) += netlabel/ 512356f4cbSMartin Schwidefskyobj-$(CONFIG_IUCV) += iucv/ 52cf4328cdSIvo van Doornobj-$(CONFIG_RFKILL) += rfkill/ 53bd238fb4SLatchesar Ionkovobj-$(CONFIG_NET_9P) += 9p/ 543908c690SSjur Braendelandobj-$(CONFIG_CAIF) += caif/ 557a6b6f51SJeff Kirsherifneq ($(CONFIG_DCB),) 567a6b6f51SJeff Kirsherobj-y += dcb/ 572f90b865SAlexander Duyckendif 582c6bed7cSAlexander Aringobj-$(CONFIG_6LOWPAN) += 6lowpan/ 592c6bed7cSAlexander Aringobj-$(CONFIG_IEEE802154) += ieee802154/ 601010f540Salex.bluesman.smirnov@gmail.comobj-$(CONFIG_MAC802154) += mac802154/ 611da177e4SLinus Torvalds 621da177e4SLinus Torvaldsifeq ($(CONFIG_NET),y) 631da177e4SLinus Torvaldsobj-$(CONFIG_SYSCTL) += sysctl_net.o 641da177e4SLinus Torvaldsendif 65b0c83ae1SInaky Perez-Gonzalezobj-$(CONFIG_WIMAX) += wimax/ 661a4240f4SWang Leiobj-$(CONFIG_DNS_RESOLVER) += dns_resolver/ 673d14c5d2SYehuda Sadehobj-$(CONFIG_CEPH_LIB) += ceph/ 68c6c8fea2SSven Eckelmannobj-$(CONFIG_BATMAN_ADV) += batman-adv/ 693e256b8fSLauro Ramos Venancioobj-$(CONFIG_NFC) += nfc/ 70ccb1352eSJesse Grossobj-$(CONFIG_OPENVSWITCH) += openvswitch/ 71d021c344SAndy Kingobj-$(CONFIG_VSOCKETS) += vmw_vsock/ 72*cec9166cSEric W. Biedermanobj-$(CONFIG_MPLS) += mpls/ 73f421436aSArvid Brodinobj-$(CONFIG_HSR) += hsr/ 74007f790cSJiri Pirkoifneq ($(CONFIG_NET_SWITCHDEV),) 75007f790cSJiri Pirkoobj-y += switchdev/ 76007f790cSJiri Pirkoendif 77