summaryrefslogtreecommitdiffstats
path: root/libc/string/sparc
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-30 01:14:23 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-30 01:14:23 +0000
commit6e46869a9c0c9f5e31378247e5835cd0b3301c96 (patch)
treedad4ede474ab46f074fd8381965d160f6a2ac92c /libc/string/sparc
parentca798b3b1e0937336dc382b6f3fe7453a219fd2f (diff)
downloaduClibc-alpine-6e46869a9c0c9f5e31378247e5835cd0b3301c96.tar.bz2
uClibc-alpine-6e46869a9c0c9f5e31378247e5835cd0b3301c96.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/string/sparc')
-rw-r--r--libc/string/sparc/Makefile32
1 files changed, 8 insertions, 24 deletions
diff --git a/libc/string/sparc/Makefile b/libc/string/sparc/Makefile
index 2215a6025..a7cbf6fa1 100644
--- a/libc/string/sparc/Makefile
+++ b/libc/string/sparc/Makefile
@@ -2,30 +2,14 @@
#
# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
#
-# Licensed under the GNU Library General Public License version 2 or later.
-# See the COPYING.LIB file in the toplevel for more information.
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+#
TOPDIR=../../../
-include $(TOPDIR)Rules.mak
-
-CSRCS = $(wildcard *.c)
-COBJS = $(patsubst %.c,%.o,$(CSRCS))
-
-SSRCS = $(wildcard *.S)
-SOBJS = $(patsubst %.S,%.o,$(SSRCS))
-
-OBJS = $(COBJS) $(SOBJS)
-
-OBJ_LIST = ../../obj.string.$(TARGET_ARCH)
-
-all: $(OBJ_LIST)
-
-$(OBJ_LIST): $(OBJS)
- echo $(patsubst %, string/$(TARGET_ARCH)/%, $(OBJS)) > $(OBJ_LIST)
-
-$(COBJS): %.o : %.c
- $(CC) $(CFLAGS) -c $< -o $@
- $(STRIPTOOL) -x -R .note -R .comment $*.o
-clean:
- $(RM) *.[oa] *~ core
+top_srcdir=$(TOPDIR)
+top_builddir=../../../
+all: objs
+include $(top_builddir)Rules.mak
+include Makefile.arch
+include $(top_srcdir)Makerules