head	1.6;
access;
symbols
	netbsd-11-0-RC4:1.6
	netbsd-11-0-RC3:1.6
	netbsd-11-0-RC2:1.6
	netbsd-11-0-RC1:1.6
	perseant-exfatfs-base-20250801:1.6
	netbsd-11:1.6.0.10
	netbsd-11-base:1.6
	netbsd-10-1-RELEASE:1.6
	perseant-exfatfs-base-20240630:1.6
	perseant-exfatfs:1.6.0.8
	perseant-exfatfs-base:1.6
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.5
	netbsd-10-0-RELEASE:1.6
	netbsd-10-0-RC6:1.6
	netbsd-10-0-RC5:1.6
	netbsd-10-0-RC4:1.6
	netbsd-10-0-RC3:1.6
	netbsd-10-0-RC2:1.6
	netbsd-10-0-RC1:1.6
	netbsd-10:1.6.0.6
	netbsd-10-base:1.6
	netbsd-9-3-RELEASE:1.5
	cjep_sun2x-base1:1.6
	cjep_sun2x:1.6.0.4
	cjep_sun2x-base:1.6
	cjep_staticlib_x-base1:1.6
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.6.0.2
	cjep_staticlib_x-base:1.6
	netbsd-9-1-RELEASE:1.5
	phil-wifi-20200421:1.5
	phil-wifi-20200411:1.5
	is-mlppp:1.5.0.18
	is-mlppp-base:1.5
	phil-wifi-20200406:1.5
	netbsd-8-2-RELEASE:1.5
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.5
	netbsd-9:1.5.0.16
	netbsd-9-base:1.5
	phil-wifi-20190609:1.5
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	pgoyette-compat-merge-20190127:1.5
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	netbsd-7-2-RELEASE:1.4
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.5
	phil-wifi:1.5.0.14
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.5
	netbsd-8-0-RC2:1.5
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	netbsd-8-0-RC1:1.5
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.5
	pgoyette-compat-0315:1.5
	netbsd-7-1-2-RELEASE:1.4
	pgoyette-compat:1.5.0.12
	pgoyette-compat-base:1.5
	netbsd-7-1-1-RELEASE:1.4
	matt-nb8-mediatek:1.5.0.10
	matt-nb8-mediatek-base:1.5
	perseant-stdc-iso10646:1.5.0.8
	perseant-stdc-iso10646-base:1.5
	netbsd-8:1.5.0.6
	netbsd-8-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.4
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	pgoyette-localcount-20170320:1.5
	netbsd-7-1:1.4.0.12
	netbsd-7-1-RELEASE:1.4
	netbsd-7-1-RC2:1.4
	netbsd-7-nhusb-base-20170116:1.4
	bouyer-socketcan:1.5.0.2
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.5
	netbsd-7-1-RC1:1.4
	pgoyette-localcount-20161104:1.5
	netbsd-7-0-2-RELEASE:1.4
	localcount-20160914:1.4
	netbsd-7-nhusb:1.4.0.10
	netbsd-7-nhusb-base:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.8
	pgoyette-localcount-base:1.4
	netbsd-7-0-1-RELEASE:1.4
	netbsd-7-0:1.4.0.6
	netbsd-7-0-RELEASE:1.4
	netbsd-7-0-RC3:1.4
	netbsd-7-0-RC2:1.4
	netbsd-7-0-RC1:1.4
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.4.0.4
	netbsd-7-base:1.4
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.2
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.4.0.2
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.3
	riastradh-drm2-base1:1.3
	riastradh-drm2:1.3.0.2
	riastradh-drm2-base:1.3
	netbsd-6-1:1.2.0.34
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.2.0.32
	agc-symver-base:1.2
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.2
	netbsd-5-2:1.2.0.28
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.26
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.24
	tls-maxphys-base:1.4
	matt-nb6-plus:1.2.0.22
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-6:1.2.0.20
	netbsd-6-base:1.2
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.18
	yamt-pagecache-base:1.2
	cherry-xenmp:1.2.0.16
	cherry-xenmp-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.14
	bouyer-quota2-base:1.2
	matt-mips64-premerge-20101231:1.2
	matt-nb5-mips64-premerge-20101231:1.2
	matt-nb5-pq3:1.2.0.12
	matt-nb5-pq3-base:1.2
	netbsd-5-1:1.2.0.10
	netbsd-5-1-RELEASE:1.2
	netbsd-5-1-RC4:1.2
	matt-nb5-mips64-k15:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	matt-nb5-mips64-premerge-20091211:1.2
	matt-premerge-20091211:1.2
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.2
	matt-nb4-mips64-k7-u2a-k9b:1.2
	matt-nb5-mips64-u1-k1-k5:1.2
	matt-nb5-mips64:1.2.0.8
	netbsd-5-0-1-RELEASE:1.2
	jym-xensuspend-nbase:1.2
	netbsd-5-0:1.2.0.6
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	jym-xensuspend:1.2.0.4
	jym-xensuspend-base:1.2
	netbsd-5-0-RC1:1.2
	haad-dm-base:1.2
	haad-dm-base2:1.2
	haad-nbase2:1.2
	netbsd-5:1.2.0.2
	netbsd-5-base:1.2
	matt-mips64-base2:1.1.1.1
	haad-dm:1.1.1.1.0.6
	haad-dm-base1:1.1.1.1
	wrstuden-revivesa-base-3:1.1.1.1
	wrstuden-revivesa:1.1.1.1.0.2
	wrstuden-revivesa-base-2:1.1.1.1
	oinkoink:1.1.1.1
	mrg-and-rtr:1.1.1;
locks; strict;
comment	@# @;


1.6
date	2021.04.27.06.50.26;	author mrg;	state Exp;
branches;
next	1.5;
commitid	y9Ix0KFPT7BMETQC;

1.5
date	2016.10.04.23.52.02;	author mrg;	state Exp;
branches;
next	1.4;
commitid	dEho5plXCPToYSoz;

1.4
date	2014.03.16.23.25.15;	author mrg;	state Exp;
branches
	1.4.8.1;
next	1.3;
commitid	OEqzvVMPHvUzOYsx;

1.3
date	2013.05.30.23.42.19;	author mrg;	state Exp;
branches;
next	1.2;
commitid	RV6asJanQs06eIRw;

1.2
date	2008.10.25.22.27.35;	author apb;	state Exp;
branches
	1.2.18.1
	1.2.24.1;
next	1.1;

1.1
date	2008.07.29.05.01.23;	author mrg;	state Exp;
branches
	1.1.1.1;
next	;

1.4.8.1
date	2016.11.04.14.48.49;	author pgoyette;	state Exp;
branches;
next	;
commitid	2m1JRwYmpwPkOOsz;

1.2.18.1
date	2014.05.22.14.09.47;	author yamt;	state Exp;
branches;
next	;
commitid	FFQX08bYGKywAxBx;

1.2.24.1
date	2013.06.23.06.28.48;	author tls;	state Exp;
branches;
next	1.2.24.2;
commitid	OnlO1cBgtQRcIHUw;

1.2.24.2
date	2014.08.20.00.00.15;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.1.1.1
date	2008.07.29.05.01.23;	author mrg;	state Exp;
branches
	1.1.1.1.2.1
	1.1.1.1.6.1;
next	;

1.1.1.1.2.1
date	2008.07.29.05.01.23;	author wrstuden;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2008.09.18.05.18.50;	author wrstuden;	state Exp;
branches;
next	;

1.1.1.1.6.1
date	2008.07.29.05.01.23;	author haad;	state dead;
branches;
next	1.1.1.1.6.2;

1.1.1.1.6.2
date	2008.10.19.22.41.24;	author haad;	state Exp;
branches;
next	;


desc
@@


1.6
log
@various updates for libX11.  bump the shlib major, install new nls.
@
text
@#	$NetBSD: Makefile,v 1.5 2016/10/04 23:52:02 mrg Exp $

.include <bsd.own.mk>

SUBDIR=	\
	C \
	am_ET.UTF-8 armscii-8 \
	el_GR.UTF-8 \
	en_US.UTF-8 \
	georgian-academy georgian-ps \
	ibm-cp1133 iscii-dev isiri-3342 \
	iso8859-1 iso8859-2 iso8859-3 iso8859-4 iso8859-5 iso8859-6 \
	iso8859-7 iso8859-8 iso8859-9 iso8859-9e iso8859-10 iso8859-11 \
	iso8859-13 iso8859-14 iso8859-15 \
	ja ja.JIS ja.SJIS ja_JP.UTF-8 \
	km_KH.UTF-8 ko ko_KR.UTF-8 koi8-c koi8-r koi8-u \
	microsoft-cp1251 microsoft-cp1255 microsoft-cp1256 mulelao-1 \
	nokhchi-1 \
	pt_BR.UTF-8 \
	pt_PT.UTF-8 \
	ru_RU.UTF-8 \
	sr_RS.UTF-8 \
	tatar-cyr th_TH th_TH.UTF-8 tscii-0 \
	vi_VN.tcvn vi_VN.viscii \
	zh_CN zh_CN.UTF-8 zh_CN.gb18030 zh_CN.gbk zh_HK.UTF-8 \
	zh_HK.big5 zh_HK.big5hkscs zh_TW zh_TW.UTF-8 zh_TW.big5


LTFILES=compose.dir locale.alias locale.dir

FILESDIR=	${X11LIBDIR}/locale

.for _F in ${LTFILES}
${_F}.lt: ${_F}.pre
	${_MKTARGET_CREATE}
	rm -f ${.TARGET}
	( \
	${CPP} -undef -traditional \
	    < ${.ALLSRC} | ${X11TOOL_UNXCOMM} \
	    | ${TOOL_SED} -e \
		'/^[^#][^ 	]*:/s/://' -e '/^[^#].*[ 	].*:/d'; \
	${CPP} -undef -traditional \
	    < ${.ALLSRC} | ${X11TOOL_UNXCOMM} ; \
	) > ${.TARGET}

FILES+=			${_F}.lt
FILESNAME_${_F}.lt=	${_F}
CLEANFILES+=		${_F}.lt
.endfor

realall: ${FILES}

.PATH: ${X11SRCDIR.X11}/nls

.include <bsd.x11.mk>
.include <bsd.prog.mk>
.include <bsd.subdir.mk>

#
# build all the silly subdirs
#
build_subdirs:
.for _dir in ${SUBDIR}
	mkdir ${.CURDIR}/${_dir}
	printf '#	$$NetBSD: Makefile,v 1.5 2016/10/04 23:52:02 mrg Exp $$\n\nNLS_SUBDIR=	${_dir}\n\n.include "../Makefile.nls"\n' > ${.CURDIR}/${_dir}/Makefile

.endfor
@


1.5
log
@build new pt_PT.UTF-8 locale from libX11 1.6.4.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2014/03/16 23:25:15 mrg Exp $
d22 1
a22 1
	sr_CS.UTF-8 \
d65 1
a65 1
	printf '#	$$NetBSD: Makefile,v 1.4 2014/03/16 23:25:15 mrg Exp $$\n\nNLS_SUBDIR=	${_dir}\n\n.include "../Makefile.nls"\n' > ${.CURDIR}/${_dir}/Makefile
@


1.4
log
@updates for libX11 1.6.2, dri3proto and presentproto, and fix
the libXrender build.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2013/05/30 23:42:19 mrg Exp $
d20 1
d65 1
a65 1
	printf '#	$$NetBSD: Makefile,v 1.3 2013/05/30 23:42:19 mrg Exp $$\n\nNLS_SUBDIR=	${_dir}\n\n.include "../Makefile.nls"\n' > ${.CURDIR}/${_dir}/Makefile
@


1.4.8.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2016/10/04 23:52:02 mrg Exp $
a19 1
	pt_PT.UTF-8 \
d64 1
a64 1
	printf '#	$$NetBSD: Makefile,v 1.5 2016/10/04 23:52:02 mrg Exp $$\n\nNLS_SUBDIR=	${_dir}\n\n.include "../Makefile.nls"\n' > ${.CURDIR}/${_dir}/Makefile
@


1.3
log
@updates for libX11 1.5.99.902:

- remove ja.S90 and ja.U90 locales
- use -Wno-error for files that use (now deprecated) XKeycodeToKeysym()
- add -I${X11SRCDIR.X11}/src for xicmp
- add stub for _XGetRequest()
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/10/25 22:27:35 apb Exp $
d16 1
a16 1
	ko ko_KR.UTF-8 koi8-c koi8-r koi8-u \
d20 2
d64 1
a64 1
	printf '#	$$NetBSD: Makefile,v 1.2 2008/10/25 22:27:35 apb Exp $$\n\nNLS_SUBDIR=	${_dir}\n\n.include "../Makefile.nls"\n' > ${.CURDIR}/${_dir}/Makefile
@


1.2
log
@Use ${TOOL_SED} instead if plain sed in Makefiles.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:23 mrg Exp $
d15 1
a15 1
	ja ja.JIS ja.S90 ja.SJIS ja.U90 ja_JP.UTF-8 \
d62 1
a62 1
	printf '#	$$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:23 mrg Exp $$\n\nNLS_SUBDIR=	${_dir}\n\n.include "../Makefile.nls"\n' > ${.CURDIR}/${_dir}/Makefile
@


1.2.18.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2008/10/25 22:27:35 apb Exp $
d15 2
a16 2
	ja ja.JIS ja.SJIS ja_JP.UTF-8 \
	km_KH.UTF-8 ko ko_KR.UTF-8 koi8-c koi8-r koi8-u \
a19 2
	ru_RU.UTF-8 \
	sr_CS.UTF-8 \
d62 1
a62 1
	printf '#	$$NetBSD: Makefile,v 1.2 2008/10/25 22:27:35 apb Exp $$\n\nNLS_SUBDIR=	${_dir}\n\n.include "../Makefile.nls"\n' > ${.CURDIR}/${_dir}/Makefile
@


1.2.24.1
log
@resync from head
@
text
@d1 1
a1 1
#	$NetBSD$
d15 1
a15 1
	ja ja.JIS ja.SJIS ja_JP.UTF-8 \
d62 1
a62 1
	printf '#	$$NetBSD$$\n\nNLS_SUBDIR=	${_dir}\n\n.include "../Makefile.nls"\n' > ${.CURDIR}/${_dir}/Makefile
@


1.2.24.2
log
@Rebase to HEAD as of a few days ago.
@
text
@d16 1
a16 1
	km_KH.UTF-8 ko ko_KR.UTF-8 koi8-c koi8-r koi8-u \
a19 2
	ru_RU.UTF-8 \
	sr_CS.UTF-8 \
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2003/11/08 13:57:30 lukem Exp $
d37 2
a38 1
	    | sed -e '/^[^#][^ 	]*:/s/://' -e '/^[^#].*[ 	].*:/d'; \
d62 1
a62 1
	printf '#	$$NetBSD$$\n\nNLS_SUBDIR=	${_dir}\n\n.include "../Makefile.nls"\n' > ${.CURDIR}/${_dir}/Makefile
@


1.1.1.1
log
@initial import of the crossbuild framework for modular Xorg.  this
is heavily based upon the work rtr@@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated.  there are 192 of them so it may take some time
before that is completed.
@
text
@@


1.1.1.1.6.1
log
@file Makefile was added on branch haad-dm on 2008-10-19 22:41:24 +0000
@
text
@d1 63
@


1.1.1.1.6.2
log
@Sync with HEAD.
@
text
@a0 63
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:23 mrg Exp $

.include <bsd.own.mk>

SUBDIR=	\
	C \
	am_ET.UTF-8 armscii-8 \
	el_GR.UTF-8 \
	en_US.UTF-8 \
	georgian-academy georgian-ps \
	ibm-cp1133 iscii-dev isiri-3342 \
	iso8859-1 iso8859-2 iso8859-3 iso8859-4 iso8859-5 iso8859-6 \
	iso8859-7 iso8859-8 iso8859-9 iso8859-9e iso8859-10 iso8859-11 \
	iso8859-13 iso8859-14 iso8859-15 \
	ja ja.JIS ja.S90 ja.SJIS ja.U90 ja_JP.UTF-8 \
	ko ko_KR.UTF-8 koi8-c koi8-r koi8-u \
	microsoft-cp1251 microsoft-cp1255 microsoft-cp1256 mulelao-1 \
	nokhchi-1 \
	pt_BR.UTF-8 \
	tatar-cyr th_TH th_TH.UTF-8 tscii-0 \
	vi_VN.tcvn vi_VN.viscii \
	zh_CN zh_CN.UTF-8 zh_CN.gb18030 zh_CN.gbk zh_HK.UTF-8 \
	zh_HK.big5 zh_HK.big5hkscs zh_TW zh_TW.UTF-8 zh_TW.big5


LTFILES=compose.dir locale.alias locale.dir

FILESDIR=	${X11LIBDIR}/locale

.for _F in ${LTFILES}
${_F}.lt: ${_F}.pre
	${_MKTARGET_CREATE}
	rm -f ${.TARGET}
	( \
	${CPP} -undef -traditional \
	    < ${.ALLSRC} | ${X11TOOL_UNXCOMM} \
	    | sed -e '/^[^#][^ 	]*:/s/://' -e '/^[^#].*[ 	].*:/d'; \
	${CPP} -undef -traditional \
	    < ${.ALLSRC} | ${X11TOOL_UNXCOMM} ; \
	) > ${.TARGET}

FILES+=			${_F}.lt
FILESNAME_${_F}.lt=	${_F}
CLEANFILES+=		${_F}.lt
.endfor

realall: ${FILES}

.PATH: ${X11SRCDIR.X11}/nls

.include <bsd.x11.mk>
.include <bsd.prog.mk>
.include <bsd.subdir.mk>

#
# build all the silly subdirs
#
build_subdirs:
.for _dir in ${SUBDIR}
	mkdir ${.CURDIR}/${_dir}
	printf '#	$$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:23 mrg Exp $$\n\nNLS_SUBDIR=	${_dir}\n\n.include "../Makefile.nls"\n' > ${.CURDIR}/${_dir}/Makefile

.endfor
@


1.1.1.1.2.1
log
@file Makefile was added on branch wrstuden-revivesa on 2008-09-18 05:18:50 +0000
@
text
@d1 63
@


1.1.1.1.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 63
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:23 mrg Exp $

.include <bsd.own.mk>

SUBDIR=	\
	C \
	am_ET.UTF-8 armscii-8 \
	el_GR.UTF-8 \
	en_US.UTF-8 \
	georgian-academy georgian-ps \
	ibm-cp1133 iscii-dev isiri-3342 \
	iso8859-1 iso8859-2 iso8859-3 iso8859-4 iso8859-5 iso8859-6 \
	iso8859-7 iso8859-8 iso8859-9 iso8859-9e iso8859-10 iso8859-11 \
	iso8859-13 iso8859-14 iso8859-15 \
	ja ja.JIS ja.S90 ja.SJIS ja.U90 ja_JP.UTF-8 \
	ko ko_KR.UTF-8 koi8-c koi8-r koi8-u \
	microsoft-cp1251 microsoft-cp1255 microsoft-cp1256 mulelao-1 \
	nokhchi-1 \
	pt_BR.UTF-8 \
	tatar-cyr th_TH th_TH.UTF-8 tscii-0 \
	vi_VN.tcvn vi_VN.viscii \
	zh_CN zh_CN.UTF-8 zh_CN.gb18030 zh_CN.gbk zh_HK.UTF-8 \
	zh_HK.big5 zh_HK.big5hkscs zh_TW zh_TW.UTF-8 zh_TW.big5


LTFILES=compose.dir locale.alias locale.dir

FILESDIR=	${X11LIBDIR}/locale

.for _F in ${LTFILES}
${_F}.lt: ${_F}.pre
	${_MKTARGET_CREATE}
	rm -f ${.TARGET}
	( \
	${CPP} -undef -traditional \
	    < ${.ALLSRC} | ${X11TOOL_UNXCOMM} \
	    | sed -e '/^[^#][^ 	]*:/s/://' -e '/^[^#].*[ 	].*:/d'; \
	${CPP} -undef -traditional \
	    < ${.ALLSRC} | ${X11TOOL_UNXCOMM} ; \
	) > ${.TARGET}

FILES+=			${_F}.lt
FILESNAME_${_F}.lt=	${_F}
CLEANFILES+=		${_F}.lt
.endfor

realall: ${FILES}

.PATH: ${X11SRCDIR.X11}/nls

.include <bsd.x11.mk>
.include <bsd.prog.mk>
.include <bsd.subdir.mk>

#
# build all the silly subdirs
#
build_subdirs:
.for _dir in ${SUBDIR}
	mkdir ${.CURDIR}/${_dir}
	printf '#	$$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:23 mrg Exp $$\n\nNLS_SUBDIR=	${_dir}\n\n.include "../Makefile.nls"\n' > ${.CURDIR}/${_dir}/Makefile

.endfor
@
