aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/Makefile.in14
1 files changed, 2 insertions, 12 deletions
diff --git a/procps/Makefile.in b/procps/Makefile.in
index 261c49b02..32314c3c5 100644
--- a/procps/Makefile.in
+++ b/procps/Makefile.in
@@ -4,13 +4,9 @@
4# 4#
5# Licensed under the GPL v2, see the file LICENSE in this tarball. 5# Licensed under the GPL v2, see the file LICENSE in this tarball.
6 6
7PROCPS_AR:=procps.a
8ifndef $(PROCPS_DIR)
9PROCPS_DIR:=$(top_builddir)/procps/
10endif
11srcdir=$(top_srcdir)/procps 7srcdir=$(top_srcdir)/procps
8objdir=$(top_builddir)/procps
12 9
13PROCPS-y:=
14PROCPS-$(CONFIG_FREE) += free.o 10PROCPS-$(CONFIG_FREE) += free.o
15PROCPS-$(CONFIG_KILL) += kill.o 11PROCPS-$(CONFIG_KILL) += kill.o
16PROCPS-$(CONFIG_PIDOF) += pidof.o 12PROCPS-$(CONFIG_PIDOF) += pidof.o
@@ -21,17 +17,11 @@ PROCPS-$(CONFIG_TOP) += top.o
21PROCPS-$(CONFIG_UPTIME) += uptime.o 17PROCPS-$(CONFIG_UPTIME) += uptime.o
22PROCPS-$(CONFIG_FUSER) += fuser.o 18PROCPS-$(CONFIG_FUSER) += fuser.o
23 19
24ifneq ($(strip $(PROCPS-y)),)
25libraries-y+=$(PROCPS_DIR)$(PROCPS_AR)
26endif
27 20
28PROCPS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(PROCPS-y)) 21PROCPS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(PROCPS-y))
29PROCPS_SRC-a:=$(wildcard $(srcdir)/*.c) 22PROCPS_SRC-a:=$(wildcard $(srcdir)/*.c)
30APPLET_SRC-y+=$(PROCPS_SRC-y) 23APPLET_SRC-y+=$(PROCPS_SRC-y)
31APPLET_SRC-a+=$(PROCPS_SRC-a) 24APPLET_SRC-a+=$(PROCPS_SRC-a)
32 25
33$(PROCPS_DIR)$(PROCPS_AR): $(patsubst %,$(PROCPS_DIR)%, $(PROCPS-y)) 26procps_OBJ:= $(patsubst %,$(objdir)/%,$(PROCPS-y))
34 $(do_ar)
35 27
36$(PROCPS_DIR)%.o: $(srcdir)/%.c
37 $(compile.c)