Makefile.in 641 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_FNMATCH_OLD),y)
  8. CSRC := fnmatch_old.c
  9. else
  10. CSRC := fnmatch.c
  11. endif
  12. MISC_FNMATCH_DIR := $(top_srcdir)libc/misc/fnmatch
  13. MISC_FNMATCH_OUT := $(top_builddir)libc/misc/fnmatch
  14. MISC_FNMATCH_SRC := $(patsubst %.c,$(MISC_FNMATCH_DIR)/%.c,$(CSRC))
  15. MISC_FNMATCH_OBJ := $(patsubst %.c,$(MISC_FNMATCH_OUT)/%.o,$(CSRC))
  16. libc-$(UCLIBC_HAS_FNMATCH) += $(MISC_FNMATCH_OBJ)
  17. objclean-y += misc_fnmatch_objclean
  18. misc_fnmatch_objclean:
  19. $(RM) $(MISC_FNMATCH_OUT)/*.{o,os}