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/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 27 | obj-$(CONFIG_BRIDGE) += bridge/ |
Lennert Buytenhek | 91da11f | 2008-10-07 13:44:02 +0000 | [diff] [blame] | 28 | obj-$(CONFIG_NET_DSA) += dsa/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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/ |
Oliver Hartkopp | 0d66548 | 2007-11-16 15:52:17 -0800 | [diff] [blame] | 37 | obj-$(CONFIG_CAN) += can/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 38 | obj-$(CONFIG_IRDA) += irda/ |
| 39 | obj-$(CONFIG_BT) += bluetooth/ |
| 40 | obj-$(CONFIG_SUNRPC) += sunrpc/ |
David Howells | 17926a7 | 2007-04-26 15:48:28 -0700 | [diff] [blame] | 41 | obj-$(CONFIG_AF_RXRPC) += rxrpc/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 42 | obj-$(CONFIG_ATM) += atm/ |
James Chapman | fd558d1 | 2010-04-02 06:18:33 +0000 | [diff] [blame] | 43 | obj-$(CONFIG_L2TP) += l2tp/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | obj-$(CONFIG_DECNET) += decnet/ |
| 45 | obj-$(CONFIG_ECONET) += econet/ |
Remi Denis-Courmont | 8ead536 | 2008-09-22 20:03:00 -0700 | [diff] [blame] | 46 | obj-$(CONFIG_PHONET) += phonet/ |
Patrick McHardy | 7750f40 | 2008-07-08 03:23:36 -0700 | [diff] [blame] | 47 | ifneq ($(CONFIG_VLAN_8021Q),) |
| 48 | obj-y += 8021q/ |
| 49 | endif |
Arnaldo Carvalho de Melo | 7c65787 | 2005-08-09 20:14:34 -0700 | [diff] [blame] | 50 | obj-$(CONFIG_IP_DCCP) += dccp/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | obj-$(CONFIG_IP_SCTP) += sctp/ |
Andy Grover | fe17f84 | 2009-02-24 15:30:39 +0000 | [diff] [blame] | 52 | obj-$(CONFIG_RDS) += rds/ |
Jiri Benc | f0706e82 | 2007-05-05 11:45:53 -0700 | [diff] [blame] | 53 | obj-y += wireless/ |
| 54 | obj-$(CONFIG_MAC80211) += mac80211/ |
Per Liden | b97bf3f | 2006-01-02 19:04:38 +0100 | [diff] [blame] | 55 | obj-$(CONFIG_TIPC) += tipc/ |
Paul Moore | d15c345 | 2006-08-03 16:48:37 -0700 | [diff] [blame] | 56 | obj-$(CONFIG_NETLABEL) += netlabel/ |
Martin Schwidefsky | 2356f4c | 2007-02-08 13:37:42 -0800 | [diff] [blame] | 57 | obj-$(CONFIG_IUCV) += iucv/ |
Ivo van Doorn | cf4328c | 2007-05-07 00:34:20 -0700 | [diff] [blame] | 58 | obj-$(CONFIG_RFKILL) += rfkill/ |
Latchesar Ionkov | bd238fb | 2007-07-10 17:57:28 -0500 | [diff] [blame] | 59 | obj-$(CONFIG_NET_9P) += 9p/ |
Sjur Braendeland | 3908c69 | 2010-03-30 13:56:28 +0000 | [diff] [blame] | 60 | obj-$(CONFIG_CAIF) += caif/ |
Jeff Kirsher | 7a6b6f5 | 2008-11-25 01:02:08 -0800 | [diff] [blame] | 61 | ifneq ($(CONFIG_DCB),) |
| 62 | obj-y += dcb/ |
Alexander Duyck | 2f90b86 | 2008-11-20 20:52:10 -0800 | [diff] [blame] | 63 | endif |
Sergey Lapin | 9ec7671 | 2009-06-08 12:18:48 +0000 | [diff] [blame] | 64 | obj-y += ieee802154/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 65 | |
| 66 | ifeq ($(CONFIG_NET),y) |
| 67 | obj-$(CONFIG_SYSCTL) += sysctl_net.o |
| 68 | endif |
Inaky Perez-Gonzalez | b0c83ae | 2008-12-23 16:18:24 -0800 | [diff] [blame] | 69 | obj-$(CONFIG_WIMAX) += wimax/ |