riscv64: clone behaves like on aarch64, fixes tst-basic3, reported by sorear
[uclibc-ng.git] / libintl / Makefile.in
blob445a758539a5ae249a9a901ad1f71bc956640673
1 # Makefile for uClibc-ng
2 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
4 subdirs += libintl
6 CFLAGS-libintl := -DNOT_IN_libc -DIS_IN_libintl $(SSP_ALL_CFLAGS)
8 libintl_DIR := $(top_srcdir)libintl
9 libintl_OUT := $(top_builddir)libintl
11 libintl_SRC-$(UCLIBC_HAS_LIBINTL) := libintl.c
13 libintl_SRC := $(addprefix $(libintl_DIR)/,$(libintl_SRC-y))
14 libintl_OBJ := $(patsubst $(libintl_DIR)/%.c,$(libintl_OUT)/%.o,$(libintl_SRC))
16 ifeq ($(DOPIC),y)
17 libintl-a-y := $(libintl_OBJ:.o=.os)
18 else
19 libintl-a-y := $(libintl_OBJ)
20 endif
21 libintl-so-y := $(libintl_OBJ:.o=.os)
23 objclean-y += CLEAN_libintl
25 $(libintl_OUT)/libintl.oS: $(libintl_SRC)
26 $(Q)$(RM) $@
27 $(compile-m)
29 CLEAN_libintl:
30 $(do_rm) $(addprefix $(libintl_OUT)/*., o os oS a)