Makefile 1.7 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#
# Makefile for the linux networking.
#
# 2 Sep 2000, Christoph Hellwig <hch@infradead.org>
# Rewritten to use lists instead of if-statements.
#

obj-y	:= nonet.o

obj-$(CONFIG_NET)		:= socket.o core/

tmp-$(CONFIG_COMPAT) 		:= compat.o
obj-$(CONFIG_NET)		+= $(tmp-y)

# LLC has to be linked before the files in net/802/
obj-$(CONFIG_LLC)		+= llc/
obj-$(CONFIG_NET)		+= ethernet/ 802/ sched/ netlink/
H
Harald Welte 已提交
18
obj-$(CONFIG_NETFILTER)		+= netfilter/
19
obj-$(CONFIG_INET)		+= ipv4/
L
Linus Torvalds 已提交
20 21 22 23 24 25 26 27 28
obj-$(CONFIG_XFRM)		+= xfrm/
obj-$(CONFIG_UNIX)		+= unix/
ifneq ($(CONFIG_IPV6),)
obj-y				+= ipv6/
endif
obj-$(CONFIG_PACKET)		+= packet/
obj-$(CONFIG_NET_KEY)		+= key/
obj-$(CONFIG_NET_SCHED)		+= sched/
obj-$(CONFIG_BRIDGE)		+= bridge/
29
obj-$(CONFIG_NET_DSA)		+= dsa/
L
Linus Torvalds 已提交
30 31 32 33 34 35 36 37
obj-$(CONFIG_IPX)		+= ipx/
obj-$(CONFIG_ATALK)		+= appletalk/
obj-$(CONFIG_WAN_ROUTER)	+= wanrouter/
obj-$(CONFIG_X25)		+= x25/
obj-$(CONFIG_LAPB)		+= lapb/
obj-$(CONFIG_NETROM)		+= netrom/
obj-$(CONFIG_ROSE)		+= rose/
obj-$(CONFIG_AX25)		+= ax25/
O
Oliver Hartkopp 已提交
38
obj-$(CONFIG_CAN)		+= can/
L
Linus Torvalds 已提交
39 40 41
obj-$(CONFIG_IRDA)		+= irda/
obj-$(CONFIG_BT)		+= bluetooth/
obj-$(CONFIG_SUNRPC)		+= sunrpc/
42
obj-$(CONFIG_AF_RXRPC)		+= rxrpc/
L
Linus Torvalds 已提交
43 44 45
obj-$(CONFIG_ATM)		+= atm/
obj-$(CONFIG_DECNET)		+= decnet/
obj-$(CONFIG_ECONET)		+= econet/
R
Remi Denis-Courmont 已提交
46
obj-$(CONFIG_PHONET)		+= phonet/
47 48 49
ifneq ($(CONFIG_VLAN_8021Q),)
obj-y				+= 8021q/
endif
50
obj-$(CONFIG_IP_DCCP)		+= dccp/
L
Linus Torvalds 已提交
51
obj-$(CONFIG_IP_SCTP)		+= sctp/
52 53
obj-y				+= wireless/
obj-$(CONFIG_MAC80211)		+= mac80211/
J
Jeff Garzik 已提交
54
obj-$(CONFIG_IEEE80211)		+= ieee80211/
P
Per Liden 已提交
55
obj-$(CONFIG_TIPC)		+= tipc/
P
Paul Moore 已提交
56
obj-$(CONFIG_NETLABEL)		+= netlabel/
57
obj-$(CONFIG_IUCV)		+= iucv/
58
obj-$(CONFIG_RFKILL)		+= rfkill/
59
obj-$(CONFIG_NET_9P)		+= 9p/
60 61 62
ifeq ($(CONFIG_DCBNL),y)
obj-$(CONFIG_DCB)		+= dcb/
endif
L
Linus Torvalds 已提交
63 64 65 66

ifeq ($(CONFIG_NET),y)
obj-$(CONFIG_SYSCTL)		+= sysctl_net.o
endif