summaryrefslogtreecommitdiff
path: root/libc/string/frv/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-05-14 10:29:45 +0000
committerEric Andersen <andersen@codepoet.org>2004-05-14 10:29:45 +0000
commit2baa0cccce48cc0c2fffcb0a6191dc383aceec72 (patch)
tree13a913121b861f10bd813b3259f9bbc524871508 /libc/string/frv/Makefile
parentf98d73a77145e0d56ae08c910ed4e9964fd28cff (diff)
Alexandre Oliva writes:
This patch introduces optimized versions of memcpy and memset for frv.
Diffstat (limited to 'libc/string/frv/Makefile')
-rw-r--r--libc/string/frv/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/libc/string/frv/Makefile b/libc/string/frv/Makefile
new file mode 100644
index 000000000..5424e9b94
--- /dev/null
+++ b/libc/string/frv/Makefile
@@ -0,0 +1,39 @@
+# Makefile for uClibc
+#
+# Copyright (C) 2004 Alexandre Oliva <aoliva@redhat.com>
+#
+# This program is free software; you can redistribute it and/or modify it under
+# the terms of the GNU Library General Public License as published by the Free
+# Software Foundation; either version 2 of the License, or (at your option) any
+# later version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more
+# details.
+#
+# You should have received a copy of the GNU Library General Public License
+# along with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+TOPDIR=../../../
+include $(TOPDIR)Rules.mak
+
+SSRC=memcpy.S memset.S
+SOBJS=$(patsubst %.S,%.o, $(SSRC))
+OBJS=$(SOBJS)
+
+all: $(OBJS) $(LIBC)
+
+$(LIBC): ar-target
+
+ar-target: $(OBJS)
+ $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+
+$(SOBJS): %.o : %.S
+ $(CC) $(CFLAGS) -c $< -o $@
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
+
+clean:
+ $(RM) *.[oa] *~ core
+