diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-05-30 20:34:07 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-05-30 20:34:07 +0000 |
commit | 5ad7e614c8a21245194d7531551b352d491dcd87 (patch) | |
tree | 804b1d5f76cd45c84129bcdd1ce19c7d276cdf2c /Makefile.SH | |
parent | ff0adf167b2e3460e75812c6003c4a897c4595fe (diff) | |
download | perl-5ad7e614c8a21245194d7531551b352d491dcd87.tar.gz |
First step to generating Unicode files for the regexp engine at build
time - targets in the Makefile
p4raw-id: //depot/perl@22872
Diffstat (limited to 'Makefile.SH')
-rw-r--r-- | Makefile.SH | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Makefile.SH b/Makefile.SH index 2cd4173b24..90a3934477 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -317,6 +317,14 @@ plextract = pod/pod2html pod/pod2latex pod/pod2man pod/pod2text \ addedbyconf = UU $(shextract) $(plextract) lib/lib.pm pstruct +# Unicode data files generated by mktables +unidatafiles = lib/unicore/Canonical.pl lib/unicore/Exact.pl \ + lib/unicore/Properties lib/unicore/Decomposition.pl \ + lib/unicore/CombiningClass.pl lib/unicore/Name.pl + +# Directories of Unicode data files generated by mktables +unidatadirs = lib/unicore/To lib/unicore/lib + h1 = EXTERN.h INTERN.h XSUB.h av.h config.h cop.h cv.h dosish.h h2 = embed.h form.h gv.h handy.h hv.h keywords.h mg.h op.h opcode.h h3 = pad.h patchlevel.h perl.h perlapi.h perly.h pp.h proto.h regcomp.h @@ -348,7 +356,7 @@ lintflags = -hbvxac .c.s: $(CCCMDSRC) -S $*.c -all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(public) $(dynamic_ext) $(nonxs_ext) extras.make +all: $(FIRSTMAKEFILE) miniperl$(EXE_EXT) extra.pods $(private) $(unidatafiles) $(public) $(dynamic_ext) $(nonxs_ext) extras.make @echo " "; @echo " Everything is up to date. Type '$(MAKE) test' to run test suite." @@ -750,6 +758,9 @@ lib/lib.pm: miniperl$(EXE_EXT) lib/Config.pm @-rm -f $@ $(LDLIBPTH) ./miniperl -Ilib lib/lib_pm.PL +$(unidatafiles): miniperl$(EXE_EXT) lib/Config.pm lib/unicore/mktables + cd lib/unicore && ../../miniperl -I../../lib mktables + extra.pods: miniperl$(EXE_EXT) -@test -f extra.pods && rm -f `cat extra.pods` -@rm -f extra.pods @@ -986,6 +997,7 @@ _cleaner2: rm -rf $(addedbyconf) rm -f $(FIRSTMAKEFILE) $(FIRSTMAKEFILE).old makefile.old rm -f $(private) lib/Config.pod + echo TODO rm -rf $(unidatafiles) $(unidatadirs) rm -rf lib/auto rm -f lib/.exists lib/*/.exists lib/*/*/.exists rm -f h2ph.man pstruct @@ -1153,10 +1165,10 @@ test.taintwarn: test_prep # is crashing. minitest: miniperl$(EXE_EXT) lib/re.pm -@test -f lib/lib.pm && test -f lib/Config.pm || \ - $(MAKE) lib/Config.pm lib/lib.pm + $(MAKE) lib/Config.pm lib/lib.pm $(unidatafiles) @echo " " @echo "You may see some irrelevant test failures if you have been unable" - @echo "to build lib/Config.pm or lib/lib.pm." + @echo "to build lib/Config.pm, lib/lib.pm or the Unicode data files." @echo " " - cd t && (rm -f perl$(EXE_EXT); $(LNS) ../miniperl$(EXE_EXT) perl$(EXE_EXT)) \ && $(LDLIBPTH) ./perl TEST -minitest base/*.t comp/*.t cmd/*.t run/*.t io/*.t op/*.t uni/*.t </dev/tty |