blob: 065796f5fb17701f550bcd5197fe30d35ec986cb [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/
27obj-$(CONFIG_NET_SCHED) += sched/
28obj-$(CONFIG_BRIDGE) += bridge/
29obj-$(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/
37obj-$(CONFIG_IRDA) += irda/
38obj-$(CONFIG_BT) += bluetooth/
39obj-$(CONFIG_SUNRPC) += sunrpc/
40obj-$(CONFIG_RXRPC) += rxrpc/
41obj-$(CONFIG_ATM) += atm/
42obj-$(CONFIG_DECNET) += decnet/
43obj-$(CONFIG_ECONET) += econet/
44obj-$(CONFIG_VLAN_8021Q) += 8021q/
Arnaldo Carvalho de Melo7c657872005-08-09 20:14:34 -070045obj-$(CONFIG_IP_DCCP) += dccp/
Linus Torvalds1da177e2005-04-16 15:20:36 -070046obj-$(CONFIG_IP_SCTP) += sctp/
Jeff Garzikb4538722005-05-12 22:48:20 -040047obj-$(CONFIG_IEEE80211) += ieee80211/
Per Lidenb97bf3f2006-01-02 19:04:38 +010048obj-$(CONFIG_TIPC) += tipc/
Linus Torvalds1da177e2005-04-16 15:20:36 -070049
50ifeq ($(CONFIG_NET),y)
51obj-$(CONFIG_SYSCTL) += sysctl_net.o
52endif