2 |
MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/ |
MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/ |
3 |
MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ |
MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/ |
4 |
|
|
5 |
DAC_SUFFIX = .dac |
DIS_SUFFIX = .dis |
6 |
|
DAC_SUFFIX = .dae |
7 |
|
DAEM_SUFFIX = .daem |
8 |
|
|
9 |
RM = rm -f |
RM = rm -f |
10 |
|
|
14 |
XALAN_PATH = d:/Program_Files/xalan/xalan.jar |
XALAN_PATH = d:/Program_Files/xalan/xalan.jar |
15 |
XALAN = $(JAVA) -cp $(XALAN_PATH) org.apache.xalan.xslt.Process |
XALAN = $(JAVA) -cp $(XALAN_PATH) org.apache.xalan.xslt.Process |
16 |
|
|
17 |
PERL_OPTIONS = -I$(MANAKAI_LIB_DIR) |
PERL_OPTIONS = |
18 |
PERL = perl |
PERL = perl |
19 |
|
PERL_ = $(PERL) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR) |
20 |
|
|
21 |
|
DIS_OPTIONS = |
22 |
|
DIS_OPTIONS_ALL = $(DIS_OPTIONS) \ |
23 |
|
--search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \ |
24 |
|
--dis-file-suffix="$(DIS_SUFFIX)" \ |
25 |
|
--daem-file-suffix="$(DAEM_SUFFIX)" |
26 |
|
|
27 |
MKDISDUMP_PL = $(MANAKAI_BIN_DIR)mkdisdump.pl |
MKDISDUMP_PL = $(MANAKAI_BIN_DIR)mkdisdump.pl |
28 |
MKDISDUMP = $(PERL) $(PERL_OPTIONS) $(MKDISDUMP_PL) |
MKDISDUMP_OPTIONS = --with-implementators-note |
29 |
|
MKDISDUMP = $(PERL_) $(MKDISDUMP_PL) $(MKDISDUMP_OPTIONS) $(DIS_OPTIONS_ALL) |
30 |
|
|
31 |
DUMP_STYLESHEET_PATH = template/disdump.ja.xsl |
DUMP_STYLESHEET_PATH = template/disdump.ja.xsl |
32 |
DDLIST_STYLESHEET_PATH = template/ddlist.ja.xsl |
DDLIST_STYLESHEET_PATH = template/ddlist.ja.xsl |
36 |
|
|
37 |
NS_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\# |
NS_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\# |
38 |
NS_DISLIB = http://suika.fam.cx/~wakaba/archive/2004/dis/ |
NS_DISLIB = http://suika.fam.cx/~wakaba/archive/2004/dis/ |
39 |
|
NS_DX = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/DOMException\# |
40 |
NS_ERROR = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/ |
NS_ERROR = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/ |
41 |
NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\# |
NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\# |
42 |
|
NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\# |
43 |
NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM. |
NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM. |
44 |
NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/ |
NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/ |
45 |
|
|
46 |
ALL_HTML = dom.html util.html |
ALL_HTML = dom.html util.html error.html dis.html |
47 |
|
|
48 |
DOM_DAC_FILE = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX) |
DOM_DAC_FILE = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX) |
49 |
#UTIL_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/disdoc$(DAC_SUFFIX) |
MINIMPL_DAC_FILE = $(MANAKAI_LIB_DIR)Message/DOM/feature-spec$(DAC_SUFFIX) |
50 |
UTIL_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/discore$(DAC_SUFFIX) |
UTIL_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX) |
51 |
|
DIS_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/disdoc$(DAC_SUFFIX) |
52 |
|
|
53 |
all: $(ALL_HTML) |
all: $(ALL_HTML) |
54 |
|
|
77 |
--module-uri="$(NS_MDOM)DOMCore" \ |
--module-uri="$(NS_MDOM)DOMCore" \ |
78 |
--module-uri="$(NS_MDOM)DOMXML" \ |
--module-uri="$(NS_MDOM)DOMXML" \ |
79 |
--module-uri="$(NS_MDOM)DOMLS" \ |
--module-uri="$(NS_MDOM)DOMLS" \ |
80 |
|
--module-uri="$(NS_MDOM)GenericLS" \ |
81 |
--with-implementators-note > $@ |
--with-implementators-note > $@ |
82 |
|
|
83 |
util.xml: $(UTIL_DAC_FILE) |
util.xml: $(UTIL_DAC_FILE) |
87 |
--module-uri="$(NS_DISLIB)DISIDL" \ |
--module-uri="$(NS_DISLIB)DISIDL" \ |
88 |
--module-uri="$(NS_DISLIB)DISLang" \ |
--module-uri="$(NS_DISLIB)DISLang" \ |
89 |
--module-uri="$(NS_DISLIB)DISPerl" \ |
--module-uri="$(NS_DISLIB)DISPerl" \ |
90 |
|
--module-uri="$(NS_DISLIB)DISMarkup" \ |
91 |
|
--module-uri="$(NS_DISLIB)XML" \ |
92 |
|
--module-uri="$(NS_DISLIB)NaturalLanguage" \ |
93 |
|
--module-uri="$(NS_DISLIB)Java" \ |
94 |
|
--module-uri="$(NS_DISLIB)ECMAScript" \ |
95 |
|
--module-uri="$(NS_DISLIB)Document" \ |
96 |
--module-uri="$(NS_UTIL)ManakaiNode" \ |
--module-uri="$(NS_UTIL)ManakaiNode" \ |
97 |
--module-uri="$(NS_ERROR)Core" \ |
--with-implementators-note > $@ |
98 |
--module-uri="$(NS_ERROR)DOMException" \ |
|
99 |
|
error.xml: $(UTIL_DAC_FILE) |
100 |
|
$(MKDISDUMP) $< \ |
101 |
|
--resource-uri="$(NS_DX)ManakaiErrorModules" \ |
102 |
|
> $@ |
103 |
|
|
104 |
|
minimpl.xml: $(MINIMPL_DAC_FILE) |
105 |
|
$(MKDISDUMP) $< \ |
106 |
|
--resource-uri="http://suika.fam.cx/~wakaba/archive/2004/dom/feature#spec.Document $(NS_MANAKAIDOM)ForSpecLatest" \ |
107 |
|
> $@ |
108 |
|
|
109 |
|
dis.xml: $(DIS_DAC_FILE) |
110 |
|
$(MKDISDUMP) $< \ |
111 |
--module-uri="$(NS_MARKUP)SuikaWikiConfig21" \ |
--module-uri="$(NS_MARKUP)SuikaWikiConfig21" \ |
112 |
--module-uri="$(NS_UTIL)PerlCode" \ |
--module-uri="$(NS_UTIL)PerlCode" \ |
113 |
--module-uri="$(NS_UTIL)DIS" \ |
--module-uri="$(NS_UTIL)DIS" \ |
114 |
--module-uri="$(NS_DIS)Perl" \ |
--module-uri="$(NS_DIS)Perl" \ |
115 |
--module-uri="$(NS_DIS)Value" \ |
--module-uri="$(NS_DIS)Value" \ |
116 |
|
--module-uri="$(NS_DIS)DNLite" \ |
117 |
|
--module-uri="$(NS_DIS)DISDoc" \ |
118 |
|
--module-uri="$(NS_DIS)DISDump" \ |
119 |
--with-implementators-note > $@ |
--with-implementators-note > $@ |
|
# --module-uri="$(NS_DIS)DISDoc" \ |
|
|
# --module-uri="$(NS_DIS)DISDump" \ |
|
120 |
|
|
121 |
clean: |
clean: |
122 |
$(RM) $(ALL_HTML:.html=-list.pl.tmp) $(ALL_HTML:.html=-list.xml.tmp) \ |
$(RM) $(ALL_HTML:.html=-list.pl.tmp) $(ALL_HTML:.html=-list.xml.tmp) \ |