Makefile 2.3 KB

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