Makefile.in 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. # Makefile for uClibc
  2. #
  3. # Copyright (C) 2000 by Lineo, inc.
  4. # Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
  5. #
  6. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  7. #
  8. MSRC:=intl.c
  9. MOBJ:= __uClibc_dgettext.o __uClibc_dcgettext.o \
  10. __uClibc_textdomain.o __uClibc_bindtextdomain.o # for libstd++
  11. MISC_INTL_DIR:=$(top_srcdir)libc/misc/intl
  12. MISC_INTL_OUT:=$(top_builddir)libc/misc/intl
  13. MISC_INTL_MSRC:=$(MISC_INTL_DIR)/$(MSRC)
  14. MISC_INTL_MOBJ:=$(patsubst %.o,$(MISC_INTL_OUT)/%.o,$(MOBJ))
  15. MISC_INTL_DEF:=$(patsubst %,-DL_%,$(subst .o,,$(notdir $(MISC_INTL_MOBJ))))
  16. $(MISC_INTL_MOBJ) $(MISC_INTL_MOBJ:.o=.os): $(MISC_INTL_MSRC)
  17. $(compile.m)
  18. libc-a-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_MOBJ)
  19. libc-a-pic-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_MOBJ:.o=.os)
  20. libc-so-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_MOBJ:.o=.os)
  21. CFLAGS-multi-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_DEF)
  22. libc-multi-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_MSRC)
  23. objclean-y+=misc_intl_objclean
  24. misc_intl_objclean:
  25. $(RM) $(MISC_INTL_OUT)/*.{o,os}