Makefile.in 625 B

12345678910111213141516171819202122232425
  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. subdirs += libc/misc/syslog
  8. CSRC := syslog.c
  9. MISC_SYSLOG_DIR := $(top_srcdir)libc/misc/syslog
  10. MISC_SYSLOG_OUT := $(top_builddir)libc/misc/syslog
  11. MISC_SYSLOG_SRC := $(patsubst %.c,$(MISC_SYSLOG_DIR)/%.c,$(CSRC))
  12. MISC_SYSLOG_OBJ := $(patsubst %.c,$(MISC_SYSLOG_OUT)/%.o,$(CSRC))
  13. ifeq ($(UCLIBC_HAS_SYSLOG),y)
  14. libc-y += $(MISC_SYSLOG_OBJ)
  15. endif
  16. objclean-y += CLEAN_libc/misc/syslog
  17. CLEAN_libc/misc/syslog:
  18. $(do_rm) $(addprefix $(MISC_SYSLOG_OUT)/*., o os)