Makefile.in 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. CFLAGS+=$(SSP_ALL_CFLAGS)
  9. LIB_NAME:=libintl
  10. MOBJ:=gettext.o ngettext.o dgettext.o dcgettext.o dngettext.o dcngettext.o \
  11. textdomain.o bindtextdomain.o bind_textdomain_codeset.o \
  12. _nl_expand_alias.o _nl_msg_cat_cntr.o # glibc-isms
  13. libintl_DIR:=$(top_srcdir)libintl
  14. libintl_OUT:=$(top_builddir)libintl
  15. libintl_MSRC:=$(libintl_DIR)/intl.c
  16. libintl_MOBJ:=$(patsubst %.o,$(libintl_OUT)/%.o,$(MOBJ))
  17. libintl_DEF:=$(patsubst %,-DL_%,$(subst .o,,$(notdir $(libintl_MOBJ))))
  18. $(libintl_MOBJ) $(libintl_MOBJ:.o=.os): $(libintl_MSRC)
  19. $(compile.m)
  20. libintl-a-$(UCLIBC_HAS_GETTEXT_AWARENESS):=$(libintl_MOBJ)
  21. libintl-so-$(UCLIBC_HAS_GETTEXT_AWARENESS):=$(libintl_MOBJ:.o=.os)
  22. CFLAGS-multi-$(UCLIBC_HAS_GETTEXT_AWARENESS):=$(libintl_DEF)
  23. libintl-multi-$(UCLIBC_HAS_GETTEXT_AWARENESS):=$(libintl_MSRC)
  24. objclean-y+=libintl_clean
  25. lib-a-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(top_builddir)lib/libintl.a
  26. lib-so-$(UCLIBC_HAS_GETTEXT_AWARENESS)+=$(top_builddir)lib/libintl.so