3 # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
5 # Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
8 srcdir=$(top_srcdir)/networking/libiproute
9 objdir=$(top_builddir)/networking/libiproute
11 LIBIPROUTE-$(CONFIG_IP) += \
12 ip_parse_common_args \
26 LIBIPROUTE-$(CONFIG_IPADDR) += \
27 ip_parse_common_args \
36 LIBIPROUTE-$(CONFIG_IPLINK) += \
37 ip_parse_common_args \
47 LIBIPROUTE-$(CONFIG_IPROUTE) += \
48 ip_parse_common_args \
56 LIBIPROUTE-$(CONFIG_IPTUNNEL) += \
57 ip_parse_common_args \
62 LIBIPROUTE-y:=$(sort $(LIBIPROUTE-y))
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)
69 networking_libiproute_OBJ$(os):=$(patsubst %,$(objdir)/%$(os),$(LIBIPROUTE-y))