From 319b9ad4bccedb2a6b1a222cf446e873b2bc6de1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 11 Jul 2011 14:50:24 -0400 Subject: Generalize framework to register monitoring of files in nscd nscd can clear caches when certain files change. The list of files was hardcoded so far and worked for nss_files and nss_dns and those modules which need no monitoring. nss_db, for instance, has its own set of files to monitor. Now the NSS modules themselves can request that certain files are monitored. --- sysdeps/unix/sysv/linux/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sysdeps/unix/sysv/linux/Makefile') diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile index f626a22579..63ef597461 100644 --- a/sysdeps/unix/sysv/linux/Makefile +++ b/sysdeps/unix/sysv/linux/Makefile @@ -161,12 +161,6 @@ CFLAGS-mq_receive.c += -fexceptions endif ifeq ($(subdir),nscd) -CFLAGS-connections.c += -DHAVE_EPOLL -DHAVE_SENDFILE -DHAVE_INOTIFY -CFLAGS-pwdcache.c += -DHAVE_SENDFILE -CFLAGS-grpcache.c += -DHAVE_SENDFILE -CFLAGS-hstcache.c += -DHAVE_SENDFILE -CFLAGS-aicache.c += -DHAVE_SENDFILE -CFLAGS-initgrcache.c += -DHAVE_SENDFILE -CFLAGS-servicescache.c += -DHAVE_SENDFILE +sysdep-CFLAGS += -DHAVE_EPOLL -DHAVE_SENDFILE -DHAVE_INOTIFY CFLAGS-gai.c += -DNEED_NETLINK endif -- cgit 1.4.1