source: branches/2.2.2/mindi-busybox/debianutils/Makefile.in @ 1247

Last change on this file since 1247 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.0 KB
Line 
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
7DEBIANUTILS_AR:=debianutils.a
8ifndef $(DEBIANUTILS_DIR)
9DEBIANUTILS_DIR:=$(top_builddir)/debianutils/
10endif
11srcdir=$(top_srcdir)/debianutils
12
13DEBIANUTILS-y:=
14DEBIANUTILS-$(CONFIG_MKTEMP)        += mktemp.o
15DEBIANUTILS-$(CONFIG_PIPE_PROGRESS) += pipe_progress.o
16DEBIANUTILS-$(CONFIG_READLINK)      += readlink.o
17DEBIANUTILS-$(CONFIG_RUN_PARTS)     += run_parts.o
18DEBIANUTILS-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o
19DEBIANUTILS-$(CONFIG_WHICH)     += which.o
20
21ifneq ($(strip $(DEBIANUTILS-y)),)
22libraries-y+=$(DEBIANUTILS_DIR)$(DEBIANUTILS_AR)
23endif
24DEBIANUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(DEBIANUTILS-y))
25DEBIANUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
26APPLET_SRC-y+=$(DEBIANUTILS_SRC-y)
27APPLET_SRC-a+=$(DEBIANUTILS_SRC-a)
28
29$(DEBIANUTILS_DIR)$(DEBIANUTILS_AR): $(patsubst %,$(DEBIANUTILS_DIR)%, $(DEBIANUTILS-y))
30    $(do_ar)
31
32$(DEBIANUTILS_DIR)%.o: $(srcdir)/%.c
33    $(compile.c)
Note: See TracBrowser for help on using the repository browser.