source: MondoRescue/branches/stable/mindi-busybox/findutils/Makefile.in@ 863

Last change on this file since 863 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
RevLine 
[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
7FINDUTILS_AR:=findutils.a
8ifndef $(FINDUTILS_DIR)
9FINDUTILS_DIR:=$(top_builddir)/findutils/
10endif
11srcdir=$(top_srcdir)/findutils
12
13FINDUTILS-y:=
14FINDUTILS-$(CONFIG_FIND) += find.o
15FINDUTILS-$(CONFIG_GREP) += grep.o
16FINDUTILS-$(CONFIG_XARGS) += xargs.o
17
18ifneq ($(strip $(FINDUTILS-y)),)
19libraries-y+=$(FINDUTILS_DIR)$(FINDUTILS_AR)
20endif
21
22FINDUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(FINDUTILS-y))
23FINDUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
24APPLET_SRC-y+=$(FINDUTILS_SRC-y)
25APPLET_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.