1 # Makefile for uClibc-ng
2 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
6 CFLAGS-libiconv
:= -DNOT_IN_libc
-DIS_IN_libiconv
$(SSP_ALL_CFLAGS
) \
7 -I
$(top_srcdir
)libiconv
/include
9 libiconv_DIR
:= $(top_srcdir
)libiconv
10 libiconv_OUT
:= $(top_builddir
)libiconv
12 libiconv_SRC-
$(UCLIBC_HAS_LIBICONV
) := iconv.c
14 libiconv_SRC
:= $(addprefix $(libiconv_DIR
)/,$(libiconv_SRC-y
))
15 libiconv_OBJ
:= $(patsubst $(libiconv_DIR
)/%.c
,$(libiconv_OUT
)/%.o
,$(libiconv_SRC
))
18 libiconv-a-y
:= $(libiconv_OBJ
:.o
=.os
)
20 libiconv-a-y
:= $(libiconv_OBJ
)
22 libiconv-so-y
:= $(libiconv_OBJ
:.o
=.os
)
24 objclean-y
+= CLEAN_libiconv
26 $(libiconv_OUT
)/libiconv.oS
: $(libiconv_SRC
)
31 $(do_rm
) $(addprefix $(libiconv_OUT
)/*.
, o os oS a
)