summaryrefslogtreecommitdiff
path: root/libc/misc/assert/Makefile.in
blob: 6fbdcb72a4e53636cb6201bf6e61a40c833a4264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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-a-pic-y+=$(MISC_ASSERT_OBJ:.o=.os)
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}