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