Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / share / nls / Makefile
blob506ede55edf49b62a9cada3a28c3bad5d415f2d7
1 # $NetBSD: Makefile,v 1.4 2014/03/16 23:25:15 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.SJIS ja_JP.UTF-8 \
16 km_KH.UTF-8 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 ru_RU.UTF-8 \
21 sr_CS.UTF-8 \
22 tatar-cyr th_TH th_TH.UTF-8 tscii-0 \
23 vi_VN.tcvn vi_VN.viscii \
24 zh_CN zh_CN.UTF-8 zh_CN.gb18030 zh_CN.gbk zh_HK.UTF-8 \
25 zh_HK.big5 zh_HK.big5hkscs zh_TW zh_TW.UTF-8 zh_TW.big5
28 LTFILES=compose.dir locale.alias locale.dir
30 FILESDIR= ${X11LIBDIR}/locale
32 .for _F in ${LTFILES}
33 ${_F}.lt: ${_F}.pre
34 ${_MKTARGET_CREATE}
35 rm -f ${.TARGET}
36 ( \
37 ${CPP} -undef -traditional \
38 < ${.ALLSRC} | ${X11TOOL_UNXCOMM} \
39 | ${TOOL_SED} -e \
40 '/^[^#][^ ]*:/s/://' -e '/^[^#].*[ ].*:/d'; \
41 ${CPP} -undef -traditional \
42 < ${.ALLSRC} | ${X11TOOL_UNXCOMM} ; \
43 ) > ${.TARGET}
45 FILES+= ${_F}.lt
46 FILESNAME_${_F}.lt= ${_F}
47 CLEANFILES+= ${_F}.lt
48 .endfor
50 realall: ${FILES}
52 .PATH: ${X11SRCDIR.X11}/nls
54 .include <bsd.x11.mk>
55 .include <bsd.prog.mk>
56 .include <bsd.subdir.mk>
59 # build all the silly subdirs
61 build_subdirs:
62 .for _dir in ${SUBDIR}
63 mkdir ${.CURDIR}/${_dir}
64 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
66 .endfor