aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-01 22:54:48 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-03-01 22:54:48 +0000
commit5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf (patch)
tree233c051da862595b6e473e832051708e2d9803cb /sysklogd
parent12c2429a4242a157217c5bc9673a531fa1e1de61 (diff)
downloadbusybox-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.tar.gz
busybox-5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf.tar.bz2
- fixes parallel builds (make -j)
- use less resources for the buildsystem itself
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/Makefile.in14
1 files changed, 2 insertions, 12 deletions
diff --git a/sysklogd/Makefile.in b/sysklogd/Makefile.in
index 83f77be90..d1f274110 100644
--- a/sysklogd/Makefile.in
+++ b/sysklogd/Makefile.in
@@ -4,29 +4,19 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-SYSKLOGD_AR:=sysklogd.a
-ifndef $(SYSKLOGD_DIR)
-SYSKLOGD_DIR:=$(top_builddir)/sysklogd/
-endif
srcdir=$(top_srcdir)/sysklogd
+objdir=$(top_builddir)/sysklogd
-SYSKLOGD-y:=
SYSKLOGD-$(CONFIG_KLOGD) += klogd.o
SYSKLOGD-$(CONFIG_LOGGER) += logger.o
SYSKLOGD-$(CONFIG_LOGREAD) += logread.o
SYSKLOGD-$(CONFIG_SYSLOGD) += syslogd.o
-ifneq ($(strip $(SYSKLOGD-y)),)
-libraries-y+=$(SYSKLOGD_DIR)$(SYSKLOGD_AR)
-endif
SYSKLOGD_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(SYSKLOGD-y))
SYSKLOGD_SRC-a:=$(wildcard $(srcdir)/*.c)
APPLET_SRC-y+=$(SYSKLOGD_SRC-y)
APPLET_SRC-a+=$(SYSKLOGD_SRC-a)
-$(SYSKLOGD_DIR)$(SYSKLOGD_AR): $(patsubst %,$(SYSKLOGD_DIR)%, $(SYSKLOGD-y))
- $(do_ar)
+sysklogd_OBJ:= $(patsubst %,$(objdir)/%,$(SYSKLOGD-y))
-$(SYSKLOGD_DIR)%.o: $(srcdir)/%.c
- $(compile.c)