Merge branch 'next' into for-linus
[platform/adaptation/renesas_rcar/renesas_kernel.git] / net / Makefile
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/
18 obj-$(CONFIG_NETFILTER)         += netfilter/
19 obj-$(CONFIG_INET)              += ipv4/
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_BRIDGE)            += bridge/
28 obj-$(CONFIG_NET_DSA)           += dsa/
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_CAN)               += can/
38 obj-$(CONFIG_IRDA)              += irda/
39 obj-$(CONFIG_BT)                += bluetooth/
40 obj-$(CONFIG_SUNRPC)            += sunrpc/
41 obj-$(CONFIG_AF_RXRPC)          += rxrpc/
42 obj-$(CONFIG_ATM)               += atm/
43 obj-$(CONFIG_L2TP)              += l2tp/
44 obj-$(CONFIG_DECNET)            += decnet/
45 obj-$(CONFIG_ECONET)            += econet/
46 obj-$(CONFIG_PHONET)            += phonet/
47 ifneq ($(CONFIG_VLAN_8021Q),)
48 obj-y                           += 8021q/
49 endif
50 obj-$(CONFIG_IP_DCCP)           += dccp/
51 obj-$(CONFIG_IP_SCTP)           += sctp/
52 obj-$(CONFIG_RDS)               += rds/
53 obj-$(CONFIG_WIRELESS)          += wireless/
54 obj-$(CONFIG_MAC80211)          += mac80211/
55 obj-$(CONFIG_TIPC)              += tipc/
56 obj-$(CONFIG_NETLABEL)          += netlabel/
57 obj-$(CONFIG_IUCV)              += iucv/
58 obj-$(CONFIG_RFKILL)            += rfkill/
59 obj-$(CONFIG_NET_9P)            += 9p/
60 obj-$(CONFIG_CAIF)              += caif/
61 ifneq ($(CONFIG_DCB),)
62 obj-y                           += dcb/
63 endif
64 obj-$(CONFIG_IEEE802154)        += ieee802154/
65
66 ifeq ($(CONFIG_NET),y)
67 obj-$(CONFIG_SYSCTL)            += sysctl_net.o
68 endif
69 obj-$(CONFIG_WIMAX)             += wimax/
70 obj-$(CONFIG_DNS_RESOLVER)      += dns_resolver/
71 obj-$(CONFIG_CEPH_LIB)          += ceph/
72 obj-$(CONFIG_BATMAN_ADV)        += batman-adv/