source: branches/stable/mindi-busybox/networking/libiproute/Makefile.in @ 821

Last change on this file since 821 was 821, checked in by Bruno Cornec, 14 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

File size: 1.6 KB
Line 
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
8LIBIPROUTE_AR:=libiproute.a
9ifndef $(LIBIPROUTE_DIR)
10LIBIPROUTE_DIR:=$(top_builddir)/networking/libiproute
11endif
12srcdir=$(top_srcdir)/networking/libiproute
13
14LIBIPROUTE-y:=
15LIBIPROUTE-$(CONFIG_IP) += \
16    ip_parse_common_args.o \
17    ipaddress.o \
18    iplink.o \
19    iproute.o \
20    iptunnel.o \
21    libnetlink.o \
22    ll_addr.o \
23    ll_map.o \
24    ll_proto.o \
25    ll_types.o \
26    rt_names.o \
27    rtm_map.o \
28    utils.o
29
30LIBIPROUTE-$(CONFIG_IPADDR) += \
31    ip_parse_common_args.o \
32    ipaddress.o \
33    libnetlink.o \
34    ll_addr.o \
35    ll_map.o \
36    ll_types.o \
37    rt_names.o \
38    utils.o
39
40LIBIPROUTE-$(CONFIG_IPLINK) += \
41    ip_parse_common_args.o \
42    ipaddress.o \
43    iplink.o \
44    libnetlink.o \
45    ll_addr.o \
46    ll_map.o \
47    ll_types.o \
48    rt_names.o \
49    utils.o
50
51LIBIPROUTE-$(CONFIG_IPROUTE) += \
52    ip_parse_common_args.o \
53    iproute.o \
54    libnetlink.o \
55    ll_map.o \
56    rt_names.o \
57    rtm_map.o \
58    utils.o
59
60LIBIPROUTE-$(CONFIG_IPTUNNEL) += \
61    ip_parse_common_args.o \
62    iptunnel.o \
63    rt_names.o \
64    utils.o
65
66LIBIPROUTE-y:=$(sort $(LIBIPROUTE-y))
67
68LIBIPROUTE_SRC-y:=$(patsubst %,$(srcdir)/%,$(subst .o,.c,$(LIBIPROUTE-y)))
69LIBIPROUTE_SRC-a:=$(wildcard $(srcdir)/*.c)
70LIBRARY_SRC-y+=$(LIBIPROUTE_SRC-y)
71LIBRARY_SRC-a+=$(LIBIPROUTE_SRC-a)
72
73LIBIPROUTE-obj:=$(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR)
74
75ifneq ($(strip $(LIBIPROUTE-y)),)
76libraries-y+=$(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR)
77endif
78
79$(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR): $(patsubst %,$(LIBIPROUTE_DIR)/%,$(LIBIPROUTE-y))
80    $(do_ar)
81
82$(LIBIPROUTE_DIR)/%.o: $(srcdir)/%.c
83    $(compile.c)
Note: See TracBrowser for help on using the repository browser.