No empty .Rs/.Re
[netbsd-mini2440.git] / external / mit / xorg / share / nls / Makefile
blob9ae41bfd513b6d9c5de267fb9f547db749995647
1 # $NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:23 mrg Exp $
3 .include <bsd.own.mk>
5 SUBDIR= \
6 C \
7 am_ET.UTF-8 armscii-8 \
8 el_GR.UTF-8 \
9 en_US.UTF-8 \
10 georgian-academy georgian-ps \
11 ibm-cp1133 iscii-dev isiri-3342 \
12 iso8859-1 iso8859-2 iso8859-3 iso8859-4 iso8859-5 iso8859-6 \
13 iso8859-7 iso8859-8 iso8859-9 iso8859-9e iso8859-10 iso8859-11 \
14 iso8859-13 iso8859-14 iso8859-15 \
15 ja ja.JIS ja.S90 ja.SJIS ja.U90 ja_JP.UTF-8 \
16 ko ko_KR.UTF-8 koi8-c koi8-r koi8-u \
17 microsoft-cp1251 microsoft-cp1255 microsoft-cp1256 mulelao-1 \
18 nokhchi-1 \
19 pt_BR.UTF-8 \
20 tatar-cyr th_TH th_TH.UTF-8 tscii-0 \
21 vi_VN.tcvn vi_VN.viscii \
22 zh_CN zh_CN.UTF-8 zh_CN.gb18030 zh_CN.gbk zh_HK.UTF-8 \
23 zh_HK.big5 zh_HK.big5hkscs zh_TW zh_TW.UTF-8 zh_TW.big5
26 LTFILES=compose.dir locale.alias locale.dir
28 FILESDIR= ${X11LIBDIR}/locale
30 .for _F in ${LTFILES}
31 ${_F}.lt: ${_F}.pre
32 ${_MKTARGET_CREATE}
33 rm -f ${.TARGET}
34 ( \
35 ${CPP} -undef -traditional \
36 < ${.ALLSRC} | ${X11TOOL_UNXCOMM} \
37 | ${TOOL_SED} -e \
38 '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d'; \
39 ${CPP} -undef -traditional \
40 < ${.ALLSRC} | ${X11TOOL_UNXCOMM} ; \
41 ) > ${.TARGET}
43 FILES+= ${_F}.lt
44 FILESNAME_${_F}.lt= ${_F}
45 CLEANFILES+= ${_F}.lt
46 .endfor
48 realall: ${FILES}
50 .PATH: ${X11SRCDIR.X11}/nls
52 .include <bsd.x11.mk>
53 .include <bsd.prog.mk>
54 .include <bsd.subdir.mk>
57 # build all the silly subdirs
59 build_subdirs:
60 .for _dir in ${SUBDIR}
61 mkdir ${.CURDIR}/${_dir}
62 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
64 .endfor