/[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.31 - (hide annotations) (download)
Sat Jan 7 12:30:53 2006 UTC (18 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.30: +7 -2 lines
++ manakai/t/ChangeLog	7 Jan 2006 11:46:40 -0000
2006-01-07  Wakaba  <wakaba@suika.fam.cx>

	* dom-mdom.t: Removed (obsolete).

	* util-formatter-base.t: Test result synced with
	current implementation.

	* Makefile: |dom-core.t| and |dom-xdoctype.t| added.

++ manakai/lib/Message/Util/ChangeLog	7 Jan 2006 11:15:29 -0000
2006-01-07  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: |../DOM/XDoctype.dis| added.

++ manakai/lib/Message/Util/DIS/ChangeLog	7 Jan 2006 11:25:49 -0000
2006-01-07  Wakaba  <wakaba@suika.fam.cx>

	* Test.dis (id): New attribute.
	(assertNumEquals, assertNumNotEquals): New methods.
	(assertISA): New method.

2006-01-04  Wakaba  <wakaba@suika.fam.cx>

	* Perl.dis (plCodeFragment): New roles |ElementTypeDefinitionRole|
	and |AttributeDefinitionRole| implemented.

++ manakai/lib/Message/DOM/ChangeLog	7 Jan 2006 11:55:36 -0000
2006-01-07  Wakaba  <wakaba@suika.fam.cx>

	* DOMMain.dis (checkXMLNamesQName): Checks whether
	namespace URI is defined for not being warned.

	* XDoctype.dis: New module.

	* DOMCore.dis (DOMStringList): Test added.

	* Makefile: |XDoctype.pm| added.

	* Tree.dis (Require): Requires |XDoctype.dis|.
	(ManakaiDOMNodeObjectNode.eq): Added.
	(Test): |DOMError.location| must return a |DOMLocator|
	object (it was incorrectly tested to return |null|).
	(EmptyNodeList.DESTROY): Removed.

2006-01-04  Wakaba  <wakaba@suika.fam.cx>

	* Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
	|ATTRIBUTE_DEFINITION_NODE| node types added.
	(appendChild, insertBefore, replaceChild): New
	two node types added and processing instruction nodes
	as document type definition node child is allowed
	in |ManakaiDOM:ManakaiDOMLatest| mode.
	(getNodeReference): New |interface| parameter
	to filter classes by interface is added.
	(ElementTypeDefinitionRole): New role.
	(AttributeDefinitionRole): New role.

2006-01-02  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis (DOMStringList): Reimplemented as tied array.

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 wakaba 1.28 PERL_OPTIONS =
15     PERL_OPTIONS_ALL = $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
16     PERL_ = $(PERL) $(PERL_OPTIONS_ALL)
17 wakaba 1.13 PERLC = $(PERL) -c -w
18 wakaba 1.28 PERLC_OPTIONS =
19     PERLC_OPTIONS_ALL = $(PERLC_OPTIONS) -I$(MANAKAI_LIB_DIR)
20     PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL)
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.31 DOMLS.dis GenericLS.dis Tree$(DIS_SUFFIX) \
48     XDoctype$(DIS_SUFFIX)
49 wakaba 1.26 DOM_LS_DIS_FILES = SimpleLS$(DIS_SUFFIX) ManakaiDOMLS2003$(DIS_SUFFIX)
50 wakaba 1.30 XP_DIS_FILES = XMLParser$(DIS_SUFFIX)
51 wakaba 1.20 DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis
52 wakaba 1.25 DIS_FILES = $(DOM_FEATURE_DIS_FILES) $(DOM_CORE_DIS_FILES) \
53 wakaba 1.30 $(DOM_LS_DIS_FILES) $(DOM_HTML_DIS_FILES) $(XP_DIS_FILES)
54 wakaba 1.9
55 wakaba 1.20 GENERATED_FILES = \
56 wakaba 1.25 feature$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) \
57     core$(DAC_SUFFIX) DOMMain$(PM_SUFFIX) \
58 wakaba 1.21 DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \
59 wakaba 1.29 GenericLS$(PM_SUFFIX) Tree$(PM_SUFFIX) \
60 wakaba 1.31 XDoctype$(PM_SUFFIX) \
61 wakaba 1.26 ls$(DAC_SUFFIX) SimpleLS$(PM_SUFFIX) ManakaiDOMLS2003$(PM_SUFFIX) \
62 wakaba 1.30 xp$(DAC_SUFFIX) XMLParser$(PM_SUFFIX) \
63 wakaba 1.21 html$(DAC_SUFFIX) DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX)
64 wakaba 1.25 GENERATED_DAC_FILES = feature$(DAC_SUFFIX) \
65 wakaba 1.30 core$(DAC_SUFFIX) ls$(DAC_SUFFIX) html$(DAC_SUFFIX) xp$(DAC_SUFFIX)
66 wakaba 1.7
67 wakaba 1.30 all: .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) \
68     $(GENERATED_DAC_FILES) \
69     XMLParser$(PM_SUFFIX)
70 wakaba 1.7
71 wakaba 1.25 feature$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_FEATURE_DIS_FILES) $(DAC_PL)
72     $(DAC)$@ --input-db-file-name="$<" DOMFeature.dis
73    
74     core$(DAC_SUFFIX): feature$(DAC_SUFFIX) $(DOM_CORE_DIS_FILES) $(DAC_PL)
75 wakaba 1.23 $(DAC)$@.tmp.1 --input-db-file-name="$<" DOMLS.dis
76     $(DAC)$@ --input-db-file-name="$@.tmp.1" GenericLS.dis
77     $(RM) $@.tmp.1
78    
79     ls$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_LS_DIS_FILES) $(DAC_PL)
80 wakaba 1.26 $(DAC)$@.tmp.1 --input-db-file-name="$<" SimpleLS.dis
81     $(DAC)$@ --input-db-file-name="$@.tmp.1" ManakaiDOMLS2003.dis
82     $(RM) $@.tmp.1
83 wakaba 1.14
84 wakaba 1.30 xp$(DAC_SUFFIX): ls$(DAC_SUFFIX) $(XP_DIS_FILES) $(DAC_PL)
85     $(DAC)$@ --input-db-file-name="$<" XMLParser.dis
86    
87 wakaba 1.21 html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL)
88 wakaba 1.20 $(DAC)$@ --input-db-file-name="$<" DOMHTML.dis
89 wakaba 1.19
90 wakaba 1.27 $(DOM_FEATURE_DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)): \
91     feature$(DAC_SUFFIX) $(DAC2PM_PL)
92     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
93     --output-file-path="$@"
94     $(PERL_CHK) $@
95    
96 wakaba 1.21 $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)): core$(DAC_SUFFIX) $(DAC2PM_PL)
97     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
98     --output-file-path="$@"
99 wakaba 1.19 $(PERL_CHK) $@
100 wakaba 1.9
101 wakaba 1.22 .core$(PM_SUFFIX): core$(DAC_SUFFIX) $(DAC2PM_PL)
102     $(DAC2PM) $< \
103     --create-perl-module="$(NS_MDOM)DOMFeature DOMFeature$(PM_SUFFIX)" \
104     --create-perl-module="$(NS_MDOM)DOMMain DOMMain$(PM_SUFFIX)" \
105     --create-perl-module="$(NS_MDOM)DOMCore DOMCore$(PM_SUFFIX)" \
106 wakaba 1.29 --create-perl-module="$(NS_MDOM)Tree Tree$(PM_SUFFIX)" \
107 wakaba 1.22 --create-perl-module="$(NS_MDOM)DOMXML DOMXML$(PM_SUFFIX)" \
108 wakaba 1.31 --create-perl-module="$(NS_MDOM)XDoctype XDoctype$(PM_SUFFIX)" \
109 wakaba 1.23 --create-perl-module="$(NS_MDOM)DOMLS DOMLS$(PM_SUFFIX)" \
110     --create-perl-module="$(NS_MDOM)GenericLS GenericLS$(PM_SUFFIX)"
111 wakaba 1.22 $(PERL_CHK) DOMFeature$(PM_SUFFIX)
112     $(PERL_CHK) DOMMain$(PM_SUFFIX)
113     $(PERL_CHK) DOMCore$(PM_SUFFIX)
114 wakaba 1.29 $(PERL_CHK) Tree$(PM_SUFFIX)
115 wakaba 1.22 $(PERL_CHK) DOMXML$(PM_SUFFIX)
116 wakaba 1.31 $(PERL_CHK) XDoctype$(PM_SUFFIX)
117 wakaba 1.22 $(PERL_CHK) DOMLS$(PM_SUFFIX)
118 wakaba 1.23 $(PERL_CHK) GenericLS$(PM_SUFFIX)
119     $(TOUCH) $@
120 wakaba 1.31 ## NOTE: When you modify this rule, update |../Util/Makefile|, too.
121 wakaba 1.23
122 wakaba 1.26 $(DOM_LS_DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)): ls$(DAC_SUFFIX) $(DAC2PM_PL)
123 wakaba 1.23 $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
124     --output-file-path="$@"
125     $(PERL_CHK) $@
126    
127     .ls$(PM_SUFFIX): ls$(DAC_SUFFIX) $(DAC2PM_PL)
128     $(DAC2PM) $< \
129 wakaba 1.26 --create-perl-module="$(NS_MDOM)SimpleLS SimpleLS$(PM_SUFFIX)" \
130     --create-perl-module="$(NS_MDOM)ManakaiDOMLS2003 ManakaiDOMLS2003$(PM_SUFFIX)"
131 wakaba 1.23 $(PERL_CHK) SimpleLS$(PM_SUFFIX)
132 wakaba 1.26 $(PERL_CHK) ManakaiDOMLS2003$(PM_SUFFIX)
133 wakaba 1.22 $(TOUCH) $@
134    
135 wakaba 1.30 $(XP_DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)): xp$(DAC_SUFFIX) $(DAC2PM_PL)
136     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
137     --output-file-path="$@"
138     $(PERL_CHK) $@
139    
140 wakaba 1.21 $(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL)
141     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@
142 wakaba 1.13 $(PERL_CHK) $@
143 wakaba 1.12
144 wakaba 1.22 .html$(PM_SUFFIX): html$(DAC_SUFFIX) $(DAC2PM_PL)
145     $(DAC2PM) $< \
146     --create-perl-module="$(NS_MDOM)DOMHTML DOMHTML$(PM_SUFFIX)" \
147     --create-perl-module="$(NS_MDOM)DOMWebForms DOMWebForms$(PM_SUFFIX)"
148     $(PERL_CHK) DOMHTML$(PM_SUFFIX)
149     $(PERL_CHK) DOMWebForms$(PM_SUFFIX)
150     $(TOUCH) $@
151    
152 wakaba 1.25 feature-spec$(DAC_SUFFIX): feature$(DAC_SUFFIX) DOMFeature.dis $(DAC_PL)
153     $(DAC)$@ --input-db-file-name="$<" DOMFeature.dis \
154     --for="$(NS_MANAKAIDOM)ForSpecLatest"
155    
156 wakaba 1.20 # $(UTIL_CORE_DAC_FILE)
157 wakaba 1.21 $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX): dummy
158     $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) core$(DAC_SUFFIX)
159 wakaba 1.7
160 wakaba 1.20 dummy:
161 wakaba 1.16
162 wakaba 1.20 clean:
163 wakaba 1.22 $(RM) $(GENERATED_FILES)
164 wakaba 1.23 $(RM) .*.tmp *~ .*~ *.BAK .*.BAK
165     $(RM) .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX)
166 wakaba 1.14
167 wakaba 1.31 ## $Date: 2005/12/28 03:50:17 $
168 wakaba 1.22 ## License: Public Domain.

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24