2002-04-12 17:35:57 +05:30
|
|
|
# Makefile for busybox
|
|
|
|
#
|
2005-09-24 11:31:57 +05:30
|
|
|
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
2002-04-12 17:35:57 +05:30
|
|
|
#
|
2005-09-24 11:31:57 +05:30
|
|
|
# Licensed under the GPL v2, see the file LICENSE in this tarball.
|
2002-04-12 17:35:57 +05:30
|
|
|
|
2006-03-09 14:33:37 +05:30
|
|
|
srcdir:=$(top_srcdir)/procps
|
|
|
|
objdir:=$(top_builddir)/procps
|
2002-04-12 17:35:57 +05:30
|
|
|
|
|
|
|
PROCPS-$(CONFIG_FREE) += free.o
|
|
|
|
PROCPS-$(CONFIG_KILL) += kill.o
|
|
|
|
PROCPS-$(CONFIG_PIDOF) += pidof.o
|
|
|
|
PROCPS-$(CONFIG_PS) += ps.o
|
|
|
|
PROCPS-$(CONFIG_RENICE) += renice.o
|
2005-09-13 03:12:48 +05:30
|
|
|
PROCPS-$(CONFIG_BB_SYSCTL) += sysctl.o
|
2002-09-18 03:44:58 +05:30
|
|
|
PROCPS-$(CONFIG_TOP) += top.o
|
2002-04-12 17:35:57 +05:30
|
|
|
PROCPS-$(CONFIG_UPTIME) += uptime.o
|
2005-10-28 18:35:12 +05:30
|
|
|
PROCPS-$(CONFIG_FUSER) += fuser.o
|
2002-04-12 17:35:57 +05:30
|
|
|
|
|
|
|
|
2006-01-15 19:34:57 +05:30
|
|
|
PROCPS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(PROCPS-y))
|
|
|
|
PROCPS_SRC-a:=$(wildcard $(srcdir)/*.c)
|
|
|
|
APPLET_SRC-y+=$(PROCPS_SRC-y)
|
|
|
|
APPLET_SRC-a+=$(PROCPS_SRC-a)
|
|
|
|
|
2006-03-02 04:24:48 +05:30
|
|
|
procps_OBJ:= $(patsubst %,$(objdir)/%,$(PROCPS-y))
|
2002-04-12 17:35:57 +05:30
|
|
|
|
2006-03-09 14:33:37 +05:30
|
|
|
$(procps_OBJ): $(objdir)/%.o: $(srcdir)/%.c
|
|
|
|
$(objdir)/procps.a: $(procps_OBJ)
|
|
|
|
libraries-y:=$(libraries-y) $(objdir)/procps.a
|
|
|
|
|