aboutsummaryrefslogtreecommitdiff
path: root/procps/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'procps/Makefile.in')
-rw-r--r--procps/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/procps/Makefile.in b/procps/Makefile.in
index 782944e8f..b7eb7dca1 100644
--- a/procps/Makefile.in
+++ b/procps/Makefile.in
@@ -23,6 +23,11 @@ PROCPS-$(CONFIG_FUSER) += fuser.o
libraries-y+=$(PROCPS_DIR)$(PROCPS_AR)
+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)
+
$(PROCPS_DIR)$(PROCPS_AR): $(patsubst %,$(PROCPS_DIR)%, $(PROCPS-y))
$(AR) $(ARFLAGS) $@ $(patsubst %,$(PROCPS_DIR)%, $(PROCPS-y))