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) boot \ |
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 |
|
## TODO: Make other modules |
260 |
|
|
261 |
|
$(MANAKAI_LIB_DIR)Message/DOM/DOMLS.pm: $(PHASE1_DOMLS_PM_FILE) |
262 |
|
$(CP) $< $@ |
263 |
|
|
264 |
## Misc. |
## Misc. |
265 |
|
|
266 |
clean: |
clean: |
267 |
$(RM) -frv $(TEMP_LIB_DIR) |
$(RM) -frv $(TEMP_LIB_DIR) |
268 |
$(RM) -fv *~ .*~ *.BAK .*.BAK |
$(RM) -fv *~ .*~ *.BAK .*.BAK |
269 |
|
$(CD) $(MANAKAI_LIB_DIR)Message/Util && $(MAKE) clean |
270 |
|
|
271 |
|
## Files |
272 |
|
|
273 |
|
$(PHASE1_DOMLS_DIS_FILE): |
274 |
|
$(ECHO) "Module:" > $@ |
275 |
|
$(ECHO) " @QName:" >> $@ |
276 |
|
$(ECHO) " MDOM:DOMLS" >> $@ |
277 |
|
$(ECHO) " @Namespace:" >> $@ |
278 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/dom/ls#" >> $@ |
279 |
|
|
280 |
|
$(ECHO) " @DefaultFor:" >> $@ |
281 |
|
$(ECHO) " ManakaiDOM:ManakaiDOMLatest" >> $@ |
282 |
|
|
283 |
|
$(ECHO) "Namespace:" >> $@ |
284 |
|
$(ECHO) " @dis:" >> $@ |
285 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#dis--" \ |
286 |
|
>> $@ |
287 |
|
$(ECHO) " @DISLang:" >> $@ |
288 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/dis/Lang#" >> $@ |
289 |
|
$(ECHO) " @DOMMain:" >> $@ |
290 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/dom/main#" >> $@ |
291 |
|
$(ECHO) " @lang:" >> $@ |
292 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/8/18/lang#" >> $@ |
293 |
|
$(ECHO) " @ManakaiDOM:" >> $@ |
294 |
|
$(ECHO) " http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom#" \ |
295 |
|
>> $@ |
296 |
|
$(ECHO) " @MDOM:" >> $@ |
297 |
|
$(ECHO) " $(NS_MDOM)" >> $@ |
298 |
|
$(ECHO) " @rdf:" >> $@ |
299 |
|
$(ECHO) " http://www.w3.org/1999/02/22-rdf-syntax-ns#" >> $@ |
300 |
|
|
301 |
|
$(ECHO) "ResourceDef:" >> $@ |
302 |
|
$(ECHO) " @QName: LSInput" >> $@ |
303 |
|
$(ECHO) " @rdf:type:" >> $@ |
304 |
|
$(ECHO) " ManakaiDOM:IF" >> $@ |
305 |
|
|
306 |
|
$(ECHO) " @ResourceDef:" >> $@ |
307 |
|
$(ECHO) " @@rdf:type:" >> $@ |
308 |
|
$(ECHO) " DISLang:InputProcessor" >> $@ |
309 |
|
$(ECHO) " @@Def:" >> $@ |
310 |
|
$(ECHO) " @@@ContentType:" >> $@ |
311 |
|
$(ECHO) " lang:Perl" >> $@ |
312 |
|
$(ECHO) " @@@@:" >> $@ |
313 |
|
$(ECHO) ' $$INPUT = bless $$INPUT,<ClassName::ManakaiDOMLSInput' >> $@ |
314 |
|
$(ECHO) ' ::ManakaiDOM:ManakaiDOMLatest>' >> $@ |
315 |
|
$(ECHO) ' if ref $$INPUT eq "HASH";' >> $@ |
316 |
|
$(ECHO) " @ManakaiDOM:inputNormalizer:" >> $@ |
317 |
|
$(ECHO) " @@ContentType:" >> $@ |
318 |
|
$(ECHO) " lang:Perl" >> $@ |
319 |
|
$(ECHO) " @@@:" >> $@ |
320 |
|
$(ECHO) ' $$INPUT = bless $$INPUT, ' >> $@ |
321 |
|
$(ECHO) " <ClassName::DOMLS:ManakaiDOMLSInput" >> $@ |
322 |
|
$(ECHO) " ::ManakaiDOM:ManakaiDOMLatest>" >> $@ |
323 |
|
$(ECHO) ' if ref $$INPUT eq "HASH";' >> $@ |
324 |
|
|
325 |
|
$(ECHO) " @Attr:" >> $@ |
326 |
|
$(ECHO) " @@Name: characterStream" >> $@ |
327 |
|
$(ECHO) " @Attr:" >> $@ |
328 |
|
$(ECHO) " @@Name: byteStream" >> $@ |
329 |
|
$(ECHO) " @Attr:" >> $@ |
330 |
|
$(ECHO) " @@Name: stringData" >> $@ |
331 |
|
$(ECHO) " @Attr:" >> $@ |
332 |
|
$(ECHO) " @@Name: systemId" >> $@ |
333 |
|
$(ECHO) " @Attr:" >> $@ |
334 |
|
$(ECHO) " @@Name: publicId" >> $@ |
335 |
|
$(ECHO) " @Attr:" >> $@ |
336 |
|
$(ECHO) " @@Name: baseURI" >> $@ |
337 |
|
$(ECHO) " @Attr:" >> $@ |
338 |
|
$(ECHO) " @@Name: encoding" >> $@ |
339 |
|
$(ECHO) " @Attr:" >> $@ |
340 |
|
$(ECHO) " @@Name: certifiedText" >> $@ |
341 |
|
|
342 |
|
$(ECHO) "ResourceDef:" >> $@ |
343 |
|
$(ECHO) " @QName: ManakaiDOMLSInput" >> $@ |
344 |
|
$(ECHO) " @rdf:type:" >> $@ |
345 |
|
$(ECHO) " ManakaiDOM:Class" >> $@ |
346 |
|
|
347 |
|
$(ECHO) "ElementTypeBinding:" >> $@ |
348 |
|
$(ECHO) " @Name: Attr" >> $@ |
349 |
|
$(ECHO) " @ElementType:" >> $@ |
350 |
|
$(ECHO) " dis:ResourceDef" >> $@ |
351 |
|
$(ECHO) " @ShadowContent:" >> $@ |
352 |
|
$(ECHO) " @@rdf:type:" >> $@ |
353 |
|
$(ECHO) " DISLang:Attribute" >> $@ |
354 |
|
$(ECHO) " @@ResourceDef:" >> $@ |
355 |
|
$(ECHO) " @@@rdf:type:" >> $@ |
356 |
|
$(ECHO) " DISLang:AttributeGet" >> $@ |
357 |
|
$(ECHO) " @@ResourceDef:" >> $@ |
358 |
|
$(ECHO) " @@@rdf:type:" >> $@ |
359 |
|
$(ECHO) " DISLang:AttributeSet" >> $@ |
360 |
|
$(ECHO) " @@Type:" >> $@ |
361 |
|
$(ECHO) " DOMMain:any" >> $@ |
362 |
|
|
363 |
|
$(PHASE1_DOMLS_PM_FILE): |
364 |
|
$(ECHO) "package Message::DOM::DOMLS::ManakaiDOMLSInput;" > $@ |
365 |
|
$(ECHO) "sub character_stream {shift->{character_stream}}" >> $@ |
366 |
|
$(ECHO) "sub byte_stream {shift->{byte_stream}}" >> $@ |
367 |
|
$(ECHO) 'sub string_data {ref $$_[0]->{string_data} eq "SCALAR" ?' >> $@ |
368 |
|
$(ECHO) ' $${$$_[0]->{string_data}} : $$_[0]->{string_data}}' >> $@ |
369 |
|
$(ECHO) "sub public_id {shift->{public_id}}" >> $@ |
370 |
|
$(ECHO) "sub system_id {shift->{system_id}}" >> $@ |
371 |
|
$(ECHO) "sub base_uri {shift->{base_uri}}" >> $@ |
372 |
|
$(ECHO) "sub certified_text {shift->{certified_text}}" >> $@ |
373 |
|
$(ECHO) "sub encoding {shift->{encoding}}" >> $@ |
374 |
|
$(ECHO) "1;" >> $@ |
375 |
|
|