# Makefile for uClibc
#
# Copyright (C) 2000 by Lineo, inc.
# Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#

CSRC:=__assert.c

MISC_ASSERT_DIR:=$(top_srcdir)libc/misc/assert
MISC_ASSERT_OUT:=$(top_builddir)libc/misc/assert

MISC_ASSERT_SRC:=$(MISC_ASSERT_DIR)/__assert.c
MISC_ASSERT_OBJ:=$(MISC_ASSERT_OUT)/__assert.o

libc-a-y+=$(MISC_ASSERT_OBJ)
libc-so-y+=$(MISC_ASSERT_OBJ:.o=.os)

libc-multi-y+=$(MISC_ASSERT_SRC)

objclean-y+=misc_assert_objclean

misc_assert_objclean:
	$(RM) $(MISC_ASSERT_OUT)/*.{o,os}