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/ 221da177e4SLinus Torvaldsifneq ($(CONFIG_IPV6),) 231da177e4SLinus Torvaldsobj-y += ipv6/ 241da177e4SLinus Torvaldsendif 251da177e4SLinus Torvaldsobj-$(CONFIG_PACKET) += packet/ 261da177e4SLinus Torvaldsobj-$(CONFIG_NET_KEY) += key/ 271da177e4SLinus Torvaldsobj-$(CONFIG_NET_SCHED) += sched/ 281da177e4SLinus Torvaldsobj-$(CONFIG_BRIDGE) += bridge/ 291da177e4SLinus Torvaldsobj-$(CONFIG_IPX) += ipx/ 301da177e4SLinus Torvaldsobj-$(CONFIG_ATALK) += appletalk/ 311da177e4SLinus Torvaldsobj-$(CONFIG_WAN_ROUTER) += wanrouter/ 321da177e4SLinus Torvaldsobj-$(CONFIG_X25) += x25/ 331da177e4SLinus Torvaldsobj-$(CONFIG_LAPB) += lapb/ 341da177e4SLinus Torvaldsobj-$(CONFIG_NETROM) += netrom/ 351da177e4SLinus Torvaldsobj-$(CONFIG_ROSE) += rose/ 361da177e4SLinus Torvaldsobj-$(CONFIG_AX25) += ax25/ 371da177e4SLinus Torvaldsobj-$(CONFIG_IRDA) += irda/ 381da177e4SLinus Torvaldsobj-$(CONFIG_BT) += bluetooth/ 391da177e4SLinus Torvaldsobj-$(CONFIG_SUNRPC) += sunrpc/ 401da177e4SLinus Torvaldsobj-$(CONFIG_RXRPC) += rxrpc/ 411da177e4SLinus Torvaldsobj-$(CONFIG_ATM) += atm/ 421da177e4SLinus Torvaldsobj-$(CONFIG_DECNET) += decnet/ 431da177e4SLinus Torvaldsobj-$(CONFIG_ECONET) += econet/ 441da177e4SLinus Torvaldsobj-$(CONFIG_VLAN_8021Q) += 8021q/ 457c657876SArnaldo Carvalho de Meloobj-$(CONFIG_IP_DCCP) += dccp/ 461da177e4SLinus Torvaldsobj-$(CONFIG_IP_SCTP) += sctp/ 47b453872cSJeff Garzikobj-$(CONFIG_IEEE80211) += ieee80211/ 48b97bf3fdSPer Lidenobj-$(CONFIG_TIPC) += tipc/ 491da177e4SLinus Torvalds 501da177e4SLinus Torvaldsifeq ($(CONFIG_NET),y) 511da177e4SLinus Torvaldsobj-$(CONFIG_SYSCTL) += sysctl_net.o 521da177e4SLinus Torvaldsendif 53