Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux networking. |
| 3 | # |
| 4 | # 2 Sep 2000, Christoph Hellwig <hch@infradead.org> |
| 5 | # Rewritten to use lists instead of if-statements. |
| 6 | # |
| 7 | |
| 8 | obj-y := nonet.o |
| 9 | |
| 10 | obj-$(CONFIG_NET) := socket.o core/ |
| 11 | |
| 12 | tmp-$(CONFIG_COMPAT) := compat.o |
| 13 | obj-$(CONFIG_NET) += $(tmp-y) |
| 14 | |
| 15 | # LLC has to be linked before the files in net/802/ |
| 16 | obj-$(CONFIG_LLC) += llc/ |
| 17 | obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ |
Harald Welte | f9e815b | 2005-08-09 19:30:24 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_NETFILTER) += netfilter/ |
Krzysztof Oledzki | 47d4305b | 2005-11-14 15:25:59 -0800 | [diff] [blame] | 19 | obj-$(CONFIG_INET) += ipv4/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | obj-$(CONFIG_XFRM) += xfrm/ |
| 21 | obj-$(CONFIG_UNIX) += unix/ |
| 22 | ifneq ($(CONFIG_IPV6),) |
| 23 | obj-y += ipv6/ |
| 24 | endif |
| 25 | obj-$(CONFIG_PACKET) += packet/ |
| 26 | obj-$(CONFIG_NET_KEY) += key/ |
| 27 | obj-$(CONFIG_NET_SCHED) += sched/ |
| 28 | obj-$(CONFIG_BRIDGE) += bridge/ |
| 29 | obj-$(CONFIG_IPX) += ipx/ |
| 30 | obj-$(CONFIG_ATALK) += appletalk/ |
| 31 | obj-$(CONFIG_WAN_ROUTER) += wanrouter/ |
| 32 | obj-$(CONFIG_X25) += x25/ |
| 33 | obj-$(CONFIG_LAPB) += lapb/ |
| 34 | obj-$(CONFIG_NETROM) += netrom/ |
| 35 | obj-$(CONFIG_ROSE) += rose/ |
| 36 | obj-$(CONFIG_AX25) += ax25/ |
| 37 | obj-$(CONFIG_IRDA) += irda/ |
| 38 | obj-$(CONFIG_BT) += bluetooth/ |
| 39 | obj-$(CONFIG_SUNRPC) += sunrpc/ |
| 40 | obj-$(CONFIG_RXRPC) += rxrpc/ |
| 41 | obj-$(CONFIG_ATM) += atm/ |
| 42 | obj-$(CONFIG_DECNET) += decnet/ |
| 43 | obj-$(CONFIG_ECONET) += econet/ |
| 44 | obj-$(CONFIG_VLAN_8021Q) += 8021q/ |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 45 | obj-$(CONFIG_IP_DCCP) += dccp/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | obj-$(CONFIG_IP_SCTP) += sctp/ |
Jeff Garzik | b453872 | 2005-05-12 22:48:20 -0400 | [diff] [blame] | 47 | obj-$(CONFIG_IEEE80211) += ieee80211/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | |
| 49 | ifeq ($(CONFIG_NET),y) |
| 50 | obj-$(CONFIG_SYSCTL) += sysctl_net.o |
| 51 | endif |