# SPDX-License-Identifier: GPL-2.0 # # Makefile for the linux networking. # # 2 Sep 2000, Christoph Hellwig <hch@infradead.org> # Rewritten to use lists instead of if-statements. # obj-$([31mCONFIG_NET[0m) := socket.o core/ tmp-$([31mCONFIG_COMPAT[0m) := compat.o obj-$([31mCONFIG_NET[0m) += $(tmp-y) # LLC has to be linked before the files in net/802/ obj-$([31mCONFIG_LLC[0m) += llc/ obj-$([31mCONFIG_NET[0m) += ethernet/ 802/ sched/ netlink/ bpf/ obj-$([31mCONFIG_NETFILTER[0m) += netfilter/ obj-$([31mCONFIG_INET[0m) += ipv4/ obj-$([31mCONFIG_TLS[0m) += tls/ obj-$([31mCONFIG_XFRM[0m) += xfrm/ obj-$([31mCONFIG_UNIX_SCM[0m) += unix/ obj-$([31mCONFIG_NET[0m) += ipv6/ obj-$([31mCONFIG_BPFILTER[0m) += bpfilter/ obj-$([31mCONFIG_PACKET[0m) += packet/ obj-$([31mCONFIG_NET_KEY[0m) += key/ obj-$([31mCONFIG_BRIDGE[0m) += bridge/ obj-$([31mCONFIG_NET_DSA[0m) += dsa/ obj-$([31mCONFIG_ATALK[0m) += appletalk/ obj-$([31mCONFIG_X25[0m) += x25/ obj-$([31mCONFIG_LAPB[0m) += lapb/ obj-$([31mCONFIG_NETROM[0m) += netrom/ obj-$([31mCONFIG_ROSE[0m) += rose/ obj-$([31mCONFIG_AX25[0m) += ax25/ obj-$([31mCONFIG_CAN[0m) += can/ obj-$([31mCONFIG_BT[0m) += bluetooth/ obj-$([31mCONFIG_SUNRPC[0m) += sunrpc/ obj-$([31mCONFIG_AF_RXRPC[0m) += rxrpc/ obj-$([31mCONFIG_AF_KCM[0m) += kcm/ obj-$([31mCONFIG_STREAM_PARSER[0m) += strparser/ obj-$([31mCONFIG_ATM[0m) += atm/ obj-$([31mCONFIG_L2TP[0m) += l2tp/ obj-$([31mCONFIG_DECNET[0m) += decnet/ obj-$([31mCONFIG_PHONET[0m) += phonet/ ifneq ($([31mCONFIG_VLAN_8021Q[0m),) obj-y += 8021q/ endif obj-$([31mCONFIG_IP_DCCP[0m) += dccp/ obj-$([31mCONFIG_IP_SCTP[0m) += sctp/ obj-$([31mCONFIG_RDS[0m) += rds/ obj-$([31mCONFIG_WIRELESS[0m) += wireless/ obj-$([31mCONFIG_MAC80211[0m) += mac80211/ obj-$([31mCONFIG_TIPC[0m) += tipc/ obj-$([31mCONFIG_NETLABEL[0m) += netlabel/ obj-$([31mCONFIG_IUCV[0m) += iucv/ obj-$([31mCONFIG_SMC[0m) += smc/ obj-$([31mCONFIG_RFKILL[0m) += rfkill/ obj-$([31mCONFIG_NET_9P[0m) += 9p/ obj-$([31mCONFIG_CAIF[0m) += caif/ ifneq ($([31mCONFIG_DCB[0m),) obj-y += dcb/ endif obj-$([31mCONFIG_6LOWPAN[0m) += 6lowpan/ obj-$([31mCONFIG_IEEE802154[0m) += ieee802154/ obj-$([31mCONFIG_MAC802154[0m) += mac802154/ ifeq ($([31mCONFIG_NET[0m),y) obj-$([31mCONFIG_SYSCTL[0m) += sysctl_net.o endif obj-$([31mCONFIG_WIMAX[0m) += wimax/ obj-$([31mCONFIG_DNS_RESOLVER[0m) += dns_resolver/ obj-$([31mCONFIG_CEPH_LIB[0m) += ceph/ obj-$([31mCONFIG_BATMAN_ADV[0m) += batman-adv/ obj-$([31mCONFIG_NFC[0m) += nfc/ obj-$([31mCONFIG_PSAMPLE[0m) += psample/ obj-$([31mCONFIG_NET_IFE[0m) += ife/ obj-$([31mCONFIG_OPENVSWITCH[0m) += openvswitch/ obj-$([31mCONFIG_VSOCKETS[0m) += vmw_vsock/ obj-$([31mCONFIG_MPLS[0m) += mpls/ obj-$([31mCONFIG_NET_NSH[0m) += nsh/ obj-$([31mCONFIG_HSR[0m) += hsr/ ifneq ($([31mCONFIG_NET_SWITCHDEV[0m),) obj-y += switchdev/ endif ifneq ($([31mCONFIG_NET_L3_MASTER_DEV[0m),) obj-y += l3mdev/ endif obj-$([31mCONFIG_QRTR[0m) += qrtr/ obj-$([31mCONFIG_NET_NCSI[0m) += ncsi/ obj-$([31mCONFIG_XDP_SOCKETS[0m) += xdp/ |