Kbuild 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # Makefile for busybox
  2. #
  3. # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
  4. #
  5. # Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
  6. #
  7. lib-y:=
  8. lib-$(CONFIG_SLATTACH) += \
  9. utils.o
  10. lib-$(CONFIG_IP) += \
  11. ip_parse_common_args.o \
  12. libnetlink.o \
  13. ll_addr.o \
  14. ll_map.o \
  15. ll_proto.o \
  16. ll_types.o \
  17. rt_names.o \
  18. rtm_map.o \
  19. utils.o
  20. lib-$(CONFIG_FEATURE_IP_ADDRESS) += \
  21. ip_parse_common_args.o \
  22. ipaddress.o \
  23. libnetlink.o \
  24. ll_addr.o \
  25. ll_map.o \
  26. ll_types.o \
  27. rt_names.o \
  28. utils.o
  29. lib-$(CONFIG_FEATURE_IP_LINK) += \
  30. ip_parse_common_args.o \
  31. ipaddress.o \
  32. iplink.o \
  33. libnetlink.o \
  34. ll_addr.o \
  35. ll_map.o \
  36. ll_types.o \
  37. rt_names.o \
  38. utils.o
  39. lib-$(CONFIG_FEATURE_IP_ROUTE) += \
  40. ip_parse_common_args.o \
  41. iproute.o \
  42. libnetlink.o \
  43. ll_map.o \
  44. rt_names.o \
  45. rtm_map.o \
  46. utils.o
  47. lib-$(CONFIG_FEATURE_IP_TUNNEL) += \
  48. ip_parse_common_args.o \
  49. iptunnel.o \
  50. rt_names.o \
  51. utils.o
  52. lib-$(CONFIG_FEATURE_IP_RULE) += \
  53. ip_parse_common_args.o \
  54. iprule.o \
  55. rt_names.o \
  56. utils.o