OSDN Git Service

- less verbose make clean
[uclinux-h8/uClibc.git] / libc / misc / syslog / 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 CSRC := syslog.c
9
10 MISC_SYSLOG_DIR := $(top_srcdir)libc/misc/syslog
11 MISC_SYSLOG_OUT := $(top_builddir)libc/misc/syslog
12
13 MISC_SYSLOG_SRC := $(patsubst %.c,$(MISC_SYSLOG_DIR)/%.c,$(CSRC))
14 MISC_SYSLOG_OBJ := $(patsubst %.c,$(MISC_SYSLOG_OUT)/%.o,$(CSRC))
15
16 ifeq ($(UCLIBC_HAS_SYSLOG),y)
17 libc-y += $(MISC_SYSLOG_OBJ)
18 endif
19
20 objclean-y += misc_syslog_clean
21
22 misc_syslog_clean:
23         $(do_rm) $(addprefix $(MISC_SYSLOG_OUT)/*., o os)