aboutsummaryrefslogtreecommitdiff
path: root/applets/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'applets/Makefile.in')
-rw-r--r--applets/Makefile.in11
1 files changed, 6 insertions, 5 deletions
diff --git a/applets/Makefile.in b/applets/Makefile.in
index afd5cbeb9..e31bb6fd9 100644
--- a/applets/Makefile.in
+++ b/applets/Makefile.in
@@ -19,18 +19,19 @@
19 19
20APPLETS_AR:=applets.a 20APPLETS_AR:=applets.a
21ifndef $(APPLETS_DIR) 21ifndef $(APPLETS_DIR)
22APPLETS_DIR:=$(TOPDIR)applets/ 22APPLETS_DIR:=$(top_builddir)/applets/
23endif 23endif
24srcdir=$(top_srcdir)/applets
24 25
25APPLET_SRC:=applets.c busybox.c 26APPLET_SRC:=applets.c busybox.c
26APPLET_OBJ:= $(patsubst %.c,$(APPLETS_DIR)%.o, $(APPLET_SRC)) 27APPLET_OBJ:= $(patsubst %.c,$(APPLETS_DIR)%.o, $(APPLET_SRC))
27 28
28
29
30libraries-y+=$(APPLETS_DIR)$(APPLETS_AR) 29libraries-y+=$(APPLETS_DIR)$(APPLETS_AR)
31 30
32$(APPLET_OBJ): $(TOPDIR).config
33
34$(APPLETS_DIR)$(APPLETS_AR): $(APPLET_OBJ) 31$(APPLETS_DIR)$(APPLETS_AR): $(APPLET_OBJ)
35 $(AR) -ro $@ $(APPLET_OBJ) 32 $(AR) -ro $@ $(APPLET_OBJ)
36 33
34$(APPLET_OBJ): $(top_builddir)/.config
35$(APPLET_OBJ): $(APPLETS_DIR)%.o: $(srcdir)/%.c
36 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
37