X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=blobdiff_plain;f=pwd%2FMakefile;h=30453f88c8914fa82d97383bc6acf0810bc2ad48;hp=ce67d49ea94da3519eea58e8c9099d8eccf8d6b7;hb=a531bef052e280b1bf8ab865f4aae01efb2b3e2c;hpb=153d27b70e726023acc6a668d4c3b833367476df diff --git a/pwd/Makefile b/pwd/Makefile index ce67d49ea9..30453f88c8 100644 --- a/pwd/Makefile +++ b/pwd/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991, 1996 Free Software Foundation, Inc. +# Copyright (C) 1991, 1996, 1997, 1998 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -12,17 +12,25 @@ # Library General Public License for more details. # You should have received a copy of the GNU Library General Public -# License along with the GNU C Library; see the file COPYING.LIB. If -# not, write to the Free Software Foundation, Inc., 675 Mass Ave, -# Cambridge, MA 02139, USA. +# License along with the GNU C Library; see the file COPYING.LIB. If not, +# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. # # Sub-makefile for pwd portion of the library. # subdir := pwd +headers := pwd.h routines := fgetpwent getpw putpwent \ getpwent getpwnam getpwuid \ - getpwent_r getpwnam_r getpwuid_r + getpwent_r getpwnam_r getpwuid_r fgetpwent_r include ../Rules + +ifeq ($(have-thread-library),yes) + +CFLAGS-getpwuid_r.c = -DUSE_NSCD=1 +CFLAGS-getpwnam_r.c = -DUSE_NSCD=1 + +endif