From 5d26126b9e8fd6c6f5098dbaa2e5b9e2901749bf Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 1 Mar 2006 22:54:48 +0000 Subject: - fixes parallel builds (make -j) - use less resources for the buildsystem itself --- sysklogd/Makefile.in | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'sysklogd') 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) -- cgit v1.2.3