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