Last change
on this file since 3692 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.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 |
|
---|
7 | DEBIANUTILS_AR:=debianutils.a
|
---|
8 | ifndef $(DEBIANUTILS_DIR)
|
---|
9 | DEBIANUTILS_DIR:=$(top_builddir)/debianutils/
|
---|
10 | endif
|
---|
11 | srcdir=$(top_srcdir)/debianutils
|
---|
12 |
|
---|
13 | DEBIANUTILS-y:=
|
---|
14 | DEBIANUTILS-$(CONFIG_MKTEMP) += mktemp.o
|
---|
15 | DEBIANUTILS-$(CONFIG_PIPE_PROGRESS) += pipe_progress.o
|
---|
16 | DEBIANUTILS-$(CONFIG_READLINK) += readlink.o
|
---|
17 | DEBIANUTILS-$(CONFIG_RUN_PARTS) += run_parts.o
|
---|
18 | DEBIANUTILS-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o
|
---|
19 | DEBIANUTILS-$(CONFIG_WHICH) += which.o
|
---|
20 |
|
---|
21 | ifneq ($(strip $(DEBIANUTILS-y)),)
|
---|
22 | libraries-y+=$(DEBIANUTILS_DIR)$(DEBIANUTILS_AR)
|
---|
23 | endif
|
---|
24 | DEBIANUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(DEBIANUTILS-y))
|
---|
25 | DEBIANUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
|
---|
26 | APPLET_SRC-y+=$(DEBIANUTILS_SRC-y)
|
---|
27 | APPLET_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.