2003-09-26 20:26:25 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2012-05-28 14:45:12 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2003-09-26 20:26:25 +00:00
|
|
|
LIB= kiconv
|
|
|
|
SHLIBDIR?= /lib
|
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
|
|
|
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../sys
|
|
|
|
|
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>
|