/[suikacvs]/messaging/manakai/lib/Message/DOM/Makefile
Suika

Contents of /messaging/manakai/lib/Message/DOM/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.27 - (hide annotations) (download)
Wed Oct 12 00:30:57 2005 UTC (19 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.26: +7 -1 lines
++ manakai/bin/ChangeLog	12 Oct 2005 00:13:08 -0000
2005-10-11  Wakaba  <wakaba@suika.fam.cx>

	* dac2pm.pl: Reports how long it takes at END.

++ manakai/lib/Message/Util/ChangeLog	12 Oct 2005 00:25:36 -0000
2005-10-11  Wakaba  <wakaba@suika.fam.cx>

	* PerlCode.dis (IfClsDef, IFClsETDef): New version of classes based
	on DOMCore and element type definitions added.
	(localName): Renamed to "pcLocalName" to avoid
	conflict with "Node.localName" attribute.

2005-10-10  Wakaba  <wakaba@suika.fam.cx>

	* DIS.dis (Require): Unused reference to "PerlCode.dis" removed.

	* Makefile: Rules to make "PerlCode.pm" separated
	from ones for "DIS.pm".

	* ManakaiNode.dis (mn:unsetXRefNode): "$referent"
	parameter is replaced with "$referrer->{$propName}".

	* PerlCode.dis (Require): References "DOMCore.dis".
	(DefaultFor): Changed to "ManakaiDOM:ManakaiDOMLatest".
	(Util: for ManakaiDOM:ManakaiDOM): New.

++ manakai/lib/Message/Util/DIS/ChangeLog	12 Oct 2005 00:30:10 -0000
2005-10-11  Wakaba  <wakaba@suika.fam.cx>

	* Perl.dis (plImplementation): Changed to direct
	instantiation of "ManakaiPCImplementation" class.
	(getPerlNameList, getPerlOperatorList): New methods.
	(plCodeFragment): Now allows subroutines having more than
	two method names and operators.
	(plMethodOperator): Removed.

2005-10-10  Wakaba  <wakaba@suika.fam.cx>

	* DNLite.dis (Require): Reference to "DIS/Perl.dis" added.

	* Perl.dis (Require): Reference to "PerlCode.dis" added.

++ manakai/lib/Message/DOM/ChangeLog	12 Oct 2005 00:15:44 -0000
2005-10-11  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis (appendChild, createElementNS, createAttributeNS,
	setAttribute, setAttributeNS): "strictErrorChecking" attribute supported.
	(doStrictErrorChecking): New code.

	* DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute
	supported.

	* Makefile: Rule to make "DOMFeature.pm" restored.

2005-10-10  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
	(adoptNode): Implemented.

1 wakaba 1.13 MANAKAI_ROOT_DIR = ../../../
2     MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3     MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4    
5 wakaba 1.24 DIS_SUFFIX = .dis
6     DAC_SUFFIX = .dae
7     DAEM_SUFFIX = .daem
8 wakaba 1.21 PM_SUFFIX = .pm
9    
10 wakaba 1.13 CD = cd
11 wakaba 1.1 MAKE = make
12 wakaba 1.3 RM = rm
13 wakaba 1.13 PERL = perl
14     PERL_OPTIONS3 = -I$(MANAKAI_LIB_DIR)
15     PERL_OPTIONS = $(PERL_OPTIONS3)
16     PERL_ = $(PERL) $(PERL_OPTIONS)
17     PERLC = $(PERL) -c -w
18     PERLC_OPTIONS3 = $(PERL_OPTIONS)
19     PERLC_OPTIONS = $(PERLC_OPTIONS3)
20     PERL_CHK = $(PERLC) $(PERLC_OPTIONS)
21 wakaba 1.22 TOUCH = touch
22 wakaba 1.1
23 wakaba 1.13 NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.
24     NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
25 wakaba 1.7
26 wakaba 1.24 DIS_OPTIONS =
27     DIS_OPTIONS_ALL = $(DIS_OPTIONS) \
28     --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
29     --dis-file-suffix="$(DIS_SUFFIX)" \
30     --daem-file-suffix="$(DAEM_SUFFIX)"
31    
32     DAC_OPTIONS =
33 wakaba 1.13 DAC_PL = $(MANAKAI_BIN_DIR)dac.pl
34 wakaba 1.24 DAC = $(PERL_) $(DAC_PL) $(DAC_OPTIONS) $(DIS_OPTIONS_ALL) \
35 wakaba 1.13 --db-base-directory-path="$(MANAKAI_ROOT_DIR)" \
36     --output-file-name=
37    
38     DAC2PM_OPTIONS3 = --enable-assert
39     DAC2PM_OPTIONS = $(DAC2PM_OPTIONS3)
40     DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl
41 wakaba 1.24 DAC2PM = $(PERL_) $(DAC2PM_PL) $(DAC2PM_OPTIONS) $(DIS_OPTIONS_ALL)
42 wakaba 1.1
43 wakaba 1.21 UTIL_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX)
44 wakaba 1.1
45 wakaba 1.25 DOM_FEATURE_DIS_FILES = DOMFeature$(DIS_SUFFIX)
46     DOM_CORE_DIS_FILES = DOMMain.dis DOMCore.dis DOMXML.dis \
47 wakaba 1.23 DOMLS.dis GenericLS.dis
48 wakaba 1.26 DOM_LS_DIS_FILES = SimpleLS$(DIS_SUFFIX) ManakaiDOMLS2003$(DIS_SUFFIX)
49 wakaba 1.20 DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis
50 wakaba 1.25 DIS_FILES = $(DOM_FEATURE_DIS_FILES) $(DOM_CORE_DIS_FILES) \
51     $(DOM_LS_DIS_FILES) $(DOM_HTML_DIS_FILES)
52 wakaba 1.9
53 wakaba 1.20 GENERATED_FILES = \
54 wakaba 1.25 feature$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) \
55     core$(DAC_SUFFIX) DOMMain$(PM_SUFFIX) \
56 wakaba 1.21 DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \
57 wakaba 1.23 GenericLS$(PM_SUFFIX) \
58 wakaba 1.26 ls$(DAC_SUFFIX) SimpleLS$(PM_SUFFIX) ManakaiDOMLS2003$(PM_SUFFIX) \
59 wakaba 1.21 html$(DAC_SUFFIX) DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX)
60 wakaba 1.25 GENERATED_DAC_FILES = feature$(DAC_SUFFIX) \
61     core$(DAC_SUFFIX) ls$(DAC_SUFFIX) html$(DAC_SUFFIX)
62 wakaba 1.7
63 wakaba 1.23 all: .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) $(GENERATED_DAC_FILES)
64 wakaba 1.7
65 wakaba 1.25 feature$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_FEATURE_DIS_FILES) $(DAC_PL)
66     $(DAC)$@ --input-db-file-name="$<" DOMFeature.dis
67    
68     core$(DAC_SUFFIX): feature$(DAC_SUFFIX) $(DOM_CORE_DIS_FILES) $(DAC_PL)
69 wakaba 1.23 $(DAC)$@.tmp.1 --input-db-file-name="$<" DOMLS.dis
70     $(DAC)$@ --input-db-file-name="$@.tmp.1" GenericLS.dis
71     $(RM) $@.tmp.1
72    
73     ls$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_LS_DIS_FILES) $(DAC_PL)
74 wakaba 1.26 $(DAC)$@.tmp.1 --input-db-file-name="$<" SimpleLS.dis
75     $(DAC)$@ --input-db-file-name="$@.tmp.1" ManakaiDOMLS2003.dis
76     $(RM) $@.tmp.1
77 wakaba 1.14
78 wakaba 1.21 html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL)
79 wakaba 1.20 $(DAC)$@ --input-db-file-name="$<" DOMHTML.dis
80 wakaba 1.19
81 wakaba 1.27 $(DOM_FEATURE_DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)): \
82     feature$(DAC_SUFFIX) $(DAC2PM_PL)
83     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
84     --output-file-path="$@"
85     $(PERL_CHK) $@
86    
87 wakaba 1.21 $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)): core$(DAC_SUFFIX) $(DAC2PM_PL)
88     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
89     --output-file-path="$@"
90 wakaba 1.19 $(PERL_CHK) $@
91 wakaba 1.9
92 wakaba 1.22 .core$(PM_SUFFIX): core$(DAC_SUFFIX) $(DAC2PM_PL)
93     $(DAC2PM) $< \
94     --create-perl-module="$(NS_MDOM)DOMFeature DOMFeature$(PM_SUFFIX)" \
95     --create-perl-module="$(NS_MDOM)DOMMain DOMMain$(PM_SUFFIX)" \
96     --create-perl-module="$(NS_MDOM)DOMCore DOMCore$(PM_SUFFIX)" \
97     --create-perl-module="$(NS_MDOM)DOMXML DOMXML$(PM_SUFFIX)" \
98 wakaba 1.23 --create-perl-module="$(NS_MDOM)DOMLS DOMLS$(PM_SUFFIX)" \
99     --create-perl-module="$(NS_MDOM)GenericLS GenericLS$(PM_SUFFIX)"
100 wakaba 1.22 $(PERL_CHK) DOMFeature$(PM_SUFFIX)
101     $(PERL_CHK) DOMMain$(PM_SUFFIX)
102     $(PERL_CHK) DOMCore$(PM_SUFFIX)
103     $(PERL_CHK) DOMXML$(PM_SUFFIX)
104     $(PERL_CHK) DOMLS$(PM_SUFFIX)
105 wakaba 1.23 $(PERL_CHK) GenericLS$(PM_SUFFIX)
106     $(TOUCH) $@
107    
108 wakaba 1.26 $(DOM_LS_DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)): ls$(DAC_SUFFIX) $(DAC2PM_PL)
109 wakaba 1.23 $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
110     --output-file-path="$@"
111     $(PERL_CHK) $@
112    
113     .ls$(PM_SUFFIX): ls$(DAC_SUFFIX) $(DAC2PM_PL)
114     $(DAC2PM) $< \
115 wakaba 1.26 --create-perl-module="$(NS_MDOM)SimpleLS SimpleLS$(PM_SUFFIX)" \
116     --create-perl-module="$(NS_MDOM)ManakaiDOMLS2003 ManakaiDOMLS2003$(PM_SUFFIX)"
117 wakaba 1.23 $(PERL_CHK) SimpleLS$(PM_SUFFIX)
118 wakaba 1.26 $(PERL_CHK) ManakaiDOMLS2003$(PM_SUFFIX)
119 wakaba 1.22 $(TOUCH) $@
120    
121 wakaba 1.21 $(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL)
122     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@
123 wakaba 1.13 $(PERL_CHK) $@
124 wakaba 1.12
125 wakaba 1.22 .html$(PM_SUFFIX): html$(DAC_SUFFIX) $(DAC2PM_PL)
126     $(DAC2PM) $< \
127     --create-perl-module="$(NS_MDOM)DOMHTML DOMHTML$(PM_SUFFIX)" \
128     --create-perl-module="$(NS_MDOM)DOMWebForms DOMWebForms$(PM_SUFFIX)"
129     $(PERL_CHK) DOMHTML$(PM_SUFFIX)
130     $(PERL_CHK) DOMWebForms$(PM_SUFFIX)
131     $(TOUCH) $@
132    
133 wakaba 1.25 feature-spec$(DAC_SUFFIX): feature$(DAC_SUFFIX) DOMFeature.dis $(DAC_PL)
134     $(DAC)$@ --input-db-file-name="$<" DOMFeature.dis \
135     --for="$(NS_MANAKAIDOM)ForSpecLatest"
136    
137 wakaba 1.20 # $(UTIL_CORE_DAC_FILE)
138 wakaba 1.21 $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX): dummy
139     $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) core$(DAC_SUFFIX)
140 wakaba 1.7
141 wakaba 1.20 dummy:
142 wakaba 1.16
143 wakaba 1.20 clean:
144 wakaba 1.22 $(RM) $(GENERATED_FILES)
145 wakaba 1.23 $(RM) .*.tmp *~ .*~ *.BAK .*.BAK
146     $(RM) .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX)
147 wakaba 1.14
148 wakaba 1.27 ## $Date: 2005/10/06 10:53:36 $
149 wakaba 1.22 ## License: Public Domain.

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24