]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - nscd/Makefile
Update.
[thirdparty/glibc.git] / nscd / Makefile
index d8df770fa730f19657e298ac24dd246fe2f3ec55..79db5abd3791a3523a7ffa4b1e4ef4ace75a5ac6 100644 (file)
@@ -23,18 +23,20 @@ subdir      := nscd
 
 routines := nscd_getpw_r nscd_getgr_r
 
+include ../Makeconfig
+
 # We can later add the names of other thread packages here.
-ifeq (,$(findstring linuxthreads,$(add-ons)))
+ifneq (,$(findstring linuxthreads,$(add-ons)))
 
 others := nscd
 install-sbin := nscd
 
-endif
-
 nscd-routines := nscd connections pwdcache getpwnam_r getpwuid_r grpcache \
                 getgrnam_r getgrgid_r dbg_log nscd_conf nscd_stat
 extra-objs := $(nscd-routines:=.o)
 
+endif
+
 distribute := nscd.h dbg_log.h $(nscd-routines:=.c) TODO nscd.conf nscd.init \
              nscd_proto.h