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 /coreutils/libcoreutils | |
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 'coreutils/libcoreutils')
-rw-r--r-- | coreutils/libcoreutils/Makefile.in | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/coreutils/libcoreutils/Makefile.in b/coreutils/libcoreutils/Makefile.in index d89e9d049..30a38c9d9 100644 --- a/coreutils/libcoreutils/Makefile.in +++ b/coreutils/libcoreutils/Makefile.in | |||
@@ -4,25 +4,36 @@ | |||
4 | # | 4 | # |
5 | # Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 5 | # Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
6 | 6 | ||
7 | srcdir:=$(top_srcdir)/coreutils/libcoreutils | 7 | LIBCOREUTILS_AR:=libcoreutils.a |
8 | objdir:=$(top_builddir)/coreutils/libcoreutils | 8 | ifndef $(LIBCOREUTILS_DIR) |
9 | LIBCOREUTILS_DIR:=$(top_builddir)/coreutils/libcoreutils | ||
10 | endif | ||
11 | srcdir=$(top_srcdir)/coreutils/libcoreutils | ||
9 | 12 | ||
10 | LIBCOREUTILS-$(CONFIG_MKFIFO) += getopt_mk_fifo_nod | 13 | LIBCOREUTILS_ALL_SRC:= cp_mv_stat.c getopt_mk_fifo_nod.c |
11 | LIBCOREUTILS-$(CONFIG_MKNOD) += getopt_mk_fifo_nod | 14 | |
12 | LIBCOREUTILS-$(CONFIG_INSTALL) += cp_mv_stat | 15 | LIBCOREUTILS-y:= |
13 | LIBCOREUTILS-$(CONFIG_CP) += cp_mv_stat | 16 | LIBCOREUTILS-$(CONFIG_MKFIFO) += getopt_mk_fifo_nod.o |
14 | LIBCOREUTILS-$(CONFIG_MV) += cp_mv_stat | 17 | LIBCOREUTILS-$(CONFIG_MKNOD) += getopt_mk_fifo_nod.o |
18 | LIBCOREUTILS-$(CONFIG_INSTALL) += cp_mv_stat.o | ||
19 | LIBCOREUTILS-$(CONFIG_CP) += cp_mv_stat.o | ||
20 | LIBCOREUTILS-$(CONFIG_MV) += cp_mv_stat.o | ||
15 | 21 | ||
16 | LIBCOREUTILS-y:=$(sort $(LIBCOREUTILS-y)) | 22 | LIBCOREUTILS-y:=$(sort $(LIBCOREUTILS-y)) |
17 | 23 | ||
18 | LIBCOREUTILS_SRC-y:=$(patsubst %,$(srcdir)/%.c,$(LIBCOREUTILS-y)) | 24 | LIBCOREUTILS_SRC-y:=$(patsubst %,$(srcdir)/%,$(subst .o,.c,$(LIBCOREUTILS-y))) |
19 | LIBCOREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c) | 25 | LIBCOREUTILS_SRC-a:=$(wildcard $(srcdir)/*.c) |
20 | LIBRARY_SRC-y+=$(LIBCOREUTILS_SRC-y) | 26 | LIBRARY_SRC-y+=$(LIBCOREUTILS_SRC-y) |
21 | LIBRARY_SRC-a+=$(LIBCOREUTILS_SRC-a) | 27 | LIBRARY_SRC-a+=$(LIBCOREUTILS_SRC-a) |
22 | 28 | ||
23 | coreutils_libcoreutils_OBJ$(os):=$(patsubst %,$(objdir)/%$(os),$(LIBCOREUTILS-y)) | 29 | ifneq ($(strip $(LIBCOREUTILS-y)),) |
30 | libraries-y+=$(LIBCOREUTILS_DIR)/$(LIBCOREUTILS_AR) | ||
31 | endif | ||
32 | |||
33 | LIBCOREUTILS_OBJS=$(patsubst %,$(LIBCOREUTILS_DIR)/%, $(LIBCOREUTILS-y)) | ||
24 | 34 | ||
25 | $(coreutils_libcoreutils_OBJ$(os)): $(objdir)/%$(os): $(srcdir)/%.c | 35 | $(LIBCOREUTILS_DIR)/$(LIBCOREUTILS_AR): $(patsubst %,$(LIBCOREUTILS_DIR)/%,$(LIBCOREUTILS-y)) |
26 | $(objdir)/libcoreutils.a: $(coreutils_libcoreutils_OBJ$(os)) | 36 | $(do_ar) |
27 | libraries-y:=$(libraries-y) $(objdir)/libcoreutils.a | ||
28 | 37 | ||
38 | $(LIBCOREUTILS_DIR)/%.o: $(srcdir)/%.c | ||
39 | $(compile.c) | ||