2014-05-07 21:52:52 +00:00
|
|
|
LIBICONV_PORT_DIR := $(call select_from_ports,libiconv)
|
2012-12-04 18:43:57 +00:00
|
|
|
|
2014-05-07 21:52:52 +00:00
|
|
|
LIBS += libc
|
|
|
|
|
|
|
|
INC_DIR += $(LIBICONV_PORT_DIR)/include/iconv
|
2012-12-04 18:43:57 +00:00
|
|
|
|
|
|
|
# find 'config.h'
|
|
|
|
INC_DIR += $(REP_DIR)/src/lib/libiconv/private
|
|
|
|
|
2014-05-07 21:52:52 +00:00
|
|
|
CC_DEF += -DLIBDIR=\"\"
|
2012-12-04 18:43:57 +00:00
|
|
|
|
2014-05-07 21:52:52 +00:00
|
|
|
SRC_C := iconv.c \
|
|
|
|
relocatable.c \
|
|
|
|
localcharset.c
|
2012-12-04 18:43:57 +00:00
|
|
|
|
|
|
|
SHARED_LIB = yes
|
|
|
|
|
2014-05-07 21:52:52 +00:00
|
|
|
vpath %.c $(LIBICONV_PORT_DIR)/src/lib/libiconv/lib
|
|
|
|
vpath %.c $(LIBICONV_PORT_DIR)/src/lib/libiconv/libcharset/lib
|
2018-01-03 17:40:54 +00:00
|
|
|
|
|
|
|
CC_CXX_WARN_STRICT =
|