aboutsummaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
Diffstat (limited to 'nss')
-rw-r--r--nss/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/nss/Makefile b/nss/Makefile
index f6065cc..60c6549 100644
--- a/nss/Makefile
+++ b/nss/Makefile
@@ -78,6 +78,8 @@ generated += $(filter-out db-alias.c db-netgrp.c, \
$(addsuffix .c,$(libnss_db-dbs)))
distribute += $(addprefix nss_db/, db-XXX.c nss_db.h)
+install-others += $(inst_vardbdir)/Makefile
+
# Build static module if requested
ifneq ($(build-static-nss),yes)
libnss_files-inhibit-o = $(filter-out .os,$(object-suffixes))
@@ -114,6 +116,9 @@ $(libnss_db-dbs:%=$(objpfx)%.c): $(objpfx)db-%.c: nss_files/files-%.c
$(objpfx)makedb: $(makedb-modules:%=$(objpfx)%.o)
+$(inst_vardbdir)/Makefile: db-Makefile $(+force)
+ $(do-install)
+
distribute += nss_test1.c
CFLAGS-nss_test1.c = -DNOT_IN_libc=1