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