2003-09-26 20:26:25 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2012-06-12 20:24:57 +00:00
|
|
|
SHLIBDIR?= /lib
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2012-05-28 14:45:12 +00:00
|
|
|
|
2019-09-05 14:13:08 +00:00
|
|
|
PACKAGE= runtime
|
2003-09-26 20:26:25 +00:00
|
|
|
LIB= kiconv
|
2009-06-22 17:09:46 +00:00
|
|
|
SRCS= kiconv_sysctl.c xlat16_iconv.c xlat16_sysctl.c
|
2003-09-26 20:26:25 +00:00
|
|
|
SRCS+= quirks.c
|
|
|
|
|
2009-07-19 17:25:24 +00:00
|
|
|
SHLIB_MAJOR= 4
|
2003-09-26 20:26:25 +00:00
|
|
|
|
|
|
|
MAN= kiconv.3
|
|
|
|
|
|
|
|
MLINKS+= kiconv.3 kiconv_add_xlat16_cspair.3 \
|
2003-12-08 08:32:20 +00:00
|
|
|
kiconv.3 kiconv_add_xlat16_cspairs.3 \
|
2003-09-26 20:26:25 +00:00
|
|
|
kiconv.3 kiconv_add_xlat16_table.3
|
|
|
|
|
2017-01-20 04:50:46 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys
|
2003-09-26 20:26:25 +00:00
|
|
|
|
2010-01-02 09:58:07 +00:00
|
|
|
WARNS?= 1
|
|
|
|
|
2012-05-28 14:45:12 +00:00
|
|
|
.if ${MK_ICONV} == "no"
|
2012-05-25 22:07:13 +00:00
|
|
|
CFLAGS+= -DICONV_DLOPEN
|
|
|
|
.endif
|
|
|
|
|
2003-09-26 20:26:25 +00:00
|
|
|
.include <bsd.lib.mk>
|