Makefile.in 609 B

12345678910111213141516171819202122232425
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  4. #
  5. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. #
  7. ifeq ($(UCLIBC_HAS_REGEX_OLD),y)
  8. CSRC := regex_old.c
  9. else
  10. CSRC := regex.c
  11. endif
  12. MISC_REGEX_DIR := $(top_srcdir)libc/misc/regex
  13. MISC_REGEX_OUT := $(top_builddir)libc/misc/regex
  14. MISC_REGEX_SRC := $(patsubst %.c,$(MISC_REGEX_DIR)/%.c,$(CSRC))
  15. MISC_REGEX_OBJ := $(patsubst %.c,$(MISC_REGEX_OUT)/%.o,$(CSRC))
  16. libc-$(UCLIBC_HAS_REGEX) += $(MISC_REGEX_OBJ)
  17. objclean-y += misc_regex_objclean
  18. misc_regex_objclean:
  19. $(RM) $(MISC_REGEX_OUT)/*.{o,os}