From 23457259675d4a21f6840a30e2b41014540eab2d Mon Sep 17 00:00:00 2001
From: David McCullough <davidm@snapgear.com>
Date: Thu, 17 Jan 2002 06:26:05 +0000
Subject: * Added /etc/shadow support (Config selectable) * Moved some file
 paths from code into <paths.h>

---
 libc/pwd_grp/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'libc/pwd_grp/Makefile')

diff --git a/libc/pwd_grp/Makefile b/libc/pwd_grp/Makefile
index f9b49c461..5efa1414e 100644
--- a/libc/pwd_grp/Makefile
+++ b/libc/pwd_grp/Makefile
@@ -27,6 +27,12 @@ include $(TOPDIR)Rules.mak
 CSRC= pwent.c getpwnam.c getpwuid.c putpwent.c getpw.c fgetpwent.c \
 	__getgrent.c grent.c getgrnam.c getgrgid.c fgetgrent.c \
 	initgroups.c __getpwent_r.c
+
+ifeq ($(HAS_SHADOW),true)
+CSRC+= lckpwdf.c spent.c getspnam.c getspuid.c putspent.c sgetspent.c \
+	fgetspent.c __getspent_r.c __sgetspent_r.c
+endif
+
 COBJS=$(patsubst %.c,%.o, $(CSRC))
 OBJS=$(COBJS)
 
-- 
cgit v1.2.3