blob: 5f9dd32b6e07901ff6e791541a7fdf38943f4e77 [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#
5# Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
6#
7
8lib-y:=
Denis Vlasenko856be772007-08-17 08:29:48 +00009
10lib-$(CONFIG_SLATTACH) += \
11 utils.o
12
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000013lib-$(CONFIG_IP) += \
14 ip_parse_common_args.o \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000015 libnetlink.o \
16 ll_addr.o \
17 ll_map.o \
18 ll_proto.o \
19 ll_types.o \
20 rt_names.o \
21 rtm_map.o \
22 utils.o
23
Bernhard Reutner-Fischerc2b3e372007-05-15 09:33:32 +000024lib-$(CONFIG_FEATURE_IP_ADDRESS) += \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000025 ip_parse_common_args.o \
26 ipaddress.o \
27 libnetlink.o \
28 ll_addr.o \
29 ll_map.o \
30 ll_types.o \
31 rt_names.o \
32 utils.o
33
Bernhard Reutner-Fischerc2b3e372007-05-15 09:33:32 +000034lib-$(CONFIG_FEATURE_IP_LINK) += \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000035 ip_parse_common_args.o \
36 ipaddress.o \
37 iplink.o \
38 libnetlink.o \
39 ll_addr.o \
40 ll_map.o \
41 ll_types.o \
42 rt_names.o \
43 utils.o
44
Bernhard Reutner-Fischerc2b3e372007-05-15 09:33:32 +000045lib-$(CONFIG_FEATURE_IP_ROUTE) += \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000046 ip_parse_common_args.o \
47 iproute.o \
48 libnetlink.o \
49 ll_map.o \
50 rt_names.o \
51 rtm_map.o \
52 utils.o
53
Bernhard Reutner-Fischerc2b3e372007-05-15 09:33:32 +000054lib-$(CONFIG_FEATURE_IP_TUNNEL) += \
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000055 ip_parse_common_args.o \
56 iptunnel.o \
57 rt_names.o \
58 utils.o
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +000059
Bernhard Reutner-Fischerc2b3e372007-05-15 09:33:32 +000060lib-$(CONFIG_FEATURE_IP_RULE) += \
Bernhard Reutner-Fischer921f5df2006-11-21 15:36:08 +000061 ip_parse_common_args.o \
62 iprule.o \
63 rt_names.o \
64 utils.o