/[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.25 - (hide annotations) (download)
Fri Sep 30 13:06:15 2005 UTC (19 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.24: +17 -10 lines
++ manakai/bin/ChangeLog	30 Sep 2005 12:38:36 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>

	* mkdisdump.pl (append_module_group_documentation,
	append_document_documentation): New functions.
	(append_class_documentation, append_interface_documentation):
	Generates method/attribute/constgroup information (in partial mode)
	even if "is_partial" option is true to compute inheriting
	class member information correctly.
	(--resource-uri): New option.

	* Makefile (error.xml, minimpl.xml): New rules.

++ manakai/lib/Message/Util/ChangeLog	30 Sep 2005 12:50:16 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>

	* DIS.dis (readProperties): Saves property name to values.
	(getPropertyModuleList): New method.


	* ManakaiNode.dis: Use "disPerl:H" instead
	of "disPerl:Q" for hash keys.
	(NodeStem): Property value "mn:treeID"
	has changed to scalar reference.
++ manakai/lib/Message/Util/Error/ChangeLog	30 Sep 2005 12:49:59 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>
	* DOMException.dis (dx:ManakaiErrorModules): New documentation.
++ manakai/lib/Message/Util/DIS/ChangeLog	30 Sep 2005 12:48:08 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>

	* Value.dis (name): New attribute.

	* Perl.dis (plFullyQualifiedName): Use module's package
	name properties if available.

++ manakai/lib/Message/DOM/ChangeLog	30 Sep 2005 12:40:49 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis, SimpleLS.dis: Shares namespace URIs and local
	names where possible.

	* DOMFeature.dis: Documentation for DOM Minimum Implementation
	added (still work in progress).

	* Makefile (feature.dae, feature-spec.dae): New rules.

++ manakai/lib/manakai/ChangeLog	30 Sep 2005 12:53:24 -0000
2005-09-30  Wakaba  <wakaba@suika.fam.cx>

	* DISCore.dis: Documentation-related and meta-informational
	resoruces are moved to new "Document.dis" module.  The
	module now references "Document.dis".
	(DISCore:module, DISCore:resource): New properties.

	* DISRDF.dis: Some resources added from FOAF vocabulary.

	* Document.dis: New module.

	* DISIDL.dis: Some IDL comcepts added.  New name
	given to IDL datatypes.

	* DISLang.dis (dis:prefix): Removed.  (Moved to "DISIDL.dis"
	and it is now obsolete.)

2005-09-29  Wakaba  <wakaba@suika.fam.cx>

	* DISPerl.dis (DISPerl:HashStringRef, DISPerl:StringRef): New.

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     DOM_LS_DIS_FILES = SimpleLS.dis
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     ls$(DAC_SUFFIX) SimpleLS$(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     $(DAC)$@ --input-db-file-name="$<" SimpleLS.dis
75 wakaba 1.14
76 wakaba 1.21 html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL)
77 wakaba 1.20 $(DAC)$@ --input-db-file-name="$<" DOMHTML.dis
78 wakaba 1.19
79 wakaba 1.21 $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)): core$(DAC_SUFFIX) $(DAC2PM_PL)
80     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
81     --output-file-path="$@"
82 wakaba 1.19 $(PERL_CHK) $@
83 wakaba 1.9
84 wakaba 1.22 .core$(PM_SUFFIX): core$(DAC_SUFFIX) $(DAC2PM_PL)
85     $(DAC2PM) $< \
86     --create-perl-module="$(NS_MDOM)DOMFeature DOMFeature$(PM_SUFFIX)" \
87     --create-perl-module="$(NS_MDOM)DOMMain DOMMain$(PM_SUFFIX)" \
88     --create-perl-module="$(NS_MDOM)DOMCore DOMCore$(PM_SUFFIX)" \
89     --create-perl-module="$(NS_MDOM)DOMXML DOMXML$(PM_SUFFIX)" \
90 wakaba 1.23 --create-perl-module="$(NS_MDOM)DOMLS DOMLS$(PM_SUFFIX)" \
91     --create-perl-module="$(NS_MDOM)GenericLS GenericLS$(PM_SUFFIX)"
92 wakaba 1.22 $(PERL_CHK) DOMFeature$(PM_SUFFIX)
93     $(PERL_CHK) DOMMain$(PM_SUFFIX)
94     $(PERL_CHK) DOMCore$(PM_SUFFIX)
95     $(PERL_CHK) DOMXML$(PM_SUFFIX)
96     $(PERL_CHK) DOMLS$(PM_SUFFIX)
97 wakaba 1.23 $(PERL_CHK) GenericLS$(PM_SUFFIX)
98     $(TOUCH) $@
99    
100     $(DOM_LS_DIS_FILES:.dis=$(PM_SUFFIX)): ls$(DAC_SUFFIX) $(DAC2PM_PL)
101     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
102     --output-file-path="$@"
103     $(PERL_CHK) $@
104    
105     .ls$(PM_SUFFIX): ls$(DAC_SUFFIX) $(DAC2PM_PL)
106     $(DAC2PM) $< \
107     --create-perl-module="$(NS_MDOM)SimpleLS SimpleLS$(PM_SUFFIX)"
108     $(PERL_CHK) SimpleLS$(PM_SUFFIX)
109 wakaba 1.22 $(TOUCH) $@
110    
111 wakaba 1.21 $(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL)
112     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@
113 wakaba 1.13 $(PERL_CHK) $@
114 wakaba 1.12
115 wakaba 1.22 .html$(PM_SUFFIX): html$(DAC_SUFFIX) $(DAC2PM_PL)
116     $(DAC2PM) $< \
117     --create-perl-module="$(NS_MDOM)DOMHTML DOMHTML$(PM_SUFFIX)" \
118     --create-perl-module="$(NS_MDOM)DOMWebForms DOMWebForms$(PM_SUFFIX)"
119     $(PERL_CHK) DOMHTML$(PM_SUFFIX)
120     $(PERL_CHK) DOMWebForms$(PM_SUFFIX)
121     $(TOUCH) $@
122    
123 wakaba 1.25 feature-spec$(DAC_SUFFIX): feature$(DAC_SUFFIX) DOMFeature.dis $(DAC_PL)
124     $(DAC)$@ --input-db-file-name="$<" DOMFeature.dis \
125     --for="$(NS_MANAKAIDOM)ForSpecLatest"
126    
127 wakaba 1.20 # $(UTIL_CORE_DAC_FILE)
128 wakaba 1.21 $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX): dummy
129     $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) core$(DAC_SUFFIX)
130 wakaba 1.7
131 wakaba 1.20 dummy:
132 wakaba 1.16
133 wakaba 1.20 clean:
134 wakaba 1.22 $(RM) $(GENERATED_FILES)
135 wakaba 1.23 $(RM) .*.tmp *~ .*~ *.BAK .*.BAK
136     $(RM) .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX)
137 wakaba 1.14
138 wakaba 1.25 ## $Date: 2005/09/25 14:53:03 $
139 wakaba 1.22 ## License: Public Domain.

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24