Last change
on this file since 1611 was 821, checked in by Bruno Cornec, 18 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
|
Rev | Line | |
---|
[821] | 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 | LIBIPROUTE_AR:=libiproute.a
|
---|
| 9 | ifndef $(LIBIPROUTE_DIR)
|
---|
| 10 | LIBIPROUTE_DIR:=$(top_builddir)/networking/libiproute
|
---|
| 11 | endif
|
---|
| 12 | srcdir=$(top_srcdir)/networking/libiproute
|
---|
| 13 |
|
---|
| 14 | LIBIPROUTE-y:=
|
---|
| 15 | LIBIPROUTE-$(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 |
|
---|
| 30 | LIBIPROUTE-$(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 |
|
---|
| 40 | LIBIPROUTE-$(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 |
|
---|
| 51 | LIBIPROUTE-$(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 |
|
---|
| 60 | LIBIPROUTE-$(CONFIG_IPTUNNEL) += \
|
---|
| 61 | ip_parse_common_args.o \
|
---|
| 62 | iptunnel.o \
|
---|
| 63 | rt_names.o \
|
---|
| 64 | utils.o
|
---|
| 65 |
|
---|
| 66 | LIBIPROUTE-y:=$(sort $(LIBIPROUTE-y))
|
---|
| 67 |
|
---|
| 68 | LIBIPROUTE_SRC-y:=$(patsubst %,$(srcdir)/%,$(subst .o,.c,$(LIBIPROUTE-y)))
|
---|
| 69 | LIBIPROUTE_SRC-a:=$(wildcard $(srcdir)/*.c)
|
---|
| 70 | LIBRARY_SRC-y+=$(LIBIPROUTE_SRC-y)
|
---|
| 71 | LIBRARY_SRC-a+=$(LIBIPROUTE_SRC-a)
|
---|
| 72 |
|
---|
| 73 | LIBIPROUTE-obj:=$(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR)
|
---|
| 74 |
|
---|
| 75 | ifneq ($(strip $(LIBIPROUTE-y)),)
|
---|
| 76 | libraries-y+=$(LIBIPROUTE_DIR)/$(LIBIPROUTE_AR)
|
---|
| 77 | endif
|
---|
| 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.