summaryrefslogtreecommitdiffstats
path: root/libutil
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 /libutil
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 'libutil')
-rw-r--r--libutil/Makefile.in30
1 files changed, 21 insertions, 9 deletions
diff --git a/libutil/Makefile.in b/libutil/Makefile.in
index 8c5846400..6f6b03ea1 100644
--- a/libutil/Makefile.in
+++ b/libutil/Makefile.in
@@ -1,21 +1,33 @@
-# 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)
+#DOMULTI=y
+
LIB_NAME:=libutil
-srcdir=$(top_srcdir)$(LIB_NAME)
+libutil_DIR:=$(top_srcdir)libutil
+libutil_OUT:=$(top_builddir)libutil
-$(LIB_NAME)_SRC:=$(wildcard $(srcdir)/*.c)
+libutil_SRC:=$(wildcard $(libutil_DIR)/*.c)
ifneq ($(ARCH_HAS_MMU),y)
-$(LIB_NAME)_SRC:=$(filter-out $(srcdir)/forkpty.c,$($(LIB_NAME)_SRC))
+libutil_SRC:=$(filter-out $(libutil_DIR)/forkpty.c,$(libutil_SRC))
endif
+libutil_OBJ:=$(patsubst $(libutil_DIR)/%.c,$(libutil_OUT)/%.o,$(libutil_SRC))
+
+libutil-a-y:=$(libutil_OBJ)
+libutil-a-pic-y:=$(libutil_OBJ:.o=.os)
+libutil-so-y:=$(libutil_OBJ:.o=.os)
+
+libutil-multi-y:=$(libutil_SRC)
-libso-y+=$(top_builddir)lib/$(LIB_NAME).so
-liba-y+=$(top_builddir)lib/$(LIB_NAME).a
-libclean-y+=$(LIB_NAME)_clean
+objclean-y+=libutil_clean
-include $(top_srcdir)Makefile.libs
+lib-a-y+=$(top_builddir)lib/libutil.a
+lib-a-pic-y+=$(top_builddir)lib/libutil.a
+lib-so-y+=$(top_builddir)lib/libutil.so