blob: a5eae27aa42d95f3d47d560045a1bf4dd88c261c [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/
Harald Weltef9e815b2005-08-09 19:30:24 -070018obj-$(CONFIG_NETFILTER) += netfilter/
Krzysztof Oledzki47d4305b2005-11-14 15:25:59 -080019obj-$(CONFIG_INET) += ipv4/
Linus Torvalds1da177e2005-04-16 15:20:36 -070020obj-$(CONFIG_XFRM) += xfrm/
21obj-$(CONFIG_UNIX) += unix/
22ifneq ($(CONFIG_IPV6),)
23obj-y += ipv6/
24endif
25obj-$(CONFIG_PACKET) += packet/
26obj-$(CONFIG_NET_KEY) += key/
Linus Torvalds1da177e2005-04-16 15:20:36 -070027obj-$(CONFIG_BRIDGE) += bridge/
Lennert Buytenhek91da11f2008-10-07 13:44:02 +000028obj-$(CONFIG_NET_DSA) += dsa/
Linus Torvalds1da177e2005-04-16 15:20:36 -070029obj-$(CONFIG_IPX) += ipx/
30obj-$(CONFIG_ATALK) += appletalk/
31obj-$(CONFIG_WAN_ROUTER) += wanrouter/
32obj-$(CONFIG_X25) += x25/
33obj-$(CONFIG_LAPB) += lapb/
34obj-$(CONFIG_NETROM) += netrom/
35obj-$(CONFIG_ROSE) += rose/
36obj-$(CONFIG_AX25) += ax25/
Oliver Hartkopp0d665482007-11-16 15:52:17 -080037obj-$(CONFIG_CAN) += can/
Linus Torvalds1da177e2005-04-16 15:20:36 -070038obj-$(CONFIG_IRDA) += irda/
39obj-$(CONFIG_BT) += bluetooth/
40obj-$(CONFIG_SUNRPC) += sunrpc/
David Howells17926a72007-04-26 15:48:28 -070041obj-$(CONFIG_AF_RXRPC) += rxrpc/
Linus Torvalds1da177e2005-04-16 15:20:36 -070042obj-$(CONFIG_ATM) += atm/
43obj-$(CONFIG_DECNET) += decnet/
44obj-$(CONFIG_ECONET) += econet/
Remi Denis-Courmont8ead5362008-09-22 20:03:00 -070045obj-$(CONFIG_PHONET) += phonet/
Patrick McHardy7750f402008-07-08 03:23:36 -070046ifneq ($(CONFIG_VLAN_8021Q),)
47obj-y += 8021q/
48endif
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -070049obj-$(CONFIG_IP_DCCP) += dccp/
Linus Torvalds1da177e2005-04-16 15:20:36 -070050obj-$(CONFIG_IP_SCTP) += sctp/
Andy Groverfe17f842009-02-24 15:30:39 +000051obj-$(CONFIG_RDS) += rds/
Jiri Bencf0706e82007-05-05 11:45:53 -070052obj-y += wireless/
53obj-$(CONFIG_MAC80211) += mac80211/
Per Lidenb97bf3f2006-01-02 19:04:38 +010054obj-$(CONFIG_TIPC) += tipc/
Paul Moored15c3452006-08-03 16:48:37 -070055obj-$(CONFIG_NETLABEL) += netlabel/
Martin Schwidefsky2356f4c2007-02-08 13:37:42 -080056obj-$(CONFIG_IUCV) += iucv/
Ivo van Doorncf4328c2007-05-07 00:34:20 -070057obj-$(CONFIG_RFKILL) += rfkill/
Latchesar Ionkovbd238fb2007-07-10 17:57:28 -050058obj-$(CONFIG_NET_9P) += 9p/
Sjur Braendeland3908c692010-03-30 13:56:28 +000059obj-$(CONFIG_CAIF) += caif/
Jeff Kirsher7a6b6f52008-11-25 01:02:08 -080060ifneq ($(CONFIG_DCB),)
61obj-y += dcb/
Alexander Duyck2f90b862008-11-20 20:52:10 -080062endif
Sergey Lapin9ec76712009-06-08 12:18:48 +000063obj-y += ieee802154/
Linus Torvalds1da177e2005-04-16 15:20:36 -070064
65ifeq ($(CONFIG_NET),y)
66obj-$(CONFIG_SYSCTL) += sysctl_net.o
67endif
Inaky Perez-Gonzalezb0c83ae2008-12-23 16:18:24 -080068obj-$(CONFIG_WIMAX) += wimax/