Last change
on this file since 2761 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:
954 bytes
|
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 | PROCPS_AR:=procps.a
|
---|
8 | ifndef $(PROCPS_DIR)
|
---|
9 | PROCPS_DIR:=$(top_builddir)/procps/
|
---|
10 | endif
|
---|
11 | srcdir=$(top_srcdir)/procps
|
---|
12 |
|
---|
13 | PROCPS-y:=
|
---|
14 | PROCPS-$(CONFIG_FREE) += free.o
|
---|
15 | PROCPS-$(CONFIG_KILL) += kill.o
|
---|
16 | PROCPS-$(CONFIG_PIDOF) += pidof.o
|
---|
17 | PROCPS-$(CONFIG_PS) += ps.o
|
---|
18 | PROCPS-$(CONFIG_RENICE) += renice.o
|
---|
19 | PROCPS-$(CONFIG_BB_SYSCTL) += sysctl.o
|
---|
20 | PROCPS-$(CONFIG_TOP) += top.o
|
---|
21 | PROCPS-$(CONFIG_UPTIME) += uptime.o
|
---|
22 | PROCPS-$(CONFIG_FUSER) += fuser.o
|
---|
23 |
|
---|
24 | ifneq ($(strip $(PROCPS-y)),)
|
---|
25 | libraries-y+=$(PROCPS_DIR)$(PROCPS_AR)
|
---|
26 | endif
|
---|
27 |
|
---|
28 | PROCPS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(PROCPS-y))
|
---|
29 | PROCPS_SRC-a:=$(wildcard $(srcdir)/*.c)
|
---|
30 | APPLET_SRC-y+=$(PROCPS_SRC-y)
|
---|
31 | APPLET_SRC-a+=$(PROCPS_SRC-a)
|
---|
32 |
|
---|
33 | $(PROCPS_DIR)$(PROCPS_AR): $(patsubst %,$(PROCPS_DIR)%, $(PROCPS-y))
|
---|
34 | $(do_ar)
|
---|
35 |
|
---|
36 | $(PROCPS_DIR)%.o: $(srcdir)/%.c
|
---|
37 | $(compile.c)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.