| 12345678910111213141516171819202122232425262728293031 | # Makefile for uClibc## Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>## Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.#PWDGRP_DIR := $(top_srcdir)libc/pwd_grpPWDGRP_OUT := $(top_builddir)libc/pwd_grpCSRC := $(notdir $(wildcard $(PWDGRP_DIR)/*.c))CSRC := $(filter-out pwd_grp.c pwd_grp_internal.c,$(CSRC))ifneq ($(HAS_SHADOW),y)SHADOW_CSRC := \	fgetspent_r.c fgetspent.c getspent_r.c getspent.c \	getspnam_r.c getspnam.c lckpwdf.c putspent.c \	sgetspent_r.c sgetspent.c __parsespent.c# getspuid_r.c getspuid.cCSRC := $(filter-out $(SHADOW_CSRC),$(CSRC))endifPWDGRP_SRC := $(patsubst %.c,$(PWDGRP_DIR)/%.c,$(CSRC))PWDGRP_OBJ := $(patsubst %.c,$(PWDGRP_OUT)/%.o,$(CSRC))libc-y += $(PWDGRP_OBJ)objclean-y += pwdgrp_objcleanpwdgrp_objclean:	$(RM) $(PWDGRP_OUT)/*.{o,os}
 |