summaryrefslogtreecommitdiff
path: root/libc/string/sparc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-10-29 10:16:07 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-10-29 10:16:07 +0000
commite6aa37afc9c281a04f40250b8fcd35302064a087 (patch)
tree5dd83379964b1d75792ace567fd56915168d182c /libc/string/sparc
parenta4753b1da2c2a1f7de691619a52e2934d2c248ac (diff)
Replace all Makefiles for new build infrastucture
Diffstat (limited to 'libc/string/sparc')
-rw-r--r--libc/string/sparc/Makefile35
1 files changed, 8 insertions, 27 deletions
diff --git a/libc/string/sparc/Makefile b/libc/string/sparc/Makefile
index 593158979..a7cbf6fa1 100644
--- a/libc/string/sparc/Makefile
+++ b/libc/string/sparc/Makefile
@@ -2,33 +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
-
-CSRC := $(wildcard *.c)
-COBJ := $(patsubst %.c,%.o,$(CSRC))
-
-SSRC := $(wildcard *.S)
-SOBJ := $(patsubst %.S,%.o,$(SSRC))
-
-OBJS := $(COBJ) $(SOBJ)
-
-OBJ_LIST := ../../obj.string.$(TARGET_ARCH)
-
-all: $(OBJ_LIST)
-
-$(OBJ_LIST): $(OBJS)
- $(STRIPTOOL) -x -R .note -R .comment $^
- echo $(patsubst %, string/$(TARGET_ARCH)/%, $^) > $@
-
-$(COBJ): %.o : %.c
- $(CC) $(CFLAGS) -c $< -o $@
-
-$(SOBJ): %.o : %.S
- $(CC) $(ASFLAGS) -c $< -o $@
-clean:
- $(RM) *.o *~ core
+top_srcdir=$(TOPDIR)
+top_builddir=../../../
+all: objs
+include $(top_builddir)Rules.mak
+include Makefile.arch
+include $(top_srcdir)Makerules