aboutsummaryrefslogtreecommitdiff
path: root/applets/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'applets/Makefile.in')
-rw-r--r--applets/Makefile.in20
1 files changed, 5 insertions, 15 deletions
diff --git a/applets/Makefile.in b/applets/Makefile.in
index 02bcda93b..64aefc017 100644
--- a/applets/Makefile.in
+++ b/applets/Makefile.in
@@ -4,23 +4,13 @@
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
7APPLETS_AR:=applets.a
8ifndef $(APPLETS_DIR)
9APPLETS_DIR:=$(top_builddir)/applets/
10endif
11srcdir=$(top_srcdir)/applets 7srcdir=$(top_srcdir)/applets
8objdir=$(top_builddir)/applets
12 9
13APPLET_SRC:= $(patsubst %,$(srcdir)/%,applets.c busybox.c version.c) 10APPLETS_SRC:= $(patsubst %,$(srcdir)/%,applets.c busybox.c version.c)
14APPLET_OBJ:= $(patsubst $(srcdir)/%.c,$(APPLETS_DIR)%.o, $(APPLET_SRC))
15 11
16APPLET_SRC-y+=$(APPLET_SRC) 12APPLET_SRC-y+=$(APPLETS_SRC)
17APPLET_SRC-a+=$(APPLET_SRC) 13APPLET_SRC-a+=$(APPLETS_SRC)
18 14
19libraries-y+=$(APPLETS_DIR)$(APPLETS_AR) 15applets_OBJ:=$(patsubst $(srcdir)/%.c,$(objdir)/%.o,$(APPLETS_SRC))
20 16
21$(APPLETS_DIR)$(APPLETS_AR): $(APPLET_OBJ)
22 $(do_ar)
23
24$(APPLET_OBJ): $(top_builddir)/.config
25$(APPLET_OBJ): $(APPLETS_DIR)%.o: $(srcdir)/%.c
26 $(compile.c)