Makefile.in 754 B

123456789101112131415161718192021222324252627282930
  1. # Makefile for uClibc-ng
  2. # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  3. subdirs += libintl
  4. CFLAGS-libintl := -DNOT_IN_libc -DIS_IN_libintl $(SSP_ALL_CFLAGS)
  5. libintl_DIR := $(top_srcdir)libintl
  6. libintl_OUT := $(top_builddir)libintl
  7. libintl_SRC-$(UCLIBC_HAS_LIBINTL) := libintl.c
  8. libintl_SRC := $(addprefix $(libintl_DIR)/,$(libintl_SRC-y))
  9. libintl_OBJ := $(patsubst $(libintl_DIR)/%.c,$(libintl_OUT)/%.o,$(libintl_SRC))
  10. ifeq ($(DOPIC),y)
  11. libintl-a-y := $(libintl_OBJ:.o=.os)
  12. else
  13. libintl-a-y := $(libintl_OBJ)
  14. endif
  15. libintl-so-y := $(libintl_OBJ:.o=.os)
  16. objclean-y += CLEAN_libintl
  17. $(libintl_OUT)/libintl.oS: $(libintl_SRC)
  18. $(Q)$(RM) $@
  19. $(compile-m)
  20. CLEAN_libintl:
  21. $(do_rm) $(addprefix $(libintl_OUT)/*., o os oS a)