# Command to get source packages over the network

#RETRIEVE=@echo Please get over the Internet the file ; echo 
RETRIEVE=wget
REMOVECR=perl -p -i -e 's/\r$$//;'

all: 8859-1.TXT 8859-2.TXT 8859-3.TXT 8859-4.TXT 8859-5.TXT 8859-6.TXT \
     8859-7.TXT 8859-8.TXT 8859-9.TXT 8859-10.TXT 8859-11.TXT \
     8859-13.TXT 8859-14.TXT 8859-15.TXT 8859-16.TXT \
     KOI8-R.TXT JIS0201.TXT

# rules for getting various mapping files from the Unicode ftp site

8859-1.TXT 8859-2.TXT 8859-3.TXT 8859-4.TXT 8859-5.TXT 8859-6.TXT \
8859-7.TXT 8859-8.TXT 8859-9.TXT 8859-10.TXT 8859-11.TXT \
8859-13.TXT 8859-14.TXT 8859-15.TXT 8859-16.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/$@
	$(REMOVECR) $@

CP1250.TXT CP1251.TXT CP1252.TXT CP1253.TXT CP1254.TXT CP1255.TXT \
CP1256.TXT CP1257.TXT CP1258.TXT CP932.TXT CP936.TXT CP949.TXT CP950.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/$@

CP437.TXT CP737.TXT CP775.TXT CP850.TXT CP852.TXT CP855.TXT CP857.TXT \
CP860.TXT CP861.TXT CP862.TXT CP863.TXT CP864.TXT CP865.TXT CP866.TXT \
CP869.TXT CP874.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/$@

CYRILLIC.TXT GREEK.TXT ICELAND.TXT LATIN2.TXT ROMAN.TXT TURKISH.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/MAC/$@

CP037.TXT CP1026.TXT CP500.TXT CP875.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/EBCDIC/$@

NEXTSTEP.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/NEXT/$@

stdenc.txt symbol.txt zdingbat.txt:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/ADOBE/$@

IBMGRAPH.TXT SGML.TXT KOI8-R.TXT CP1006.TXT CP424.TXT CP856.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/VENDORS/MISC/$@

JIS0201.TXT JIS0208.TXT JIS0212.TXT SHIFTJIS.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/$@

GB2312.TXT GB12345.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/GB/$@

CNS11643.TXT BIG5.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/OTHER/$@

KSX1001.TXT HANGUL.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/KSC/$@

GSM0338.TXT:
	$(RETRIEVE) ftp://ftp.unicode.org/Public/MAPPINGS/ETSI/$@
