Makefile.in 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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_MSRC)
  17. $(compile.m)
  18. $(MISC_INTL_MOBJ:.o=.os): $(MISC_INTL_MSRC)
  19. $(compile.m)
  20. libc-a-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_MOBJ)
  21. libc-so-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_MOBJ:.o=.os)
  22. CFLAGS-multi-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_DEF)
  23. libc-multi-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(MISC_INTL_MSRC)
  24. objclean-y+=misc_intl_objclean
  25. misc_intl_objclean:
  26. $(RM) $(MISC_INTL_OUT)/*.{o,os}