summaryrefslogtreecommitdiff
path: root/libc/pwd_grp/Makefile
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2002-01-17 06:26:05 +0000
committerDavid McCullough <davidm@snapgear.com>2002-01-17 06:26:05 +0000
commit23457259675d4a21f6840a30e2b41014540eab2d (patch)
tree1e29e4b02bd95566e6aea0205d4e8b564c5ce853 /libc/pwd_grp/Makefile
parent47e0a8060499c822772437a3ca1765297857c131 (diff)
* Added /etc/shadow support (Config selectable)
* Moved some file paths from code into <paths.h>
Diffstat (limited to 'libc/pwd_grp/Makefile')
-rw-r--r--libc/pwd_grp/Makefile6
1 files changed, 6 insertions, 0 deletions
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)