xref: /freebsd/share/i18n/esdb/UTF/Makefile (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1# $NetBSD: Makefile.inc,v 1.5 2008/10/25 22:27:36 apb Exp $
2
3CODE=	UTF
4NO_PREPROC= yes
5
6UTF-16-mod= UTF1632
7UTF-16-var= utf16
8UTF-16BE-mod= UTF1632
9UTF-16BE-var= utf16,big,force
10UTF-16LE-mod= UTF1632
11UTF-16LE-var= utf16,little,force
12UTF-16-INTERNAL-mod= UTF1632
13UTF-16-INTERNAL-var= utf16,internal,force
14UTF-16-SWAPPED-mod= UTF1632
15UTF-16-SWAPPED-var= utf16,swapped,force
16UTF-32-mod= UTF1632
17UTF-32-var= utf32
18UTF-32BE-mod= UTF1632
19UTF-32BE-var= utf32,big,force
20UTF-32LE-mod= UTF1632
21UTF-32LE-var= utf32,little,force
22UTF-32-INTERNAL-mod= UTF1632
23UTF-32-INTERNAL-var= utf32,internal,force
24UTF-32-SWAPPED-mod= UTF1632
25UTF-32-SWAPPED-var= utf32,swapped,force
26UTF-8-mod= UTF8
27UTF-8-var= utf8
28UTF-7-mod= UTF7
29UTF-7-var= utf7
30
31.include "../Makefile.part"
32
33.for i in ${PART}
34${EPREFIX}${i}.src: ${CODE}.src
35	sed -e 's/UTF-x/UTF-${i}/' \
36		-e 's/UTF-mod/${UTF-${i}-mod}/' \
37		-e 's/UTF-var/${UTF-${i}-var}/' \
38		${.ALLSRC} > ${.TARGET}
39	@echo ${.TARGET} >>.tmpfiles
40.endfor
41