1 # Id: Makefile,v 1.1 2003/06/04 00:27:52 marka Exp
3 PERL
= /usr
/local
/bin
/perl
-w
5 V301_NORM_DIR
= data
/unicode-3.0
.0
6 V310_NORM_DIR
= data
/unicode-3.1
.0
7 V320_NORM_DIR
= data
/unicode-3.2
.0
8 NORM_GENERATOR
= .
/generate_normalize_data.pl
10 NAMEPREP_DIR
= data
/nameprep
12 $(NAMEPREP_DIR
)/nameprep.rfc3491.map \
13 $(NAMEPREP_DIR
)/nameprep.rfc3491.prohibited \
14 $(NAMEPREP_DIR
)/nameprep.rfc3491.unassigned \
15 $(NAMEPREP_DIR
)/nameprep.rfc3491.bidi
16 NAMEPREP_GENERATOR
= .
/generate_nameprep_data.pl
17 NAMEPREP_VERSIONS
= rfc3491
19 all: normalize nameprep
21 normalize
: ..
/lib
/unicodedata_320.c
23 nameprep
: ..
/lib
/nameprepdata.c
25 ..
/lib
/unicodedata_301.c
: $(NORM_GENERATOR
)
27 $(PERL
) $(NORM_GENERATOR
) -prefix v301_
-dir $(V301_NORM_DIR
) \
28 > $@.tmp
&& mv
$@.tmp
$@
30 ..
/lib
/unicodedata_310.c
: $(NORM_GENERATOR
)
32 $(PERL
) $(NORM_GENERATOR
) -prefix v310_
-dir $(V310_NORM_DIR
) \
33 > $@.tmp
&& mv
$@.tmp
$@
35 ..
/lib
/unicodedata_320.c
: $(NORM_GENERATOR
)
37 $(PERL
) $(NORM_GENERATOR
) -prefix v320_
-dir $(V320_NORM_DIR
) \
38 > $@.tmp
&& mv
$@.tmp
$@
40 ..
/lib
/nameprepdata.c
: $(NAMEPREP_GENERATOR
) $(NAMEPREP_FILES
)
42 $(PERL
) $(NAMEPREP_GENERATOR
) -dir $(NAMEPREP_DIR
) \
43 $(NAMEPREP_VERSIONS
) > $@.tmp
&& mv
$@.tmp
$@