- fixes parallel builds (make -j)
[platform/upstream/busybox.git] / networking / libiproute / Makefile.in
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
8 srcdir=$(top_srcdir)/networking/libiproute
9 objdir=$(top_builddir)/networking/libiproute
10
11 LIBIPROUTE-$(CONFIG_IP) += \
12         ip_parse_common_args \
13         ipaddress \
14         iplink \
15         iproute \
16         iptunnel \
17         libnetlink \
18         ll_addr \
19         ll_map \
20         ll_proto \
21         ll_types \
22         rt_names \
23         rtm_map \
24         utils
25
26 LIBIPROUTE-$(CONFIG_IPADDR) += \
27         ip_parse_common_args \
28         ipaddress \
29         libnetlink \
30         ll_addr \
31         ll_map \
32         ll_types \
33         rt_names \
34         utils
35
36 LIBIPROUTE-$(CONFIG_IPLINK) += \
37         ip_parse_common_args \
38         ipaddress \
39         iplink \
40         libnetlink \
41         ll_addr \
42         ll_map \
43         ll_types \
44         rt_names \
45         utils
46
47 LIBIPROUTE-$(CONFIG_IPROUTE) += \
48         ip_parse_common_args \
49         iproute \
50         libnetlink \
51         ll_map \
52         rt_names \
53         rtm_map \
54         utils
55
56 LIBIPROUTE-$(CONFIG_IPTUNNEL) += \
57         ip_parse_common_args \
58         iptunnel \
59         rt_names \
60         utils
61
62 LIBIPROUTE-y:=$(sort $(LIBIPROUTE-y))
63
64 LIBIPROUTE_SRC-y:=$(patsubst %,$(srcdir)/%.c,$(LIBIPROUTE-y))
65 LIBIPROUTE_SRC-a:=$(wildcard $(srcdir)/*.c)
66 LIBRARY_SRC-y+=$(LIBIPROUTE_SRC-y)
67 LIBRARY_SRC-a+=$(LIBIPROUTE_SRC-a)
68
69 networking_libiproute_OBJ$(os):=$(patsubst %,$(objdir)/%$(os),$(LIBIPROUTE-y))
70