blob: d94e4c6e5488be1b43e690f96ceb4f713e890cee [file] [log] [blame]
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00001# Makefile for busybox
2#
3# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
4#
Denys Vlasenko0ef64bd2010-08-16 20:14:46 +02005# Licensed under GPLv2 or later, see file LICENSE in this source tree.
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00006#
7
8lib-y:=
Denis Vlasenko856be772007-08-17 08:29:48 +00009
Denys Vlasenkod70e0e92010-06-08 12:15:11 +020010INSERT
11
Denis Vlasenko856be772007-08-17 08:29:48 +000012lib-$(CONFIG_SLATTACH) += \
13 utils.o
14
Denys Vlasenko12714ff2018-01-13 21:37:20 +010015lib-$(CONFIG_TC) += \
16 libnetlink.o \
17 ll_map.o \
18 ll_proto.o \
19 utils.o
20
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000021lib-$(CONFIG_IP) += \
22 ip_parse_common_args.o \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000023 libnetlink.o \
24 ll_addr.o \
25 ll_map.o \
26 ll_proto.o \
27 ll_types.o \
28 rt_names.o \
29 rtm_map.o \
30 utils.o
31
Bernhard Reutner-Fischerc2b3e372007-05-15 09:33:32 +000032lib-$(CONFIG_FEATURE_IP_ADDRESS) += \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000033 ip_parse_common_args.o \
34 ipaddress.o \
35 libnetlink.o \
36 ll_addr.o \
37 ll_map.o \
38 ll_types.o \
39 rt_names.o \
40 utils.o
41
Bernhard Reutner-Fischerc2b3e372007-05-15 09:33:32 +000042lib-$(CONFIG_FEATURE_IP_LINK) += \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000043 ip_parse_common_args.o \
44 ipaddress.o \
45 iplink.o \
46 libnetlink.o \
47 ll_addr.o \
48 ll_map.o \
49 ll_types.o \
50 rt_names.o \
51 utils.o
52
Bernhard Reutner-Fischerc2b3e372007-05-15 09:33:32 +000053lib-$(CONFIG_FEATURE_IP_ROUTE) += \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000054 ip_parse_common_args.o \
55 iproute.o \
56 libnetlink.o \
57 ll_map.o \
58 rt_names.o \
59 rtm_map.o \
60 utils.o
61
Bernhard Reutner-Fischerc2b3e372007-05-15 09:33:32 +000062lib-$(CONFIG_FEATURE_IP_TUNNEL) += \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000063 ip_parse_common_args.o \
64 iptunnel.o \
65 rt_names.o \
66 utils.o
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +000067
Bernhard Reutner-Fischerc2b3e372007-05-15 09:33:32 +000068lib-$(CONFIG_FEATURE_IP_RULE) += \
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +000069 ip_parse_common_args.o \
70 iprule.o \
Denys Vlasenko9cc3d3a2016-12-23 02:42:26 +010071 libnetlink.o \
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +000072 rt_names.o \
Denys Vlasenko9cc3d3a2016-12-23 02:42:26 +010073 rtm_map.o \
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +000074 utils.o
Curt Brune69934702015-10-14 12:53:47 +020075
76lib-$(CONFIG_FEATURE_IP_NEIGH) += \
77 ip_parse_common_args.o \
78 ipneigh.o \
79 libnetlink.o \
Denys Vlasenko9cc3d3a2016-12-23 02:42:26 +010080 ll_addr.o \
Curt Brune69934702015-10-14 12:53:47 +020081 ll_map.o \
82 rt_names.o \
83 utils.o