Last change
on this file since 1730 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:
812 bytes
|
Rev | Line | |
---|
[821] | 1 | # Makefile for busybox
|
---|
| 2 | #
|
---|
| 3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
---|
| 4 | #
|
---|
| 5 | # Licensed under the GPL v2, see the file LICENSE in this tarball.
|
---|
| 6 |
|
---|
| 7 | FINDUTILS_AR:=findutils.a
|
---|
| 8 | ifndef $(FINDUTILS_DIR)
|
---|
| 9 | FINDUTILS_DIR:=$(top_builddir)/findutils/
|
---|
| 10 | endif
|
---|
| 11 | srcdir=$(top_srcdir)/findutils
|
---|
| 12 |
|
---|
| 13 | FINDUTILS-y:=
|
---|
| 14 | FINDUTILS-$(CONFIG_FIND) += find.o
|
---|
| 15 | FINDUTILS-$(CONFIG_GREP) += grep.o
|
---|
| 16 | FINDUTILS-$(CONFIG_XARGS) += xargs.o
|
---|
| 17 |
|
---|
| 18 | ifneq ($(strip $(FINDUTILS-y)),)
|
---|
| 19 | libraries-y+=$(FINDUTILS_DIR)$(FINDUTILS_AR)
|
---|
| 20 | endif
|
---|
| 21 |
|
---|
| 22 | FINDUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(FINDUTILS-y))
|
---|
| 23 | FINDUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
|
---|
| 24 | APPLET_SRC-y+=$(FINDUTILS_SRC-y)
|
---|
| 25 | APPLET_SRC-a+=$(FINDUTILS_SRC-a)
|
---|
| 26 |
|
---|
| 27 | $(FINDUTILS_DIR)$(FINDUTILS_AR): $(patsubst %,$(FINDUTILS_DIR)%, $(FINDUTILS-y))
|
---|
| 28 | $(do_ar)
|
---|
| 29 |
|
---|
| 30 | $(FINDUTILS_DIR)%.o: $(srcdir)/%.c
|
---|
| 31 | $(compile.c)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.