summaryrefslogtreecommitdiff
path: root/nscd/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-13 09:36:39 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-13 09:36:39 +0000
commit397d46fdbe0dd55a8d3aee931a32d744cdf6ad27 (patch)
treef0c073699f7b3f86fee886d3d85f9f45de21ae1a /nscd/Makefile
parent3de2d75e9cff1c6731bdf8d0441c18967e9bdb1c (diff)
downloadglibc-397d46fdbe0dd55a8d3aee931a32d744cdf6ad27.tar.gz
Enable use of nscd_nischeck and secure tables.
Diffstat (limited to 'nscd/Makefile')
-rw-r--r--nscd/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/nscd/Makefile b/nscd/Makefile
index d915aa70f4..b37f77781e 100644
--- a/nscd/Makefile
+++ b/nscd/Makefile
@@ -31,10 +31,10 @@ nscd-modules := nscd connections pwdcache getpwnam_r getpwuid_r grpcache \
ifeq ($(have-thread-library),yes)
-others := nscd
-install-sbin := nscd
+others := nscd nscd_nischeck
+install-sbin := nscd nscd_nischeck
-extra-objs := $(nscd-modules:=.o)
+extra-objs := $(nscd-modules:=.o) nscd_nischeck.o
endif
@@ -44,15 +44,18 @@ otherlibs += $(nssobjdir)/libnss_files.a $(resolvobjdir)/libnss_dns.a \
endif
distribute := nscd.h nscd-client.h dbg_log.h \
- $(nscd-modules:=.c) TODO nscd.conf nscd.init \
+ $(nscd-modules:=.c) nscd_nischeck.c TODO nscd.conf nscd.init \
nscd_proto.h
include ../Rules
$(objpfx)nscd: $(nscd-modules:%=$(objpfx)%.o)
+$(objpfx)nscd_nischeck: $(objpfx)nscd_nischeck.o
ifeq ($(build-shared),yes)
$(objpfx)nscd: $(shared-thread-library) $(common-objpfx)nis/libnsl.so
+$(objpfx)nscd_nischeck: $(common-objpfx)nis/libnsl.so
else
$(objpfx)nscd: $(static-thread-library) $(common-objpfx)nis/libnsl.a
+$(objpfx)nscd_nischeck: $(common-objpfx)nis/libnsl.a
endif