/[suikacvs]/messaging/manakai/t/Makefile
Suika

Contents of /messaging/manakai/t/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (hide annotations) (download)
Sun Jan 29 13:59:00 2006 UTC (18 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.12: +2 -3 lines
++ manakai/t/ChangeLog	29 Jan 2006 13:41:06 -0000
	* Makefile (dom-genericls.t): Generates from |feature.dae|.

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

++ manakai/lib/Message/Markup/ChangeLog	29 Jan 2006 13:32:04 -0000
2006-01-29  Wakaba  <wakaba@suika.fam.cx>

	* SuikaWikiConfig.dis: Unused definitions are removed.
	Dependency on |MDOM:DOMLS| module is removed; the module
	now only references |MDOM:GenericLS| module.
	(swcfg21:shadowParent, swcfg21:shadowSiblingOf,
	swcfg21:shadowLocalName, swcfg21:shadowNamespaceURI): Missing
	definition added.  A typo fixed.

++ manakai/lib/Message/Util/ChangeLog	29 Jan 2006 13:33:46 -0000
	* Makefile: Updated to be consist with |../DOM/Makefile|.

	* DIS.dis (parse): Parameter |input|'s type is
	changed from |DOMLS:LSInput| to |DISPerl:HASH| to
	remove dependency on |MDOM:DOMLS| module.

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

++ manakai/lib/Message/Util/DIS/ChangeLog	29 Jan 2006 13:39:45 -0000
	* Perl.dis, DNLite.dis, Value.dis, Test.dis: Unused definitions removed.

	* Test.dis, DPS.dis: References to old names in |MDOM:DOMLS| namespace
	changed to ones in |MDOM:GenericLS| namespace.

	* Perl.dis (plLoadDISDatabaseModule): Don't throw database
	incosistency error for |ManakaiDOM:all|, which is always
	in |DISDatabase|.
	(plGeneratePerlModule): |c:DOMConfigurationParameterApplication|
	with whose referenced configuration's type |idl:boolean|
	may override "supported" flags and their cases' |dis:SetParam|
	parameters.  (It enables |MDOM:DOMLS| configuration
	parameters split from |MDOM:DOMCore| ones)

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

++ manakai/lib/Message/DOM/ChangeLog	29 Jan 2006 13:29:45 -0000
	* Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
	parameter name changed to |cfg:entity-reference-read-only|.
	(createEntityReference): Set |c:read-only| flag of
	the created entity reference, too.

	* DOMLS.dis (min): New canonical feature name |fe:Min| added.

	* GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
	from |DOMFeature| module instead.  Use |idl:Object|
	instead of |DOMMain:DOMObject| as well.
	(Generic): New canonical feature name |fe:GenericLS| added.
	(DOMLS:ParserRole, DOMLS:SerializerRole): Their
	canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
	respectively.

	* DOMXML.dis (entities, notations): Perl code removed.
	It will be reimplemented using |DocumentTypeDefinition|
	class from |XDoctype| module.

	* DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
	Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
	SimpleLS.dis: Cleaned up unused definitions.

	* DOMCore.dis, DOMLS.dis (CParam): Definitions
	for LS module moved from |DOMCore| module to |DOMLS| module.
	This change makes |DOMCore| to |DOMLS| dependency removed.

	* .cvsignore (.html.pm, .ls.pm): Removed.

	* Makefile (.html.pm, .ls.pm): Removed.
	(feature.dae): Include |GenericLS| module.
	(core.dae): Don't include |DOMLS| and |GenericLS| module.
	(ls.dae): Include |DOMLS| module.

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

1 wakaba 1.3 MANAKAI_ROOT_DIR = ../
2     MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3     MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4     MANAKAI_TEST_DIR = $(MANAKAI_ROOT_DIR)t/
5    
6     DIS_SUFFIX = .dis
7     DAC_SUFFIX = .dae
8     DAEM_SUFFIX = .daem
9 wakaba 1.10 PM_SUFFIX = .pm
10 wakaba 1.3
11 wakaba 1.4 CD = cd
12     MAKE = make
13 wakaba 1.1 MKDIR = mkdir -p
14 wakaba 1.11 ECHO = echo
15 wakaba 1.1
16 wakaba 1.2 RM = rm
17     RMALL = $(RM) -fv
18    
19 wakaba 1.1 TEST_VERBOSE = 0
20     INST_ARCHLIB = $(MANAKAI_ROOT_DIR)blib/arch
21     INST_LIB = $(MANAKAI_ROOT_DIR)blib/lib
22    
23 wakaba 1.3 PERL_OPTIONS =
24     PERL = perl
25     PERL_ = $(PERL) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
26 wakaba 1.1 PERLC = $(PERL) -c
27 wakaba 1.3 PERLC_ = $(PERLC) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
28     PERL_TEST_ = $(PERL) \
29     $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR) \
30     -MExtUtils::Command::MM \
31     -e "test_harness ($(TEST_VERBOSE), '$(INST_LIB)', \
32 wakaba 1.1 '$(INST_ARCHLIB)')"
33    
34 wakaba 1.3 DIS_OPTIONS =
35     DIS_OPTIONS_ALL = $(DIS_OPTIONS) \
36     --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
37     --dis-file-suffix="$(DIS_SUFFIX)" \
38     --daem-file-suffix="$(DAEM_SUFFIX)"
39    
40 wakaba 1.1 DOMTEST_TESTS_DIR = $(MANAKAI_ROOT_DIR)../domts/tests/
41 wakaba 1.3 DOMTEST_PERL_DIR = $(MANAKAI_TEST_DIR)dom/
42 wakaba 1.1 DOMTEST_FILE = *.xml
43    
44 wakaba 1.3 DOMTS2PERL_PL = $(MANAKAI_BIN_DIR)domts2perl.pl
45     DOMTS2PERL = $(PERL_) -I$(MANAKAI_BIN_DIR) $(DOMTS2PERL_PL)
46     DOMTEST2PERL_PL = $(MANAKAI_BIN_DIR)domtest2perl.pl
47 wakaba 1.1
48 wakaba 1.4 DAC2TEST_OPTIONS =
49     DAC2TEST_PL = $(MANAKAI_BIN_DIR)dac2test.pl
50     DAC2TEST = $(PERL_) $(DAC2TEST_PL) $(DAC2TEST_OPTIONS) $(DIS_OPTIONS_ALL)
51    
52     DOM_FEATURE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/feature$(DAC_SUFFIX)
53     DOM_CORE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX)
54 wakaba 1.5 DOM_LS_DAC = $(MANAKAI_LIB_DIR)Message/DOM/ls$(DAC_SUFFIX)
55 wakaba 1.9 DOM_XP_DAC = $(MANAKAI_LIB_DIR)Message/DOM/xp$(DAC_SUFFIX)
56     DOM_DAC_FILES = $(DOM_FEATURE_DAC) $(DOM_CORE_DAC) $(DOM_LS_DAC) $(DOM_XP_DAC)
57 wakaba 1.5
58 wakaba 1.10 UTIL_TEST_DAC = $(MANAKAI_LIB_DIR)Message/Util/coretest$(DAC_SUFFIX)
59     UTIL_MNTEST_PM = $(MANAKAI_LIB_DIR)Message/Util/ManakaiNodeTest$(PM_SUFFIX)
60 wakaba 1.5 UTIL_PC_DAC = $(MANAKAI_LIB_DIR)Message/Util/pc$(DAC_SUFFIX)
61 wakaba 1.6 DIS_CORE_DAC = $(MANAKAI_LIB_DIR)Message/Util/discore$(DAC_SUFFIX)
62 wakaba 1.4
63     NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.
64     NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
65 wakaba 1.5 NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/
66 wakaba 1.6 NS_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#
67 wakaba 1.4
68 wakaba 1.10 GENERATED_FILES = \
69     util-mntest.t \
70 wakaba 1.12 dom-feature.t dom-genericls.t \
71     dom-core.t dom-tree.t dom-xml.t dom-xdoctype.t dom-xmlparser.t \
72     dom-mdomls2003.t \
73     util-dis-dnlite.t \
74     util-perlcode.t
75 wakaba 1.4
76     all: $(GENERATED_FILES)
77    
78 wakaba 1.1 dom1core-perl: $(DOMTS2PERL_PL)
79     $(MKDIR) $(DOMTEST_PERL_DIR)level1/core/
80 wakaba 1.3 $(DOMTS2PERL) --test-directory="$(DOMTEST_TESTS_DIR)level1/core/" \
81     --output-directory="$(DOMTEST_PERL_DIR)level1/core/" \
82     --domtest2perl-path="$(DOMTEST2PERL_PL)"
83 wakaba 1.1
84     dom1core:
85     MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \
86 wakaba 1.3 $(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl
87 wakaba 1.2
88 wakaba 1.8 test-module-all: test-module-dom test-module-util
89    
90     test-module-dom: \
91 wakaba 1.13 dom-feature.t dom-genericls.t \
92 wakaba 1.12 dom-core.t dom-tree.t dom-xml.t dom-xdoctype.t \
93 wakaba 1.9 dom-mdomls2003.t dom-xmlparser.t
94 wakaba 1.8 $(PERL_TEST_) dom-*.t
95    
96 wakaba 1.4 dom-feature.t: $(DOM_FEATURE_DAC) $(DAC2TEST_PL)
97     $(DAC2TEST) $< --source-module="$(NS_MDOM)DOMFeature" > $@
98    
99 wakaba 1.13 dom-genericls.t: $(DOM_FEATURE_DAC) $(DAC2TEST_PL)
100 wakaba 1.4 $(DAC2TEST) $< --source-module="$(NS_MDOM)GenericLS" > $@
101 wakaba 1.7
102 wakaba 1.12 dom-core.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)
103     $(DAC2TEST) $< --source-module="$(NS_MDOM)DOMCore" > $@
104    
105 wakaba 1.11 dom-tree.t: $(DOM_CORE_DAC) $(DAC2TEST_PL) Makefile
106     $(ECHO) "require 'manakai/mndebug.pl';" > $@
107     $(ECHO) "manakai::mndebug::define_nodestem_destroy ();" >> $@
108     #$(ECHO) "manakai::mndebug::define_nodestem_destroy_all ();" >> $@
109     #$(ECHO) "manakai::mndebug::define_noderef_destroy_all ();" >> $@
110     $(DAC2TEST) $< --source-module="$(NS_MDOM)Tree" >> $@
111 wakaba 1.4
112 wakaba 1.12 dom-xml.t: $(DOM_CORE_DAC) $(DAC2TEST_PL) Makefile
113     $(ECHO) "require 'manakai/mndebug.pl';" > $@
114     $(ECHO) "manakai::mndebug::define_nodestem_destroy ();" >> $@
115     #$(ECHO) "manakai::mndebug::define_nodestem_destroy_all ();" >> $@
116     #$(ECHO) "manakai::mndebug::define_noderef_destroy_all ();" >> $@
117     $(DAC2TEST) $< --source-module="$(NS_MDOM)DOMXML" >> $@
118 wakaba 1.8
119 wakaba 1.11 dom-xdoctype.t: $(DOM_CORE_DAC) $(DAC2TEST_PL) Makefile
120     $(ECHO) "require 'manakai/mndebug.pl';" > $@
121     $(ECHO) "manakai::mndebug::define_nodestem_destroy ();" >> $@
122     #$(ECHO) "manakai::mndebug::define_nodestem_destroy_all ();" >> $@
123     #$(ECHO) "manakai::mndebug::define_noderef_destroy_all ();" >> $@
124     $(DAC2TEST) $< --source-module="$(NS_MDOM)XDoctype" >> $@
125 wakaba 1.8
126 wakaba 1.5 dom-mdomls2003.t: $(DOM_LS_DAC) $(DAC2TEST_PL)
127     $(DAC2TEST) $< --source-module="$(NS_MDOM)ManakaiDOMLS2003" > $@
128 wakaba 1.9
129     dom-xmlparser.t: $(DOM_XP_DAC) $(DAC2TEST_PL)
130     $(DAC2TEST) $< --source-module="$(NS_MDOM)XMLParser" > $@
131 wakaba 1.8
132     test-module-util: \
133 wakaba 1.10 util-mntest.t \
134 wakaba 1.8 util-perlcode.t \
135     util-dis-dnlite.t
136     $(PERL_TEST_) util-*.t
137 wakaba 1.5
138 wakaba 1.11 util-mntest.t: $(UTIL_TEST_DAC) $(UTIL_MNTEST_PM) $(DAC2TEST_PL) Makefile
139     $(ECHO) "require 'manakai/mndebug.pl';" > $@
140     $(ECHO) "manakai::mndebug::define_nodestem_destroy ();" >> $@
141     #$(ECHO) "manakai::mndebug::define_nodestem_destroy_all ();" >> $@
142     #$(ECHO) "manakai::mndebug::define_noderef_destroy_all ();" >> $@
143     $(DAC2TEST) $< --source-module="$(NS_UTIL)ManakaiNodeTest" >> $@
144 wakaba 1.10
145 wakaba 1.5 util-perlcode.t: $(UTIL_PC_DAC) $(DAC2TEST_PL)
146     $(DAC2TEST) $< --source-module="$(NS_UTIL)PerlCode" > $@
147    
148 wakaba 1.6 util-dis-dnlite.t: $(DIS_CORE_DAC) $(DAC2TEST_PL)
149     $(DAC2TEST) $< --source-module="$(NS_DIS)DNLite" > $@
150    
151 wakaba 1.5 $(DOM_DAC_FILES): $(MANAKAI_LIB_DIR)Message/DOM/%: always
152 wakaba 1.4 $(CD) $(MANAKAI_LIB_DIR)Message/DOM/ && $(MAKE) $*
153 wakaba 1.5
154 wakaba 1.10 $(UTIL_TEST_DAC) $(UTIL_MNTEST_PM) $(UTIL_PC_DAC) $(DIS_CORE_DAC): \
155     $(MANAKAI_LIB_DIR)Message/Util/%: always
156 wakaba 1.5 $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) $*
157 wakaba 1.4
158 wakaba 1.2 clean: clean-dom1core-perl
159 wakaba 1.4 $(RMALL) $(GENERATED_FILES)
160 wakaba 1.2
161     clean-dom1core-perl:
162     $(RMALL) $(DOMTEST_PERL_DIR)level1/core/*
163     $(RMALL) *~ .*~ *.BAK .*.BAK
164 wakaba 1.4
165     always:

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24