]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/misc/error/Makefile.in
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / misc / error / Makefile.in
1 # Makefile for uClibc
2 #
3 # Copyright (C) 2000-2008 Erik Andersen <andersen@uclibc.org>
4 #
5 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6 #
7
8 subdirs += libc/misc/error
9
10 CSRC-y :=
11 CSRC-$(UCLIBC_HAS_BSD_ERR) += err.c
12 CSRC-$(UCLIBC_HAS_GNU_ERROR) += error.c
13
14 MISC_ERROR_DIR := $(top_srcdir)libc/misc/error
15 MISC_ERROR_OUT := $(top_builddir)libc/misc/error
16
17 MISC_ERROR_SRC := $(patsubst %.c,$(MISC_ERROR_DIR)/%.c,$(CSRC-y))
18 MISC_ERROR_OBJ := $(patsubst %.c,$(MISC_ERROR_OUT)/%.o,$(CSRC-y))
19
20 libc-y += $(MISC_ERROR_OBJ)
21
22 objclean-y += CLEAN_libc/misc/error
23
24 CLEAN_libc/misc/error:
25         $(do_rm) $(addprefix $(MISC_ERROR_OUT)/*., o os)