From a80fc77b658a7883df95ac41ad83ac9ff7c8ff07 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 25 Oct 2005 22:17:39 +0000 Subject: All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally. --- libc/pwd_grp/Makefile.in | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 libc/pwd_grp/Makefile.in (limited to 'libc/pwd_grp') diff --git a/libc/pwd_grp/Makefile.in b/libc/pwd_grp/Makefile.in new file mode 100644 index 000000000..991f38872 --- /dev/null +++ b/libc/pwd_grp/Makefile.in @@ -0,0 +1,48 @@ +# Makefile for uClibc +# +# Copyright (C) 2000 by Lineo, inc. +# Copyright (C) 2000-2005 Erik Andersen +# +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. +# + +MSRC:=pwd_grp.c +MOBJ:= fgetpwent_r.o fgetgrent_r.o fgetpwent.o fgetgrent.o \ + getpwnam_r.o getgrnam_r.o getpwuid_r.o getgrgid_r.o \ + getpwuid.o getgrgid.o getpwnam.o getgrnam.o getpw.o \ + getpwent_r.o getgrent_r.o getpwent.o getgrent.o \ + initgroups.o putpwent.o putgrent.o \ + __parsepwent.o __parsegrent.o __pgsreader.o + +ifeq ($(HAS_SHADOW),y) +MOBJ+= fgetspent_r.o fgetspent.o sgetspent_r.o getspnam_r.o \ + getspnam.o getspent_r.o getspent.o sgetspent.o \ + putspent.o __parsespent.o # getspuid_r.o getspuid.o +endif + +PWDGRP_DIR:=$(top_srcdir)libc/pwd_grp +PWDGRP_OUT:=$(top_builddir)libc/pwd_grp + +PWDGRP_MSRC:=$(PWDGRP_DIR)/$(MSRC) +PWDGRP_MOBJ:=$(patsubst %.o,$(PWDGRP_OUT)/%.o,$(MOBJ)) + +PWDGRP_DEF:=$(patsubst %,-DL_%,$(subst .o,,$(notdir $(PWDGRP_MOBJ)))) + +$(PWDGRP_MOBJ) $(PWDGRP_MOBJ:.o=.os): $(PWDGRP_MSRC) + $(compile.m) + +libc-a-y+=$(PWDGRP_MOBJ) +libc-a-$(HAS_SHADOW)+=$(PWDGRP_OUT)/lckpwdf.o +libc-a-pic-y+=$(PWDGRP_MOBJ:.o=.os) +libc-a-pic-$(HAS_SHADOW)+=$(PWDGRP_OUT)/lckpwdf.os +libc-so-y+=$(PWDGRP_MOBJ:.o=.os) +libc-so-$(HAS_SHADOW)+=$(PWDGRP_OUT)/lckpwdf.os + +CFLAGS-multi-y+=$(PWDGRP_DEF) +libc-multi-y+=$(PWDGRP_MSRC) +libc-multi-$(HAS_SHADOW)+=$(PWDGRP_DIR)/lckpwdf.c + +objclean-y+=pwdgrp_objclean + +pwdgrp_objclean: + $(RM) $(PWDGRP_OUT)/*.{o,os} -- cgit v1.2.3