Linux-2.6.12-rc2
[linux-2.6.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_INET)              += ipv4/
19 obj-$(CONFIG_XFRM)              += xfrm/
20 obj-$(CONFIG_UNIX)              += unix/
21 ifneq ($(CONFIG_IPV6),)
22 obj-y                           += ipv6/
23 endif
24 obj-$(CONFIG_PACKET)            += packet/
25 obj-$(CONFIG_NET_KEY)           += key/
26 obj-$(CONFIG_NET_SCHED)         += sched/
27 obj-$(CONFIG_BRIDGE)            += bridge/
28 obj-$(CONFIG_IPX)               += ipx/
29 obj-$(CONFIG_ATALK)             += appletalk/
30 obj-$(CONFIG_WAN_ROUTER)        += wanrouter/
31 obj-$(CONFIG_X25)               += x25/
32 obj-$(CONFIG_LAPB)              += lapb/
33 obj-$(CONFIG_NETROM)            += netrom/
34 obj-$(CONFIG_ROSE)              += rose/
35 obj-$(CONFIG_AX25)              += ax25/
36 obj-$(CONFIG_IRDA)              += irda/
37 obj-$(CONFIG_BT)                += bluetooth/
38 obj-$(CONFIG_SUNRPC)            += sunrpc/
39 obj-$(CONFIG_RXRPC)             += rxrpc/
40 obj-$(CONFIG_ATM)               += atm/
41 obj-$(CONFIG_DECNET)            += decnet/
42 obj-$(CONFIG_ECONET)            += econet/
43 obj-$(CONFIG_VLAN_8021Q)        += 8021q/
44 obj-$(CONFIG_IP_SCTP)           += sctp/
45
46 ifeq ($(CONFIG_NET),y)
47 obj-$(CONFIG_SYSCTL)            += sysctl_net.o
48 endif