4 |
TEMP_LIB_DIR = $(MANAKAI_LIB_DIR).phase1.tmp/ |
TEMP_LIB_DIR = $(MANAKAI_LIB_DIR).phase1.tmp/ |
5 |
TEMP_LIB2_DIR = $(MANAKAI_LIB_DIR).phase2.tmp/ |
TEMP_LIB2_DIR = $(MANAKAI_LIB_DIR).phase2.tmp/ |
6 |
|
|
7 |
|
NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\# |
8 |
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. |
9 |
NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\# |
NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\# |
10 |
NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/ |
NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/ |
12 |
|
|
13 |
MKDIR = mkdir |
MKDIR = mkdir |
14 |
RM = rm |
RM = rm |
15 |
|
MAKE = make |
16 |
|
CD = cd |
17 |
|
CP = cp |
18 |
|
ECHO = -echo |
19 |
|
|
20 |
PERL = perl |
PERL = perl |
21 |
PERL1 = $(PERL) -I$(MANAKAI_LIB_DIR) |
PERL1 = $(PERL) -I$(MANAKAI_LIB_DIR) |
40 |
$(DAC_PL) \ |
$(DAC_PL) \ |
41 |
--search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \ |
--search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \ |
42 |
--db-base-directory-path="$(MANAKAI_ROOT_DIR)" \ |
--db-base-directory-path="$(MANAKAI_ROOT_DIR)" \ |
43 |
|
--implementation-registry-package \ |
44 |
|
"Message::DOM::DOMMetaImpl::ManakaiDOMImplementationRegistryCompat" \ |
45 |
--output-file-name= |
--output-file-name= |
46 |
|
|
47 |
DAC2PM_OPTIONS = |
DAC2PM_OPTIONS = |
48 |
DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl |
DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl |
49 |
DAC2PM = $(PERL2) \ |
DAC2PM = $(PERL2) \ |
50 |
-MMessage::Util::Error::DOMException \ |
-MMessage::Util::Error::DOMException \ |
51 |
$(DAC2PM_PL) $(DAC2PM_OPTIONS) |
$(DAC2PM_PL) \ |
52 |
|
--implementation-registry-package \ |
53 |
|
"Message::DOM::DOMMetaImpl::ManakaiDOMImplementationRegistryCompat" \ |
54 |
|
$(DAC2PM_OPTIONS) |
55 |
|
|
56 |
|
PHASE3_PERL_OPTIONS = |
57 |
|
PHASE3_DAC2PM_OPTIONS = --enable-assert |
58 |
|
## TODO: Official release should remove this option. |
59 |
|
|
60 |
DIS_FILES_FOR_DOMMETAIMPL = \ |
DIS_FILES_FOR_DOMMETAIMPL = \ |
61 |
$(MANAKAI_LIB_DIR)Message/DOM/DOMBoot.dis \ |
$(MANAKAI_LIB_DIR)Message/DOM/DOMBoot.dis \ |
62 |
$(MANAKAI_LIB_DIR)Message/DOM/DOMMetaImpl.dis \ |
$(MANAKAI_LIB_DIR)Message/DOM/DOMMetaImpl.dis \ |
63 |
$(MANAKAI_LIB_DIR)Message/Util/ManakaiNode.dis \ |
$(MANAKAI_LIB_DIR)Message/Util/ManakaiNode.dis \ |
64 |
|
$(MANAKAI_LIB_DIR)Message/Util/Error/DOMException.dis \ |
65 |
$(MANAKAI_LIB_DIR)manakai/DISCore.dis \ |
$(MANAKAI_LIB_DIR)manakai/DISCore.dis \ |
66 |
$(MANAKAI_LIB_DIR)manakai/DISRDF.dis \ |
$(MANAKAI_LIB_DIR)manakai/DISRDF.dis \ |
67 |
$(MANAKAI_LIB_DIR)manakai/DISLang.dis \ |
$(MANAKAI_LIB_DIR)manakai/DISLang.dis \ |
77 |
$(MANAKAI_LIB_DIR)Message/Util/PerlCode.dis |
$(MANAKAI_LIB_DIR)Message/Util/PerlCode.dis |
78 |
## NOTE: DIS.dis must be first |
## NOTE: DIS.dis must be first |
79 |
|
|
80 |
|
PHASE1_DOMLS_DIS_FILE = $(TEMP_LIB_DIR)Message/DOM/DOMLS.dis |
81 |
|
PHASE1_DOMLS_PM_FILE = $(TEMP_LIB_DIR)Message/DOM/DOMLS.pm |
82 |
|
PHASE2_DOMLS_PM_FILE = $(TEMP_LIB2_DIR)Message/DOM/DOMLS.pm |
83 |
|
|
84 |
PHASE1_PM_FILES = \ |
PHASE1_PM_FILES = \ |
85 |
$(TEMP_LIB_DIR)Message/Util/ManakaiNode.pm \ |
$(TEMP_LIB_DIR)Message/Util/ManakaiNode.pm \ |
86 |
$(TEMP_LIB_DIR)Message/DOM/DOMMetaImpl.pm \ |
$(TEMP_LIB_DIR)Message/DOM/DOMMetaImpl.pm \ |
89 |
$(TEMP_LIB_DIR)Message/Util/PerlCode.pm \ |
$(TEMP_LIB_DIR)Message/Util/PerlCode.pm \ |
90 |
$(TEMP_LIB_DIR)Message/Util/DIS.pm |
$(TEMP_LIB_DIR)Message/Util/DIS.pm |
91 |
|
|
92 |
GENERATED_FILES = $(TEMP_LIB_DIR) $(PHASE1_PM_FILES) \ |
PHASE2_PM_FILES = \ |
|
\ |
|
|
$(TEMP_LIB2_DIR) \ |
|
93 |
$(TEMP_LIB2_DIR)Message/Util/ManakaiNode.pm \ |
$(TEMP_LIB2_DIR)Message/Util/ManakaiNode.pm \ |
94 |
$(TEMP_LIB2_DIR)Message/DOM/DOMMetaImpl.pm \ |
$(TEMP_LIB2_DIR)Message/DOM/DOMMetaImpl.pm \ |
95 |
$(TEMP_LIB2_DIR)Message/Markup/SuikaWikiConfig21.pm \ |
$(TEMP_LIB2_DIR)Message/Markup/SuikaWikiConfig21.pm \ |
97 |
$(TEMP_LIB2_DIR)Message/Util/PerlCode.pm \ |
$(TEMP_LIB2_DIR)Message/Util/PerlCode.pm \ |
98 |
$(TEMP_LIB2_DIR)Message/Util/DIS.pm |
$(TEMP_LIB2_DIR)Message/Util/DIS.pm |
99 |
|
|
100 |
all: $(GENERATED_FILES) |
GENERATED_FILES = $(TEMP_LIB_DIR) $(PHASE1_DOMLS_DIS_FILE) \ |
101 |
|
$(PHASE1_DOMLS_PM_FILE) $(PHASE1_PM_FILES) \ |
102 |
|
\ |
103 |
|
$(TEMP_LIB2_DIR) $(PHASE2_DOMLS_PM_FILE) $(PHASE2_PM_FILES) |
104 |
|
|
105 |
|
all: $(GENERATED_FILES) phase3 |
106 |
|
|
107 |
## Phase 1 - Making Perl modules by old disc and cdis2pm tools |
## Phase 1 - Making Perl modules by old disc and cdis2pm tools |
108 |
|
|
111 |
$(MKDIR) -p $(TEMP_LIB_DIR)Message/DOM |
$(MKDIR) -p $(TEMP_LIB_DIR)Message/DOM |
112 |
$(MKDIR) -p $(TEMP_LIB_DIR)Message/Markup |
$(MKDIR) -p $(TEMP_LIB_DIR)Message/Markup |
113 |
|
|
114 |
$(TEMP_LIB_DIR)dom.cdis: $(DIS_FILES_FOR_DOMMETAIMPL) $(DISC_PL) |
$(TEMP_LIB_DIR)dom.cdis: $(DIS_FILES_FOR_DOMMETAIMPL) $(DISC_PL) \ |
115 |
$(DISC) $< --output-file-name="$@" |
$(PHASE1_DOMLS_DIS_FILE) |
116 |
|
$(DISC) $< --output-file-name="$@.tmp" |
117 |
|
$(DISC) $(PHASE1_DOMLS_DIS_FILE) --input-cdis-file-name="$@.tmp" \ |
118 |
|
--output-file-name="$@" |
119 |
|
$(RM) $@.tmp |
120 |
|
|
121 |
$(TEMP_LIB_DIR)dis.cdis: $(DIS_FILES_FOR_DIS) \ |
$(TEMP_LIB_DIR)dis.cdis: $(DIS_FILES_FOR_DIS) \ |
122 |
$(TEMP_LIB_DIR)dom.cdis $(DISC_PL) |
$(TEMP_LIB_DIR)dom.cdis $(DISC_PL) |
147 |
$(TEMP_LIB_DIR)Message/Markup/SuikaWikiConfig21.pm: $(TEMP_LIB_DIR)dis.cdis \ |
$(TEMP_LIB_DIR)Message/Markup/SuikaWikiConfig21.pm: $(TEMP_LIB_DIR)dis.cdis \ |
148 |
$(CDIS2PM_PL) |
$(CDIS2PM_PL) |
149 |
$(CDIS2PM) $< --module-name=SuikaWikiConfig21 > $@ |
$(CDIS2PM) $< --module-name=SuikaWikiConfig21 > $@ |
150 |
|
$(ECHO) "require Message::DOM::DOMLS;" >> $@ |
151 |
$(PERL1_CHK) $@ |
$(PERL1_CHK) $@ |
152 |
|
|
153 |
## Phase 2 - Making Perl modules by dac tools generated |
## Phase 2 - Making Perl modules by dac tools generated |
158 |
$(MKDIR) -p $(TEMP_LIB2_DIR)Message/DOM |
$(MKDIR) -p $(TEMP_LIB2_DIR)Message/DOM |
159 |
$(MKDIR) -p $(TEMP_LIB2_DIR)Message/Markup |
$(MKDIR) -p $(TEMP_LIB2_DIR)Message/Markup |
160 |
|
|
161 |
|
$(PHASE2_DOMLS_PM_FILE): $(PHASE1_DOMLS_PM_FILE) |
162 |
|
$(CP) $< $@ |
163 |
|
|
164 |
$(TEMP_LIB2_DIR)dom.dac: $(DIS_FILES_FOR_DOMMETAIMPL) \ |
$(TEMP_LIB2_DIR)dom.dac: $(DIS_FILES_FOR_DOMMETAIMPL) \ |
165 |
$(DAC_PL) $(PHASE1_PM_FILES) |
$(DAC_PL) $(PHASE1_PM_FILES) $(PHASE1_DOMLS_DIS_FILE) |
166 |
$(DAC)$@ $< |
$(DAC)$@.1.tmp $< |
167 |
|
$(DAC)$@.2.tmp --input-db-file-name="$@.1.tmp" $(PHASE1_DOMLS_DIS_FILE) \ |
168 |
|
--for="$(NS_MANAKAIDOM)ManakaiDOMLatest" |
169 |
|
$(DAC)$@ --input-db-file-name="$@.2.tmp" $(PHASE1_DOMLS_DIS_FILE) \ |
170 |
|
--for="$(NS_MANAKAIDOM)ManakaiDOM3" |
171 |
|
|
172 |
$(TEMP_LIB2_DIR)dis.dac: $(DIS_FILES_FOR_DIS) $(TEMP_LIB2_DIR)dom.dac $(DAC_PL) |
$(TEMP_LIB2_DIR)dis.dac: $(DIS_FILES_FOR_DIS) $(TEMP_LIB2_DIR)dom.dac $(DAC_PL) |
173 |
$(DAC)$@ --input-db-file-name="$(TEMP_LIB2_DIR)dom.dac" $< |
$(DAC)$@ --input-db-file-name="$(TEMP_LIB2_DIR)dom.dac" $< |
204 |
|
|
205 |
## Phase 3 - Making Perl modules by dac tools generated by dac tools |
## Phase 3 - Making Perl modules by dac tools generated by dac tools |
206 |
|
|
207 |
|
phase3: $(PHASE2_PM_FILES) $(MANAKAI_LIB_DIR)Message/DOM/DOMLS.pm |
208 |
|
$(CD) $(MANAKAI_LIB_DIR)Message/Util && \ |
209 |
|
$(MAKE) all \ |
210 |
|
PERL_OPTIONS2="-I../../lib/$(TEMP_LIB2_DIR) \ |
211 |
|
-I../../lib/$(MANAKAI_LIB_DIR) \ |
212 |
|
$(PHASE3_PERL_OPTIONS)" \ |
213 |
|
PERLC_OPTIONS2="-I../../lib/$(MANAKAI_LIB_DIR) \ |
214 |
|
$(PHASE3_PERL_OPTIONS)" \ |
215 |
|
DAC2PM_OPTIONS2="$(PHASE3_DAC2PM_OPTIONS)" \ |
216 |
|
DOMLS_DIS_FILE2="../../lib/$(TEMP_LIB_DIR)Message/DOM/DOMLS.dis" \ |
217 |
|
DOMBOOT_DIS_FILE2="../../lib/$(TEMP_LIB_DIR)Message/DOM/DOMBoot.dis" \ |
218 |
|
PERL_OPTIONS3="-I../../../lib/$(TEMP_LIB2_DIR) \ |
219 |
|
-I../../../lib/$(MANAKAI_LIB_DIR) \ |
220 |
|
$(PHASE3_PERL_OPTIONS)" \ |
221 |
|
PERLC_OPTIONS3="-I../../../lib/$(MANAKAI_LIB_DIR) \ |
222 |
|
$(PHASE3_PERL_OPTIONS)" \ |
223 |
|
DAC2PM_OPTIONS3="$(PHASE3_DAC2PM_OPTIONS)" \ |
224 |
|
DOMLS_DIS_FILE3="../../../lib/$(TEMP_LIB_DIR)Message/DOM/DOMLS.dis" \ |
225 |
|
DOMBOOT_DIS_FILE3="../../../lib/Message/DOM/DOMBoot.dis" |
226 |
|
$(CD) $(MANAKAI_LIB_DIR)Message/Markup && \ |
227 |
|
$(MAKE) all \ |
228 |
|
PERL_OPTIONS2="-I../../lib/$(TEMP_LIB2_DIR) \ |
229 |
|
-I../../lib/$(MANAKAI_LIB_DIR) \ |
230 |
|
$(PHASE3_PERL_OPTIONS)" \ |
231 |
|
PERLC_OPTIONS2="-I../../lib/$(MANAKAI_LIB_DIR) \ |
232 |
|
$(PHASE3_PERL_OPTIONS)" \ |
233 |
|
DAC2PM_OPTIONS2="$(PHASE3_DAC2PM_OPTIONS)" \ |
234 |
|
DOMLS_DIS_FILE2="../../lib/$(TEMP_LIB_DIR)Message/DOM/DOMLS.dis" \ |
235 |
|
PERL_OPTIONS3="-I../../../lib/$(TEMP_LIB2_DIR) \ |
236 |
|
-I../../../lib/$(MANAKAI_LIB_DIR) \ |
237 |
|
$(PHASE3_PERL_OPTIONS)" \ |
238 |
|
PERLC_OPTIONS3="-I../../../lib/$(MANAKAI_LIB_DIR) \ |
239 |
|
$(PHASE3_PERL_OPTIONS)" \ |
240 |
|
DAC2PM_OPTIONS3="$(PHASE3_DAC2PM_OPTIONS)" |
241 |
|
DOMLS_DIS_FILE3="../../../lib/$(TEMP_LIB_DIR)Message/DOM/DOMLS.dis" |
242 |
|
$(CD) $(MANAKAI_LIB_DIR)Message/DOM && \ |
243 |
|
$(MAKE) boot \ |
244 |
|
PERL_OPTIONS2="-I../../lib/$(TEMP_LIB2_DIR) \ |
245 |
|
-I../../lib/$(MANAKAI_LIB_DIR) \ |
246 |
|
$(PHASE3_PERL_OPTIONS)" \ |
247 |
|
PERLC_OPTIONS2="-I../../lib/$(MANAKAI_LIB_DIR) \ |
248 |
|
$(PHASE3_PERL_OPTIONS)" \ |
249 |
|
DAC2PM_OPTIONS2="$(PHASE3_DAC2PM_OPTIONS)" \ |
250 |
|
DOMLS_DIS_FILE2="../../lib/$(TEMP_LIB_DIR)Message/DOM/DOMLS.dis" \ |
251 |
|
PERL_OPTIONS3="-I../../../lib/$(TEMP_LIB2_DIR) \ |
252 |
|
-I../../../lib/$(MANAKAI_LIB_DIR) \ |
253 |
|
$(PHASE3_PERL_OPTIONS)" \ |
254 |
|
PERLC_OPTIONS3="-I../../../lib/$(MANAKAI_LIB_DIR) \ |
255 |
|
$(PHASE3_PERL_OPTIONS)" \ |
256 |
|
DAC2PM_OPTIONS3="$(PHASE3_DAC2PM_OPTIONS)" |
257 |
|
DOMLS_DIS_FILE3="../../../lib/$(TEMP_LIB_DIR)Message/DOM/DOMLS.dis" |
258 |
|
|
259 |
|
$(MANAKAI_LIB_DIR)Message/DOM/DOMLS.pm: $(PHASE1_DOMLS_PM_FILE) |
260 |
|
$(CP) $< $@ |
261 |
|
|
262 |
## Misc. |
## Misc. |
263 |
|
|
264 |
clean: |
clean: |
265 |
$(RM) -frv $(TEMP_LIB_DIR) |
$(RM) -frv $(TEMP_LIB_DIR) |
266 |
$(RM) -fv *~ .*~ *.BAK .*.BAK |
$(RM) -fv *~ .*~ *.BAK .*.BAK |
267 |
|
$(CD) $(MANAKAI_LIB_DIR)Message/Util && $(MAKE) clean |
268 |
|
|
269 |
|
## Files |
270 |
|
|
271 |
|
$(PHASE1_DOMLS_DIS_FILE): |
272 |
|
$(ECHO) "Module:" > $@ |
273 |
|
$(ECHO) " @QName:" >> $@ |
274 |
|
$(ECHO) " MDOM:DOMLS" >> $@ |
275 |
|
$(ECHO) " @Namespace:" >> $@ |
276 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/dom/ls#" >> $@ |
277 |
|
|
278 |
|
$(ECHO) " @DefaultFor:" >> $@ |
279 |
|
$(ECHO) " ManakaiDOM:ManakaiDOMLatest" >> $@ |
280 |
|
|
281 |
|
$(ECHO) "Namespace:" >> $@ |
282 |
|
$(ECHO) " @dis:" >> $@ |
283 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#dis--" \ |
284 |
|
>> $@ |
285 |
|
$(ECHO) " @DISLang:" >> $@ |
286 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/dis/Lang#" >> $@ |
287 |
|
$(ECHO) " @DOMMain:" >> $@ |
288 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/dom/main#" >> $@ |
289 |
|
$(ECHO) " @lang:" >> $@ |
290 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#" >> $@ |
291 |
|
$(ECHO) " @ManakaiDOM:" >> $@ |
292 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom#" \ |
293 |
|
>> $@ |
294 |
|
$(ECHO) " @MDOM:" >> $@ |
295 |
|
$(ECHO) " $(NS_MDOM)" >> $@ |
296 |
|
$(ECHO) " @rdf:" >> $@ |
297 |
|
$(ECHO) " http://www.w3.org/1999/02/22-rdf-syntax-ns#" >> $@ |
298 |
|
|
299 |
|
$(ECHO) "ResourceDef:" >> $@ |
300 |
|
$(ECHO) " @QName: LSInput" >> $@ |
301 |
|
$(ECHO) " @rdf:type:" >> $@ |
302 |
|
$(ECHO) " ManakaiDOM:IF" >> $@ |
303 |
|
|
304 |
|
$(ECHO) " @ResourceDef:" >> $@ |
305 |
|
$(ECHO) " @@rdf:type:" >> $@ |
306 |
|
$(ECHO) " DISLang:InputProcessor" >> $@ |
307 |
|
$(ECHO) " @@Def:" >> $@ |
308 |
|
$(ECHO) " @@@ContentType:" >> $@ |
309 |
|
$(ECHO) " lang:Perl" >> $@ |
310 |
|
$(ECHO) " @@@@:" >> $@ |
311 |
|
$(ECHO) ' $$INPUT = bless $$INPUT,<ClassName::ManakaiDOMLSInput' >> $@ |
312 |
|
$(ECHO) ' ::ManakaiDOM:ManakaiDOMLatest>' >> $@ |
313 |
|
$(ECHO) ' if ref $$INPUT eq "HASH";' >> $@ |
314 |
|
$(ECHO) " @ManakaiDOM:inputNormalizer:" >> $@ |
315 |
|
$(ECHO) " @@ContentType:" >> $@ |
316 |
|
$(ECHO) " lang:Perl" >> $@ |
317 |
|
$(ECHO) " @@@:" >> $@ |
318 |
|
$(ECHO) ' $$INPUT = bless $$INPUT, ' >> $@ |
319 |
|
$(ECHO) " <ClassName::DOMLS:ManakaiDOMLSInput" >> $@ |
320 |
|
$(ECHO) " ::ManakaiDOM:ManakaiDOMLatest>" >> $@ |
321 |
|
$(ECHO) ' if ref $$INPUT eq "HASH";' >> $@ |
322 |
|
|
323 |
|
$(ECHO) " @Attr:" >> $@ |
324 |
|
$(ECHO) " @@Name: characterStream" >> $@ |
325 |
|
$(ECHO) " @Attr:" >> $@ |
326 |
|
$(ECHO) " @@Name: byteStream" >> $@ |
327 |
|
$(ECHO) " @Attr:" >> $@ |
328 |
|
$(ECHO) " @@Name: stringData" >> $@ |
329 |
|
$(ECHO) " @Attr:" >> $@ |
330 |
|
$(ECHO) " @@Name: systemId" >> $@ |
331 |
|
$(ECHO) " @Attr:" >> $@ |
332 |
|
$(ECHO) " @@Name: publicId" >> $@ |
333 |
|
$(ECHO) " @Attr:" >> $@ |
334 |
|
$(ECHO) " @@Name: baseURI" >> $@ |
335 |
|
$(ECHO) " @Attr:" >> $@ |
336 |
|
$(ECHO) " @@Name: encoding" >> $@ |
337 |
|
$(ECHO) " @Attr:" >> $@ |
338 |
|
$(ECHO) " @@Name: certifiedText" >> $@ |
339 |
|
|
340 |
|
$(ECHO) "ResourceDef:" >> $@ |
341 |
|
$(ECHO) " @QName: ManakaiDOMLSInput" >> $@ |
342 |
|
$(ECHO) " @rdf:type:" >> $@ |
343 |
|
$(ECHO) " ManakaiDOM:Class" >> $@ |
344 |
|
|
345 |
|
$(ECHO) "ElementTypeBinding:" >> $@ |
346 |
|
$(ECHO) " @Name: Attr" >> $@ |
347 |
|
$(ECHO) " @ElementType:" >> $@ |
348 |
|
$(ECHO) " dis:ResourceDef" >> $@ |
349 |
|
$(ECHO) " @ShadowContent:" >> $@ |
350 |
|
$(ECHO) " @@rdf:type:" >> $@ |
351 |
|
$(ECHO) " DISLang:Attribute" >> $@ |
352 |
|
$(ECHO) " @@ResourceDef:" >> $@ |
353 |
|
$(ECHO) " @@@rdf:type:" >> $@ |
354 |
|
$(ECHO) " DISLang:AttributeGet" >> $@ |
355 |
|
$(ECHO) " @@ResourceDef:" >> $@ |
356 |
|
$(ECHO) " @@@rdf:type:" >> $@ |
357 |
|
$(ECHO) " DISLang:AttributeSet" >> $@ |
358 |
|
$(ECHO) " @@Type:" >> $@ |
359 |
|
$(ECHO) " DOMMain:any" >> $@ |
360 |
|
|
361 |
|
$(PHASE1_DOMLS_PM_FILE): |
362 |
|
$(ECHO) "package Message::DOM::DOMLS::ManakaiDOMLSInput;" > $@ |
363 |
|
$(ECHO) "sub character_stream {shift->{character_stream}}" >> $@ |
364 |
|
$(ECHO) "sub byte_stream {shift->{byte_stream}}" >> $@ |
365 |
|
$(ECHO) 'sub string_data {ref $$_[0]->{string_data} eq "SCALAR" ?' >> $@ |
366 |
|
$(ECHO) ' $${$$_[0]->{string_data}} : $$_[0]->{string_data}}' >> $@ |
367 |
|
$(ECHO) "sub public_id {shift->{public_id}}" >> $@ |
368 |
|
$(ECHO) "sub system_id {shift->{system_id}}" >> $@ |
369 |
|
$(ECHO) "sub base_uri {shift->{base_uri}}" >> $@ |
370 |
|
$(ECHO) "sub certified_text {shift->{certified_text}}" >> $@ |
371 |
|
$(ECHO) "sub encoding {shift->{encoding}}" >> $@ |
372 |
|
$(ECHO) "1;" >> $@ |
373 |
|
|