aboutsummaryrefslogtreecommitdiff
path: root/nscd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/Makefile')
-rw-r--r--nscd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/nscd/Makefile b/nscd/Makefile
index d8df770..79db5ab 100644
--- a/nscd/Makefile
+++ b/nscd/Makefile
@@ -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