summaryrefslogtreecommitdiff
path: root/loginutils/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'loginutils/Makefile.in')
-rw-r--r--loginutils/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/loginutils/Makefile.in b/loginutils/Makefile.in
index dfbba50..959cb4f 100644
--- a/loginutils/Makefile.in
+++ b/loginutils/Makefile.in
@@ -4,8 +4,8 @@
#
# Licensed under the GPL v2, see the file LICENSE in this tarball.
-srcdir=$(top_srcdir)/loginutils
-objdir=$(top_builddir)/loginutils
+srcdir:=$(top_srcdir)/loginutils
+objdir:=$(top_builddir)/loginutils
LOGINUTILS-$(CONFIG_ADDGROUP) += addgroup.o
LOGINUTILS-$(CONFIG_ADDUSER) += adduser.o
@@ -36,3 +36,7 @@ endif
loginutils_OBJ:= $(patsubst %,$(objdir)/%,$(LOGINUTILS-y))
+$(loginutils_OBJ): $(objdir)/%.o: $(srcdir)/%.c
+$(objdir)/loginutils.a: $(loginutils_OBJ)
+libraries-y:=$(libraries-y) $(objdir)/loginutils.a
+