1 # Makefile for uClibc-ng
2 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
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
))
17 libintl-a-y
:= $(libintl_OBJ
:.o
=.os
)
19 libintl-a-y
:= $(libintl_OBJ
)
21 libintl-so-y
:= $(libintl_OBJ
:.o
=.os
)
23 objclean-y
+= CLEAN_libintl
25 $(libintl_OUT
)/libintl.oS
: $(libintl_SRC
)
30 $(do_rm
) $(addprefix $(libintl_OUT
)/*.
, o os oS a
)