diff options
Diffstat (limited to 'nscd/Makefile')
-rw-r--r-- | nscd/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/nscd/Makefile b/nscd/Makefile index 434cf4d..0bd320e 100644 --- a/nscd/Makefile +++ b/nscd/Makefile @@ -53,11 +53,10 @@ distribute := nscd.h nscd-client.h dbg_log.h \ include ../Rules -CPPFLAGS-nscd = -DNOT_IN_libc -CPPFLAGS-nscd_conf = -DNOT_IN_libc -CPPFLAGS-dbg_log = -DNOT_IN_libc -CPPFLAGS-connections = -DNOT_IN_libc -CPPFLAGS-hstcache = -DNOT_IN_libc +# This makes sure -DNOT_IN_libc is passed for all these modules. +cpp-srcs-left := $(nscd-modules:=.c) +lib := nscd +include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) $(objpfx)nscd: $(nscd-modules:%=$(objpfx)%.o) $(objpfx)nscd_nischeck: $(objpfx)nscd_nischeck.o |