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