blob: 8e2bdc025ab852fccaf8b66c80175864c806b36a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
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
8obj-y := nonet.o
9
10obj-$(CONFIG_NET) := socket.o core/
11
12tmp-$(CONFIG_COMPAT) := compat.o
13obj-$(CONFIG_NET) += $(tmp-y)
14
15# LLC has to be linked before the files in net/802/
16obj-$(CONFIG_LLC) += llc/
17obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/
18obj-$(CONFIG_INET) += ipv4/
19obj-$(CONFIG_XFRM) += xfrm/
20obj-$(CONFIG_UNIX) += unix/
21ifneq ($(CONFIG_IPV6),)
22obj-y += ipv6/
23endif
24obj-$(CONFIG_PACKET) += packet/
25obj-$(CONFIG_NET_KEY) += key/
26obj-$(CONFIG_NET_SCHED) += sched/
27obj-$(CONFIG_BRIDGE) += bridge/
28obj-$(CONFIG_IPX) += ipx/
29obj-$(CONFIG_ATALK) += appletalk/
30obj-$(CONFIG_WAN_ROUTER) += wanrouter/
31obj-$(CONFIG_X25) += x25/
32obj-$(CONFIG_LAPB) += lapb/
33obj-$(CONFIG_NETROM) += netrom/
34obj-$(CONFIG_ROSE) += rose/
35obj-$(CONFIG_AX25) += ax25/
36obj-$(CONFIG_IRDA) += irda/
37obj-$(CONFIG_BT) += bluetooth/
38obj-$(CONFIG_SUNRPC) += sunrpc/
39obj-$(CONFIG_RXRPC) += rxrpc/
40obj-$(CONFIG_ATM) += atm/
41obj-$(CONFIG_DECNET) += decnet/
42obj-$(CONFIG_ECONET) += econet/
43obj-$(CONFIG_VLAN_8021Q) += 8021q/
44obj-$(CONFIG_IP_SCTP) += sctp/
45
46ifeq ($(CONFIG_NET),y)
47obj-$(CONFIG_SYSCTL) += sysctl_net.o
48endif