9fb85ece8b
Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere. This makes /lib being populated again. Reported by: many
28 lines
419 B
Makefile
28 lines
419 B
Makefile
# $FreeBSD$
|
|
|
|
SHLIBDIR= /lib
|
|
|
|
.include <src.opts.mk>
|
|
|
|
LIB= kiconv
|
|
SRCS= kiconv_sysctl.c xlat16_iconv.c xlat16_sysctl.c
|
|
SRCS+= quirks.c
|
|
|
|
SHLIB_MAJOR= 4
|
|
|
|
MAN= kiconv.3
|
|
|
|
MLINKS+= kiconv.3 kiconv_add_xlat16_cspair.3 \
|
|
kiconv.3 kiconv_add_xlat16_cspairs.3 \
|
|
kiconv.3 kiconv_add_xlat16_table.3
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../sys
|
|
|
|
WARNS?= 1
|
|
|
|
.if ${MK_ICONV} == "no"
|
|
CFLAGS+= -DICONV_DLOPEN
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|