1# $FreeBSD$ 2 3SHLIBDIR?= /lib 4 5.include <src.opts.mk> 6 7PACKAGE=lib${LIB} 8LIB= kiconv 9SRCS= kiconv_sysctl.c xlat16_iconv.c xlat16_sysctl.c 10SRCS+= quirks.c 11 12SHLIB_MAJOR= 4 13 14MAN= kiconv.3 15 16MLINKS+= kiconv.3 kiconv_add_xlat16_cspair.3 \ 17 kiconv.3 kiconv_add_xlat16_cspairs.3 \ 18 kiconv.3 kiconv_add_xlat16_table.3 19 20CFLAGS+= -I${SRCTOP}/sys 21 22WARNS?= 1 23 24.if ${MK_ICONV} == "no" 25CFLAGS+= -DICONV_DLOPEN 26.endif 27 28.include <bsd.lib.mk> 29