2 |
--htmlroot "../../.." |
--htmlroot "../../.." |
3 |
|
|
4 |
MANAKAI_ROOT_DIR = ../../../ |
MANAKAI_ROOT_DIR = ../../../ |
|
MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/ |
|
5 |
MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ |
MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ |
|
MANAKAI_LIB_MANAKAI_DIR = $(MANAKAI_LIB_DIR)manakai/ |
|
|
|
|
|
DIS_SUFFIX = .dis |
|
|
DAEM_SUFFIX = .dafm |
|
|
DAFX_SUFFIX = .dafx |
|
|
PM_SUFFIX = .pm |
|
6 |
|
|
7 |
CD = cd |
CD = cd |
8 |
MAKE = make |
MAKE = make |
18 |
PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL) |
PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL) |
19 |
TOUCH = touch |
TOUCH = touch |
20 |
|
|
21 |
NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\# |
HTM_FILES = Error.html \ |
|
NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM. |
|
|
NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\# |
|
|
NS_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\# |
|
|
NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/ |
|
|
NS_UTIL_ERR = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/ |
|
|
NS_UTIL_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\# |
|
|
NS_UTIL_MUF = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Formatter/ |
|
|
|
|
|
DIS_OPTIONS = |
|
|
DIS_OPTIONS_ALL = $(DIS_OPTIONS) \ |
|
|
--search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \ |
|
|
--dis-file-suffix="$(DIS_SUFFIX)" \ |
|
|
--daem-file-suffix="$(DAEM_SUFFIX)" \ |
|
|
--dafx-file-suffix="$(DAFX_SUFFIX)" |
|
|
|
|
|
DAF_OPTIONS = |
|
|
DAF_PL = $(MANAKAI_BIN_DIR)daf.pl |
|
|
DAF = $(PERL_) $(DAF_PL) $(DAF_OPTIONS) $(DIS_OPTIONS_ALL) |
|
|
|
|
|
UTIL_CORE_DIS_FILES = ManakaiNode.dis Error/DOMException.dis Error/Core.dis \ |
|
|
Formatter/Muf2003$(DIS_SUFFIX) |
|
|
UTIL_TEST_DIS_FILES = ManakaiNodeTest$(DIS_SUFFIX) |
|
|
DIS_CORE_DIS_FILES_ = DIS$(DIS_SUFFIX) |
|
|
DIS_CORE_DIS_FILES_DIS = DIS/Perl.dis DIS/Value.dis DIS/DNLite.dis \ |
|
|
DIS/DPG$(DIS_SUFFIX) |
|
|
DIS_CORE_DIS_FILES = $(DIS_CORE_DIS_FILES_) $(DIS_CORE_DIS_FILES_DIS) |
|
|
DIS_DOC_DIS_FILES = DIS/DISDoc.dis |
|
|
DIS_DUMP_DIS_FILES = DIS/DISDump.dis |
|
|
DIS_TEST_DIS_FILES = DIS/Test$(DIS_SUFFIX) |
|
|
PC_DIS_FILES = PerlCode$(DIS_SUFFIX) |
|
|
UTIL_DIS_COMMON_DIS_FILE = DIS/common$(DIS_SUFFIX) |
|
|
DIS_FILES = $(UTIL_CORE_DIS_FILES) $(UTIL_TEST_DIS_FILES) \ |
|
|
$(DIS_CORE_DIS_FILES) \ |
|
|
$(DIS_DOC_DIS_FILES) $(DIS_DUMP_DIS_FILES) $(DIS_TEST_DIS_FILES) \ |
|
|
$(PC_DIS_FILES) $(UTIL_DIS_COMMON_DIS_FILE) |
|
|
|
|
|
NS_UTIL_PM_FILES = \ |
|
|
ManakaiNode$(PM_SUFFIX) ManakaiNodeTest$(PM_SUFFIX) \ |
|
|
PerlCode$(PM_SUFFIX) \ |
|
|
DIS$(PM_SUFFIX) |
|
|
NS_UTIL_ERR_PM_FILES = \ |
|
|
Error/DOMException$(PM_SUFFIX) |
|
|
NS_UTIL_DIS_PM_FILES = \ |
|
|
DIS/DNLite$(PM_SUFFIX) DIS/Value$(PM_SUFFIX) \ |
|
|
DIS/DPG$(PM_SUFFIX) \ |
|
|
DIS/Perl$(PM_SUFFIX) DIS/DISDoc$(PM_SUFFIX) DIS/DISDump$(PM_SUFFIX) \ |
|
|
DIS/Test$(PM_SUFFIX) |
|
|
|
|
|
GENERATED_FILES = \ |
|
|
$(NS_UTIL_PM_FILES) $(NS_UTIL_ERR_PM_FILES) $(NS_UTIL_DIS_PM_FILES) |
|
|
|
|
|
all: all-document PerlCode$(PM_SUFFIX) .discore$(PM_SUFFIX) $(GENERATED_FILES) |
|
|
|
|
|
all-document: Error.html \ |
|
22 |
Formatter/Base.html Formatter/Boolean.html Formatter/Text.html \ |
Formatter/Base.html Formatter/Boolean.html Formatter/Text.html \ |
23 |
HostPermit.html QName/Filter.html |
HostPermit.html QName/Filter.html |
24 |
|
|
25 |
|
GENERATED_FILES = $(HTML_FILES) |
26 |
|
|
27 |
|
all: $(GENERATED_FILES) |
28 |
|
|
29 |
Error.html:: %.html: %.pod |
Error.html:: %.html: %.pod |
30 |
$(POD2HTML) $< > $@ |
$(POD2HTML) $< > $@ |
31 |
|
|
32 |
%.html: %.pm |
%.html: %.pm |
33 |
$(POD2HTML) $< > $@ |
$(POD2HTML) $< > $@ |
34 |
|
|
|
$(NS_UTIL_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL) |
|
|
$(DAF) --create-perl-module="$(NS_UTIL)$* $@" |
|
|
$(PERL_CHK) $@ |
|
|
|
|
|
$(NS_UTIL_ERR_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL) |
|
|
$(DAF) --create-perl-module="$(NS_UTIL_ERR)$(*:Error/%=%) $@" |
|
|
$(PERL_CHK) $@ |
|
|
|
|
|
$(NS_UTIL_DIS_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL) |
|
|
$(DAF) --create-perl-module="$(NS_UTIL_DIS)$(*:DIS/%=%) $@" |
|
|
$(PERL_CHK) $@ |
|
|
|
|
|
.discore$(PM_SUFFIX): $(DIS_CORE_DIS_FILES) $(DAF_PL) |
|
|
$(DAF) \ |
|
|
--create-perl-module="$(NS_UTIL)DIS DIS$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)Value DIS/Value$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)Perl DIS/Perl$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)DPG DIS/DPG$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)DNLite DIS/DNLite$(PM_SUFFIX)" |
|
|
$(PERL_CHK) DIS$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/Value$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/Perl$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/DNLite$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/DPG$(PM_SUFFIX) |
|
|
$(TOUCH) $@ |
|
|
|
|
|
.discore-all$(PM_SUFFIX): $(DIS_CORE_DIS_FILES) $(DAF_PL) |
|
|
$(DAF) \ |
|
|
--create-perl-module="$(NS_UTIL)ManakaiNode ManakaiNode$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_ERR)DOMException Error/DOMException$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MARKUP)SuikaWikiConfig21 ../Markup/SuikaWikiConfig21$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL)DIS DIS$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)Value DIS/Value$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)Perl DIS/Perl$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)DPG DIS/DPG$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_UTIL_DIS)DNLite DIS/DNLite$(PM_SUFFIX)" |
|
|
$(PERL_CHK) ../Markup/SuikaWikiConfig21$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/Value$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/Perl$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/DPG$(PM_SUFFIX) |
|
|
$(PERL_CHK) DIS/DNLite$(PM_SUFFIX) |
|
|
$(TOUCH) .discore$(PM_SUFFIX) |
|
|
$(DAF) \ |
|
|
--create-perl-module="$(NS_UTIL)PerlCode PerlCode$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)DOMFeature ../DOM/DOMFeature$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)GenericLS ../DOM/GenericLS$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)DOMMain ../DOM/DOMMain$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)DOMString ../DOM/DOMString$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)DOMCore ../DOM/DOMCore$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)TreeCore ../DOM/TreeCore$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)Document ../DOM/Document$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)Element ../DOM/Element$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)CharacterData ../DOM/CharacterData$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)XML ../DOM/XML$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)XDoctype ../DOM/XDoctype$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)TreeStore ../DOM/TreeStore$(PM_SUFFIX)" |
|
|
$(PERL_CHK) PerlCode$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/DOMFeature$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/GenericLS$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/DOMMain$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/DOMString$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/DOMCore$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/TreeCore$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/Document$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/Element$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/CharacterData$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/XML$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/XDoctype$(PM_SUFFIX) |
|
|
$(PERL_CHK) ../DOM/TreeStore$(PM_SUFFIX) |
|
|
$(TOUCH) $@ |
|
|
$(TOUCH) ../DOM/.core$(PM_SUFFIX) |
|
|
|
|
35 |
clean: |
clean: |
36 |
$(RMALL) $(GENERATED_FILES) |
$(RMALL) $(GENERATED_FILES) |
37 |
$(RMALL) *.tmp .*.tmp *~ .*~ .discore$(PM_SUFFIX) .discore-all$(PM_SUFFIX) |
$(RMALL) *.tmp .*.tmp *~ .*~ |
38 |
$(RMALL) Error/*~ Error/.*~ |
$(RMALL) Error/*~ Error/.*~ |
39 |
$(RMALL) Formatter/*~ Formatter/.*~ |
$(RMALL) Formatter/*~ Formatter/.*~ |
|
$(RMALL) DIS/*~ DIS/.*~ |
|
|
|
|
|
clean-db: |
|
|
$(RMALL) *$(DAEM_SUFFIX) *$(DAFX_SUFFIX) |
|
|
$(RMALL) Error/*$(DAEM_SUFFIX) Error/*$(DAFX_SUFFIX) |
|
|
$(RMALL) Formatter/*$(DAEM_SUFFIX) Formatter/*$(DAFX_SUFFIX) |
|
|
$(RMALL) DIS/*$(DAEM_SUFFIX) DIS/*$(DAFX_SUFFIX) |
|
40 |
|
|
41 |
distclean: clean clean-db |
distclean: clean |
42 |
|
|
43 |
## $Date$ |
## $Date$ |
44 |
## License: Public Domain. |
## License: Public Domain. |