summaryrefslogtreecommitdiff
path: root/libm/powerpc/Makefile.arch
diff options
context:
space:
mode:
Diffstat (limited to 'libm/powerpc/Makefile.arch')
-rw-r--r--libm/powerpc/Makefile.arch24
1 files changed, 24 insertions, 0 deletions
diff --git a/libm/powerpc/Makefile.arch b/libm/powerpc/Makefile.arch
new file mode 100644
index 000000000..c6d39676a
--- /dev/null
+++ b/libm/powerpc/Makefile.arch
@@ -0,0 +1,24 @@
+# Makefile for uClibc
+#
+# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
+#
+# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+#
+
+libm_ARCH_DIR:=$(top_srcdir)libm/powerpc
+libm_ARCH_OUT:=$(top_builddir)libm/powerpc
+
+libm_ARCH_SRC:=$(wildcard $(libm_ARCH_DIR)/*.c)
+libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_DIR)/%.c,$(libm_ARCH_OUT)/%.o,$(libm_ARCH_SRC))
+
+libm_ARCH_OBJS:=$(libm_ARCH_OBJ)
+
+libm-a-$(DO_C99_MATH)+=$(libm_ARCH_OBJS)
+libm-so-$(DO_C99_MATH)+=$(libm_ARCH_OBJS:.o=.os)
+
+libm-multi-$(DO_C99_MATH)+=$(libm_ARCH_SRC)
+
+objclean-y+=libm_arch_objclean
+
+libm_arch_objclean:
+ $(RM) $(libm_ARCH_OUT)/*.{o,os}