lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | # Makefile for uClibc |
| 2 | # |
| 3 | # Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> |
| 4 | # |
| 5 | # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. |
| 6 | # |
| 7 | |
| 8 | libm_ARCH_SRC:=$(wildcard $(libm_SUBARCH_DIR)/*.c) |
| 9 | libm_ARCH_OBJ:=$(patsubst $(libm_SUBARCH_DIR)/%.c,$(libm_SUBARCH_OUT)/%.o,$(libm_ARCH_SRC)) |
| 10 | |
| 11 | libm_ARCH_OBJS:=$(libm_ARCH_OBJ) |
| 12 | |
| 13 | ifeq ($(DOPIC),y) |
| 14 | libm-a-y+=$(libm_ARCH_OBJS:.o=.os) |
| 15 | else |
| 16 | libm-a-y+=$(libm_ARCH_OBJS) |
| 17 | endif |
| 18 | libm-so-y+=$(libm_ARCH_OBJS:.o=.os) |