1# These are the version 9 files from <ftp://ftp.unicode.org/Public/UNIDATA/>
2UNICODEDATA = UnicodeData.txt EastAsianWidth.txt
3
4TABLES = slupper.h sllower.h slischar.h slcombin.h slwcwidth.h
5
6SLANG_SRC_DIR = ../../src
7# This works with GNU make.  It uses a pattern rule (%.h) to deal with the
8# fact that mktables creates all the .h files
9
10all: $(TABLES)
11
12$(TABLES) : mktables $(UNICODEDATA)
13	./mktables $(UNICODEDATA)
14
15install: $(TABLES)
16	cp $(TABLES) $(SLANG_SRC_DIR)
17
18clean:
19	/bin/rm -f *~ \#* $(TABLES)
20