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 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/ 18obj-$(CONFIG_NETFILTER) += netfilter/ 19obj-$(CONFIG_INET) += ipv4/ 20obj-$(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_BRIDGE) += bridge/ 28obj-$(CONFIG_NET_DSA) += dsa/ 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_CAN) += can/ 38obj-$(CONFIG_IRDA) += irda/ 39obj-$(CONFIG_BT) += bluetooth/ 40obj-$(CONFIG_SUNRPC) += sunrpc/ 41obj-$(CONFIG_AF_RXRPC) += rxrpc/ 42obj-$(CONFIG_ATM) += atm/ 43obj-$(CONFIG_L2TP) += l2tp/ 44obj-$(CONFIG_DECNET) += decnet/ 45obj-$(CONFIG_ECONET) += econet/ 46obj-$(CONFIG_PHONET) += phonet/ 47ifneq ($(CONFIG_VLAN_8021Q),) 48obj-y += 8021q/ 49endif 50obj-$(CONFIG_IP_DCCP) += dccp/ 51obj-$(CONFIG_IP_SCTP) += sctp/ 52obj-$(CONFIG_RDS) += rds/ 53obj-$(CONFIG_WIRELESS) += wireless/ 54obj-$(CONFIG_MAC80211) += mac80211/ 55obj-$(CONFIG_TIPC) += tipc/ 56obj-$(CONFIG_NETLABEL) += netlabel/ 57obj-$(CONFIG_IUCV) += iucv/ 58obj-$(CONFIG_RFKILL) += rfkill/ 59obj-$(CONFIG_NET_9P) += 9p/ 60obj-$(CONFIG_CAIF) += caif/ 61ifneq ($(CONFIG_DCB),) 62obj-y += dcb/ 63endif 64obj-$(CONFIG_IEEE802154) += ieee802154/ 65 66ifeq ($(CONFIG_NET),y) 67obj-$(CONFIG_SYSCTL) += sysctl_net.o 68endif 69obj-$(CONFIG_WIMAX) += wimax/ 70obj-$(CONFIG_DNS_RESOLVER) += dns_resolver/ 71obj-$(CONFIG_CEPH_LIB) += ceph/ 72obj-$(CONFIG_BATMAN_ADV) += batman-adv/ 73