# Makefile for uClibc | |
# | |
# Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org> | |
# | |
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. | |
# | |
libm_ARCH_SRC:=$(wildcard $(libm_SUBARCH_DIR)/*.c) | |
libm_ARCH_OBJ:=$(patsubst $(libm_SUBARCH_DIR)/%.c,$(libm_SUBARCH_OUT)/%.o,$(libm_ARCH_SRC)) | |
libm_ARCH_OBJS:=$(libm_ARCH_OBJ) | |
ifeq ($(DOPIC),y) | |
libm-a-y+=$(libm_ARCH_OBJS:.o=.os) | |
else | |
libm-a-y+=$(libm_ARCH_OBJS) | |
endif | |
libm-so-y+=$(libm_ARCH_OBJS:.o=.os) |