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. --- librt/Makefile.in | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) (limited to 'librt') diff --git a/librt/Makefile.in b/librt/Makefile.in index 7f3a311a3..aada591d9 100644 --- a/librt/Makefile.in +++ b/librt/Makefile.in @@ -1,16 +1,31 @@ -# Makefile.in for uClibc +# Makefile for uClibc # -# Licensed under LGPL v2.1, see the file COPYING.LIB in this tarball for details. +# Copyright (C) 2000-2005 Erik Andersen +# +# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. # CFLAGS+=$(SSP_ALL_CFLAGS) +# all files are syscall related +DOMULTI=n + LIB_NAME:=librt -srcdir=$(top_srcdir)$(LIB_NAME) +librt_DIR:=$(top_srcdir)librt +librt_OUT:=$(top_builddir)librt + +librt_SRC:=$(wildcard $(librt_DIR)/*.c) +librt_OBJ:=$(patsubst $(librt_DIR)/%.c,$(librt_OUT)/%.o,$(librt_SRC)) + +librt-a-y:=$(librt_OBJ) +librt-a-pic-y:=$(librt_OBJ:.o=.os) +librt-so-y:=$(librt_OBJ:.o=.os) + +#librt-multi-y+=$(librt_SRC) -libso-y+=$(top_builddir)lib/$(LIB_NAME).so -liba-y+=$(top_builddir)lib/$(LIB_NAME).a -libclean-y+=$(LIB_NAME)_clean +objclean-y+=librt_clean -include $(top_srcdir)Makefile.libs +lib-a-y+=$(top_builddir)lib/librt.a +lib-a-pic-y+=$(top_builddir)lib/librt.a +lib-so-y+=$(top_builddir)lib/librt.so -- cgit v1.2.3