2af58f1cce
libnbcompat already contains empty fparseln.lo so previous fix doesn't work correctly. i've just added broken fparseln check to configure script. 2. reworking cross build breakage under FreeBSD/MacOS X. FreeBSD/MacOS X still have public /usr/include/runetype.h derived from 4.4BSD-Lite. so i renamed out private header from src/lib/libc/locale/runetype.h to src/lib/libc/locale/runetype_local.h to solve this problems. 3. fix build breakage when CITRUS=no was set.
24 lines
649 B
Makefile
24 lines
649 B
Makefile
# $NetBSD: Makefile,v 1.15 2009/01/05 06:11:43 tnozaki Exp $
|
|
|
|
.ifndef HOSTPROG
|
|
.include <bsd.own.mk>
|
|
.endif
|
|
|
|
.PATH: ${NETBSDSRCDIR}/lib/libc/locale ${NETBSDSRCDIR}/lib/libc/citrus ${NETBSDSRCDIR}/lib/libc/stdio
|
|
|
|
PROG= mklocale
|
|
SRCS= yacc.y lex.l mklocaledb.c fix_grouping.c \
|
|
citrus_bcs_strtoul.c citrus_db_factory.c citrus_db_hash.c
|
|
CPPFLAGS+= -I. -I${.CURDIR} \
|
|
-I${NETBSDSRCDIR}/lib/libc/include \
|
|
-I${NETBSDSRCDIR}/lib/libc/locale \
|
|
-I${NETBSDSRCDIR}/lib/libc/citrus \
|
|
-DNBCHAR_MAX=127 -DHOSTPROG
|
|
CPPFLAGS.citrus_bcs_strtoul.c+= \
|
|
-I${NETBSDSRCDIR}/common/lib/libc/stdlib
|
|
YHEADER= 1
|
|
|
|
.ifndef HOSTPROG
|
|
.include <bsd.prog.mk>
|
|
.endif
|