aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-13 19:04:00 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-13 19:04:00 +0000
commitdf10094870c28cc0c6c5577c9aa03b8ede9cb8a6 (patch)
tree49493696039b285aa751a5bc884fc70c9c85e878 /networking/libiproute
parentc5b1d4d6b14f22b5e2f7ae42eb01bf2746b8001c (diff)
downloadbusybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.tar.gz
busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.tar.bz2
busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.zip
- revert back to r14406
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/Makefile.in106
1 files changed, 58 insertions, 48 deletions
diff --git a/networking/libiproute/Makefile.in b/networking/libiproute/Makefile.in
index 3ad77ecfc..f713502b3 100644
--- a/networking/libiproute/Makefile.in
+++ b/networking/libiproute/Makefile.in
@@ -3,71 +3,81 @@
3# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> 3# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
4# 4#
5# Licensed under the GPL v2 or later, see the file LICENSE in this tarball. 5# Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
6#
6 7
7srcdir:=$(top_srcdir)/networking/libiproute 8LIBIPROUTE_AR:=libiproute.a
8objdir:=$(top_builddir)/networking/libiproute 9ifndef $(LIBIPROUTE_DIR)
10LIBIPROUTE_DIR:=$(top_builddir)/networking/libiproute
11endif
12srcdir=$(top_srcdir)/networking/libiproute
9 13
14LIBIPROUTE-y:=
10LIBIPROUTE-$(CONFIG_IP) += \ 15LIBIPROUTE-$(CONFIG_IP) += \
11 ip_parse_common_args \ 16 ip_parse_common_args.o \
12 ipaddress \ 17 ipaddress.o \
13 iplink \ 18 iplink.o \
14 iproute \ 19 iproute.o \
15 iptunnel \ 20 iptunnel.o \
16 libnetlink \ 21 libnetlink.o \
17 ll_addr \ 22 ll_addr.o \
18 ll_map \ 23 ll_map.o \
19 ll_proto \ 24 ll_proto.o \
20 ll_types \ 25 ll_types.o \
21 rt_names \ 26 rt_names.o \
22 rtm_map \ 27 rtm_map.o \
23 utils 28 utils.o
24 29
25LIBIPROUTE-$(CONFIG_IPADDR) += \ 30LIBIPROUTE-$(CONFIG_IPADDR) += \
26 ip_parse_common_args \ 31 ip_parse_common_args.o \
27 ipaddress \ 32 ipaddress.o \
28 libnetlink \ 33 libnetlink.o \
29 ll_addr \ 34 ll_addr.o \
30 ll_map \ 35 ll_map.o \
31 ll_types \ 36 ll_types.o \
32 rt_names \ 37 rt_names.o \
33 utils 38 utils.o
34 39
35LIBIPROUTE-$(CONFIG_IPLINK) += \ 40LIBIPROUTE-$(CONFIG_IPLINK) += \
36 ip_parse_common_args \ 41 ip_parse_common_args.o \
37 ipaddress \ 42 ipaddress.o \
38 iplink \ 43 iplink.o \
39 libnetlink \ 44 libnetlink.o \
40 ll_addr \ 45 ll_addr.o \
41 ll_map \ 46 ll_map.o \
42 ll_types \ 47 ll_types.o \
43 rt_names \ 48 rt_names.o \
44 utils 49 utils.o
45 50
46LIBIPROUTE-$(CONFIG_IPROUTE) += \ 51LIBIPROUTE-$(CONFIG_IPROUTE) += \
47 ip_parse_common_args \ 52 ip_parse_common_args.o \
48 iproute \ 53 iproute.o \
49 libnetlink \ 54 libnetlink.o \
50 ll_map \ 55 ll_map.o \
51 rt_names \ 56 rt_names.o \
52 rtm_map \ 57 rtm_map.o \
53 utils 58 utils.o
54 59
55LIBIPROUTE-$(CONFIG_IPTUNNEL) += \ 60LIBIPROUTE-$(CONFIG_IPTUNNEL) += \
56 ip_parse_common_args \ 61 ip_parse_common_args.o \
57 iptunnel \ 62 iptunnel.o \
58 rt_names \ 63 rt_names.o \
59 utils 64 utils.o
60 65
61LIBIPROUTE-y:=$(sort $(LIBIPROUTE-y)) 66LIBIPROUTE-y:=$(sort $(LIBIPROUTE-y))
62 67
63LIBIPROUTE_SRC-y:=$(patsubst %,$(srcdir)/%.c,$(LIBIPROUTE-y)) 68LIBIPROUTE_SRC-y:=$(patsubst %,$(srcdir)/%,$(subst .o,.c,$(LIBIPROUTE-y)))
64LIBIPROUTE_SRC-a:=$(wildcard $(srcdir)/*.c) 69LIBIPROUTE_SRC-a:=$(wildcard $(srcdir)/*.c)
65LIBRARY_SRC-y+=$(LIBIPROUTE_SRC-y) 70LIBRARY_SRC-y+=$(LIBIPROUTE_SRC-y)
66LIBRARY_SRC-a+=$(LIBIPROUTE_SRC-a) 71LIBRARY_SRC-a+=$(LIBIPROUTE_SRC-a)
67 72
68networking_libiproute_OBJ$(os):=$(patsubst %,$(objdir)/%$(os),$(LIBIPROUTE-y)) 73LIBIPROUTE-obj:=$(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR)
74
75ifneq ($(strip $(LIBIPROUTE-y)),)
76libraries-y+=$(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR)
77endif
69 78
70$(networking_libiproute_OBJ$(os)): $(objdir)/%$(os): $(srcdir)/%.c 79$(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR): $(patsubst %,$(LIBIPROUTE_DIR)/%,$(LIBIPROUTE-y))
71$(objdir)/libiproute.a: $(networking_libiproute_OBJ$(os)) 80 $(do_ar)
72libraries-y:=$(libraries-y) $(objdir)/libiproute.a
73 81
82$(LIBIPROUTE_DIR)/%.o: $(srcdir)/%.c
83 $(compile.c)