2002-11-10 07:03:55 +05:30
|
|
|
# Makefile for busybox
|
|
|
|
#
|
2004-03-15 13:59:22 +05:30
|
|
|
# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
|
2002-11-10 07:03:55 +05:30
|
|
|
#
|
2006-01-15 19:34:57 +05:30
|
|
|
# Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
|
2002-11-10 07:03:55 +05:30
|
|
|
|
2006-03-09 14:33:37 +05:30
|
|
|
srcdir:=$(top_srcdir)/networking/libiproute
|
|
|
|
objdir:=$(top_builddir)/networking/libiproute
|
2002-11-10 07:03:55 +05:30
|
|
|
|
2002-11-10 15:50:45 +05:30
|
|
|
LIBIPROUTE-$(CONFIG_IP) += \
|
2006-03-02 04:24:48 +05:30
|
|
|
ip_parse_common_args \
|
|
|
|
ipaddress \
|
|
|
|
iplink \
|
|
|
|
iproute \
|
|
|
|
iptunnel \
|
|
|
|
libnetlink \
|
|
|
|
ll_addr \
|
|
|
|
ll_map \
|
|
|
|
ll_proto \
|
|
|
|
ll_types \
|
|
|
|
rt_names \
|
|
|
|
rtm_map \
|
|
|
|
utils
|
2002-11-10 07:03:55 +05:30
|
|
|
|
2004-04-12 07:52:39 +05:30
|
|
|
LIBIPROUTE-$(CONFIG_IPADDR) += \
|
2006-03-02 04:24:48 +05:30
|
|
|
ip_parse_common_args \
|
|
|
|
ipaddress \
|
|
|
|
libnetlink \
|
|
|
|
ll_addr \
|
|
|
|
ll_map \
|
|
|
|
ll_types \
|
|
|
|
rt_names \
|
|
|
|
utils
|
2004-04-12 07:52:39 +05:30
|
|
|
|
|
|
|
LIBIPROUTE-$(CONFIG_IPLINK) += \
|
2006-03-02 04:24:48 +05:30
|
|
|
ip_parse_common_args \
|
|
|
|
ipaddress \
|
|
|
|
iplink \
|
|
|
|
libnetlink \
|
|
|
|
ll_addr \
|
|
|
|
ll_map \
|
|
|
|
ll_types \
|
|
|
|
rt_names \
|
|
|
|
utils
|
2004-04-12 07:52:39 +05:30
|
|
|
|
|
|
|
LIBIPROUTE-$(CONFIG_IPROUTE) += \
|
2006-03-02 04:24:48 +05:30
|
|
|
ip_parse_common_args \
|
|
|
|
iproute \
|
|
|
|
libnetlink \
|
|
|
|
ll_map \
|
|
|
|
rt_names \
|
|
|
|
rtm_map \
|
|
|
|
utils
|
2004-04-12 07:52:39 +05:30
|
|
|
|
|
|
|
LIBIPROUTE-$(CONFIG_IPTUNNEL) += \
|
2006-03-02 04:24:48 +05:30
|
|
|
ip_parse_common_args \
|
|
|
|
iptunnel \
|
|
|
|
rt_names \
|
|
|
|
utils
|
2004-04-12 07:52:39 +05:30
|
|
|
|
2006-01-15 19:34:57 +05:30
|
|
|
LIBIPROUTE-y:=$(sort $(LIBIPROUTE-y))
|
|
|
|
|
2006-03-02 04:24:48 +05:30
|
|
|
LIBIPROUTE_SRC-y:=$(patsubst %,$(srcdir)/%.c,$(LIBIPROUTE-y))
|
2006-01-15 19:34:57 +05:30
|
|
|
LIBIPROUTE_SRC-a:=$(wildcard $(srcdir)/*.c)
|
|
|
|
LIBRARY_SRC-y+=$(LIBIPROUTE_SRC-y)
|
|
|
|
LIBRARY_SRC-a+=$(LIBIPROUTE_SRC-a)
|
|
|
|
|
2006-03-02 04:24:48 +05:30
|
|
|
networking_libiproute_OBJ$(os):=$(patsubst %,$(objdir)/%$(os),$(LIBIPROUTE-y))
|
2006-01-15 19:34:57 +05:30
|
|
|
|
2006-03-09 14:33:37 +05:30
|
|
|
$(networking_libiproute_OBJ$(os)): $(objdir)/%$(os): $(srcdir)/%.c
|
2006-03-09 22:19:01 +05:30
|
|
|
$(objdir)/libiproute.a: $(networking_libiproute_OBJ$(os))
|
|
|
|
libraries-y:=$(libraries-y) $(objdir)/libiproute.a
|
2006-03-09 14:33:37 +05:30
|
|
|
|