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-$(CONFIG_NET) := socket.o core/ 9 10tmp-$(CONFIG_COMPAT) := compat.o 11obj-$(CONFIG_NET) += $(tmp-y) 12 13# LLC has to be linked before the files in net/802/ 14obj-$(CONFIG_LLC) += llc/ 15obj-$(CONFIG_NET) += ethernet/ 802/ sched/ netlink/ 16obj-$(CONFIG_NETFILTER) += netfilter/ 17obj-$(CONFIG_INET) += ipv4/ 18obj-$(CONFIG_XFRM) += xfrm/ 19obj-$(CONFIG_UNIX_SCM) += unix/ 20obj-$(CONFIG_NET) += ipv6/ 21obj-$(CONFIG_PACKET) += packet/ 22obj-$(CONFIG_NET_KEY) += key/ 23obj-$(CONFIG_BRIDGE) += bridge/ 24obj-$(CONFIG_NET_DSA) += dsa/ 25obj-$(CONFIG_IPX) += ipx/ 26obj-$(CONFIG_ATALK) += appletalk/ 27obj-$(CONFIG_X25) += x25/ 28obj-$(CONFIG_LAPB) += lapb/ 29obj-$(CONFIG_NETROM) += netrom/ 30obj-$(CONFIG_ROSE) += rose/ 31obj-$(CONFIG_AX25) += ax25/ 32obj-$(CONFIG_CAN) += can/ 33obj-$(CONFIG_IRDA) += irda/ 34obj-$(CONFIG_BT) += bluetooth/ 35obj-$(CONFIG_SUNRPC) += sunrpc/ 36obj-$(CONFIG_AF_RXRPC) += rxrpc/ 37obj-$(CONFIG_ATM) += atm/ 38obj-$(CONFIG_L2TP) += l2tp/ 39obj-$(CONFIG_DECNET) += decnet/ 40obj-$(CONFIG_PHONET) += phonet/ 41ifneq ($(CONFIG_VLAN_8021Q),) 42obj-y += 8021q/ 43endif 44obj-$(CONFIG_IP_DCCP) += dccp/ 45obj-$(CONFIG_IP_SCTP) += sctp/ 46obj-$(CONFIG_RDS) += rds/ 47obj-$(CONFIG_WIRELESS) += wireless/ 48obj-$(CONFIG_MAC80211) += mac80211/ 49obj-$(CONFIG_TIPC) += tipc/ 50obj-$(CONFIG_NETLABEL) += netlabel/ 51obj-$(CONFIG_IUCV) += iucv/ 52obj-$(CONFIG_RFKILL) += rfkill/ 53obj-$(CONFIG_NET_9P) += 9p/ 54obj-$(CONFIG_CAIF) += caif/ 55ifneq ($(CONFIG_DCB),) 56obj-y += dcb/ 57endif 58obj-$(CONFIG_6LOWPAN) += 6lowpan/ 59obj-$(CONFIG_IEEE802154) += ieee802154/ 60obj-$(CONFIG_MAC802154) += mac802154/ 61 62ifeq ($(CONFIG_NET),y) 63obj-$(CONFIG_SYSCTL) += sysctl_net.o 64endif 65obj-$(CONFIG_WIMAX) += wimax/ 66obj-$(CONFIG_DNS_RESOLVER) += dns_resolver/ 67obj-$(CONFIG_CEPH_LIB) += ceph/ 68obj-$(CONFIG_BATMAN_ADV) += batman-adv/ 69obj-$(CONFIG_NFC) += nfc/ 70obj-$(CONFIG_OPENVSWITCH) += openvswitch/ 71obj-$(CONFIG_VSOCKETS) += vmw_vsock/ 72obj-$(CONFIG_MPLS) += mpls/ 73obj-$(CONFIG_HSR) += hsr/ 74ifneq ($(CONFIG_NET_SWITCHDEV),) 75obj-y += switchdev/ 76endif 77ifneq ($(CONFIG_NET_L3_MASTER_DEV),) 78obj-y += l3mdev/ 79endif 80