fstat: add missing return value statement for the statx wrapping case
[uclibc-ng.git] / libc / pwd_grp / Makefile.in
blob4a2e7738504bfcaff025d29ce2463a8c770b9a5e
1 # Makefile for uClibc
3 # Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
5 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
8 subdirs += libc/pwd_grp
10 PWDGRP_DIR := $(top_srcdir)libc/pwd_grp
11 PWDGRP_OUT := $(top_builddir)libc/pwd_grp
13 CSRC-y := $(notdir $(wildcard $(PWDGRP_DIR)/*.c))
14 CSRC- := pwd_grp.c pwd_grp_internal.c # multi-source and helper
15 CSRC-$(UCLIBC_HAS_SHADOW) += fgetspent_r.c fgetspent.c getspent_r.c getspent.c \
16 getspnam_r.c getspnam.c lckpwdf.c putspent.c \
17 sgetspent_r.c sgetspent.c __parsespent.c
18 # getspuid_r.c getspuid.c
20 CSRC-y := $(filter-out $(CSRC-),$(CSRC-y))
22 PWDGRP_SRC := $(patsubst %.c,$(PWDGRP_DIR)/%.c,$(CSRC-y))
23 PWDGRP_OBJ := $(patsubst %.c,$(PWDGRP_OUT)/%.o,$(CSRC-y))
25 libc-y += $(PWDGRP_OBJ)
27 objclean-y += CLEAN_libc/pwd_grp
29 CLEAN_libc/pwd_grp:
30 $(do_rm) $(addprefix $(PWDGRP_OUT)/*., o os)