Makefile.in 586 B

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