summaryrefslogtreecommitdiffstats
path: root/librt
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-10-25 22:17:39 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-10-25 22:17:39 +0000
commita80fc77b658a7883df95ac41ad83ac9ff7c8ff07 (patch)
tree3edbcb812b876e0ba1424b229d50e9c04a2b0d4a /librt
parent7ce8f67d27885ea6b1cba2c43e5edc9f1dc17f0f (diff)
downloaduClibc-alpine-a80fc77b658a7883df95ac41ad83ac9ff7c8ff07.tar.bz2
uClibc-alpine-a80fc77b658a7883df95ac41ad83ac9ff7c8ff07.tar.xz
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.
Diffstat (limited to 'librt')
-rw-r--r--librt/Makefile.in29
1 files changed, 22 insertions, 7 deletions
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 <andersen@uclibc.org>
+#
+# 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