2 # Makefile for the linux networking.
4 # 2 Sep 2000, Christoph Hellwig <hch@infradead.org>
5 # Rewritten to use lists instead of if-statements.
10 obj-$(CONFIG_NET) := socket.o core/
12 tmp-$(CONFIG_COMPAT) := compat.o
13 obj-$(CONFIG_NET) += $(tmp-y)
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/
18 obj-$(CONFIG_NETFILTER) += netfilter/
19 obj-$(CONFIG_INET) += ipv4/
20 obj-$(CONFIG_XFRM) += xfrm/
21 obj-$(CONFIG_UNIX) += unix/
22 ifneq ($(CONFIG_IPV6),)
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_NET_DSA) += dsa/
30 obj-$(CONFIG_IPX) += ipx/
31 obj-$(CONFIG_ATALK) += appletalk/
32 obj-$(CONFIG_WAN_ROUTER) += wanrouter/
33 obj-$(CONFIG_X25) += x25/
34 obj-$(CONFIG_LAPB) += lapb/
35 obj-$(CONFIG_NETROM) += netrom/
36 obj-$(CONFIG_ROSE) += rose/
37 obj-$(CONFIG_AX25) += ax25/
38 obj-$(CONFIG_CAN) += can/
39 obj-$(CONFIG_IRDA) += irda/
40 obj-$(CONFIG_BT) += bluetooth/
41 obj-$(CONFIG_SUNRPC) += sunrpc/
42 obj-$(CONFIG_AF_RXRPC) += rxrpc/
43 obj-$(CONFIG_ATM) += atm/
44 obj-$(CONFIG_DECNET) += decnet/
45 obj-$(CONFIG_ECONET) += econet/
46 obj-$(CONFIG_PHONET) += phonet/
47 ifneq ($(CONFIG_VLAN_8021Q),)
50 obj-$(CONFIG_IP_DCCP) += dccp/
51 obj-$(CONFIG_IP_SCTP) += sctp/
53 obj-$(CONFIG_MAC80211) += mac80211/
54 obj-$(CONFIG_TIPC) += tipc/
55 obj-$(CONFIG_NETLABEL) += netlabel/
56 obj-$(CONFIG_IUCV) += iucv/
57 obj-$(CONFIG_RFKILL) += rfkill/
58 obj-$(CONFIG_NET_9P) += 9p/
59 ifneq ($(CONFIG_DCB),)
63 ifeq ($(CONFIG_NET),y)
64 obj-$(CONFIG_SYSCTL) += sysctl_net.o
66 obj-$(CONFIG_WIMAX) += wimax/