diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-03-13 19:04:00 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-03-13 19:04:00 +0000 |
commit | df10094870c28cc0c6c5577c9aa03b8ede9cb8a6 (patch) | |
tree | 49493696039b285aa751a5bc884fc70c9c85e878 /applets | |
parent | c5b1d4d6b14f22b5e2f7ae42eb01bf2746b8001c (diff) | |
download | busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.tar.gz busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.tar.bz2 busybox-w32-df10094870c28cc0c6c5577c9aa03b8ede9cb8a6.zip |
- revert back to r14406
Diffstat (limited to 'applets')
-rw-r--r-- | applets/Makefile.in | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/applets/Makefile.in b/applets/Makefile.in index 391b4658c..02bcda93b 100644 --- a/applets/Makefile.in +++ b/applets/Makefile.in | |||
@@ -4,17 +4,23 @@ | |||
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 | ||
7 | srcdir:=$(top_srcdir)/applets | 7 | APPLETS_AR:=applets.a |
8 | objdir:=$(top_builddir)/applets | 8 | ifndef $(APPLETS_DIR) |
9 | APPLETS_DIR:=$(top_builddir)/applets/ | ||
10 | endif | ||
11 | srcdir=$(top_srcdir)/applets | ||
9 | 12 | ||
10 | APPLETS_SRC:= $(patsubst %,$(srcdir)/%,applets.c busybox.c version.c) | 13 | APPLET_SRC:= $(patsubst %,$(srcdir)/%,applets.c busybox.c version.c) |
14 | APPLET_OBJ:= $(patsubst $(srcdir)/%.c,$(APPLETS_DIR)%.o, $(APPLET_SRC)) | ||
11 | 15 | ||
12 | APPLET_SRC-y+=$(APPLETS_SRC) | 16 | APPLET_SRC-y+=$(APPLET_SRC) |
13 | APPLET_SRC-a+=$(APPLETS_SRC) | 17 | APPLET_SRC-a+=$(APPLET_SRC) |
14 | 18 | ||
15 | applets_OBJ:=$(patsubst $(srcdir)/%.c,$(objdir)/%.o,$(APPLETS_SRC)) | 19 | libraries-y+=$(APPLETS_DIR)$(APPLETS_AR) |
16 | 20 | ||
17 | $(applets_OBJ): $(objdir)/%.o: $(srcdir)/%.c | 21 | $(APPLETS_DIR)$(APPLETS_AR): $(APPLET_OBJ) |
18 | $(objdir)/applets.a: $(applets_OBJ) | 22 | $(do_ar) |
19 | libraries-y:=$(libraries-y) $(objdir)/applets.a | ||
20 | 23 | ||
24 | $(APPLET_OBJ): $(top_builddir)/.config | ||
25 | $(APPLET_OBJ): $(APPLETS_DIR)%.o: $(srcdir)/%.c | ||
26 | $(compile.c) | ||