summaryrefslogtreecommitdiffhomepage
path: root/sysklogd/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd/Makefile.in')
-rw-r--r--sysklogd/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysklogd/Makefile.in b/sysklogd/Makefile.in
index d1f274110..412cf5bab 100644
--- a/sysklogd/Makefile.in
+++ b/sysklogd/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/sysklogd
-objdir=$(top_builddir)/sysklogd
+srcdir:=$(top_srcdir)/sysklogd
+objdir:=$(top_builddir)/sysklogd
SYSKLOGD-$(CONFIG_KLOGD) += klogd.o
SYSKLOGD-$(CONFIG_LOGGER) += logger.o
@@ -20,3 +20,7 @@ APPLET_SRC-a+=$(SYSKLOGD_SRC-a)
sysklogd_OBJ:= $(patsubst %,$(objdir)/%,$(SYSKLOGD-y))
+$(sysklogd_OBJ): $(objdir)/%.o: $(srcdir)/%.c
+$(objdir)/sysklogd.a: $(sysklogd_OBJ)
+libraries-y:=$(libraries-y) $(objdir)/sysklogd.a
+