diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-05 10:17:08 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-05 10:17:08 +0000 |
commit | 7d219aab70e6951ab82c27c202cac05016696723 (patch) | |
tree | 4c0679bfa391f71aee9b51505a5d3dc8f60a0cf7 /init/Makefile.in | |
parent | 8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (diff) | |
download | busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.tar.gz busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.tar.bz2 busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.zip |
build system overhaul
Diffstat (limited to 'init/Makefile.in')
-rw-r--r-- | init/Makefile.in | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/init/Makefile.in b/init/Makefile.in deleted file mode 100644 index a48ead446..000000000 --- a/init/Makefile.in +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | # Makefile for busybox | ||
2 | # | ||
3 | # Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org> | ||
4 | # | ||
5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. | ||
6 | |||
7 | INIT_AR:=init.a | ||
8 | ifndef $(INIT_DIR) | ||
9 | INIT_DIR:=$(top_builddir)/init/ | ||
10 | endif | ||
11 | srcdir=$(top_srcdir)/init | ||
12 | |||
13 | INIT-y:= | ||
14 | INIT-$(CONFIG_HALT) += halt.o | ||
15 | INIT-$(CONFIG_INIT) += init.o | ||
16 | INIT-$(CONFIG_MESG) += mesg.o | ||
17 | |||
18 | ifeq ($(strip $(CONFIG_HALT)),y) | ||
19 | CONFIG_INIT_SHARED=y | ||
20 | else | ||
21 | ifeq ($(strip $(CONFIG_INIT)),y) | ||
22 | CONFIG_INIT_SHARED=y | ||
23 | else | ||
24 | CONFIG_INIT_SHARED=n | ||
25 | endif | ||
26 | endif | ||
27 | |||
28 | INIT-$(CONFIG_INIT_SHARED) += init_shared.o | ||
29 | |||
30 | ifneq ($(strip $(INIT-y)),) | ||
31 | libraries-y+=$(INIT_DIR)$(INIT_AR) | ||
32 | endif | ||
33 | |||
34 | INIT_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(INIT-y)) | ||
35 | INIT_SRC-a:=$(wildcard $(srcdir)/*.c) | ||
36 | APPLET_SRC-y+=$(INIT_SRC-y) | ||
37 | APPLET_SRC-a+=$(INIT_SRC-a) | ||
38 | |||
39 | $(INIT_DIR)$(INIT_AR): $(patsubst %,$(INIT_DIR)%, $(INIT-y)) | ||
40 | $(do_ar) | ||
41 | |||
42 | $(INIT_DIR)%.o: $(srcdir)/%.c | ||
43 | $(compile.c) | ||