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

Contents of /messaging/manakai/t/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Nov 23 07:59:20 2005 UTC (19 years ago) by wakaba
Branch: MAIN
Changes since 1.6: +4 -1 lines
++ manakai/t/ChangeLog	21 Nov 2005 12:14:17 -0000
2005-11-21  Wakaba  <wakaba@suika.fam.cx>

	* Makefile, .cvsignore: |dom-tree.t| added.

++ manakai/lib/Message/Markup/ChangeLog	23 Nov 2005 07:56:10 -0000
2005-11-23  Wakaba  <wakaba@suika.fam.cx>

	* SuikaWikiConfig21.dis (text): New attribute implementation.

++ manakai/lib/Message/Util/ChangeLog	23 Nov 2005 07:56:52 -0000
2005-11-23  Wakaba  <wakaba@suika.fam.cx>

	* DIS.dis (text): New attribute implementation.

	* ManakaiNode.dis (destroyNodeStem): New method.

++ manakai/lib/Message/Util/DIS/ChangeLog	23 Nov 2005 07:57:18 -0000
2005-11-23  Wakaba  <wakaba@suika.fam.cx>

	* Test.dis (setTestData): New method.

++ manakai/lib/Message/DOM/ChangeLog	23 Nov 2005 07:55:33 -0000
2005-11-23  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis: Error codes added.

	* Tree.dis (destroyNodeStem): New method implementation.

2005-11-22  Wakaba  <wakaba@suika.fam.cx>

	* Tree.dis (cloneNode): User data handlers implemented.
	(adoptNode): User data handlers implemented.

2005-11-21  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis (UserDataHandler): A constraint for Perl binding
	added.

	* Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented.
	(getUserData, setUserData): Implemented.

1 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
10 CD = cd
11 MAKE = make
12 MKDIR = mkdir -p
13
14 RM = rm
15 RMALL = $(RM) -fv
16
17 TEST_VERBOSE = 0
18 INST_ARCHLIB = $(MANAKAI_ROOT_DIR)blib/arch
19 INST_LIB = $(MANAKAI_ROOT_DIR)blib/lib
20
21 PERL_OPTIONS =
22 PERL = perl
23 PERL_ = $(PERL) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
24 PERLC = $(PERL) -c
25 PERLC_ = $(PERLC) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
26 PERL_TEST_ = $(PERL) \
27 $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR) \
28 -MExtUtils::Command::MM \
29 -e "test_harness ($(TEST_VERBOSE), '$(INST_LIB)', \
30 '$(INST_ARCHLIB)')"
31
32 DIS_OPTIONS =
33 DIS_OPTIONS_ALL = $(DIS_OPTIONS) \
34 --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
35 --dis-file-suffix="$(DIS_SUFFIX)" \
36 --daem-file-suffix="$(DAEM_SUFFIX)"
37
38 DOMTEST_TESTS_DIR = $(MANAKAI_ROOT_DIR)../domts/tests/
39 DOMTEST_PERL_DIR = $(MANAKAI_TEST_DIR)dom/
40 DOMTEST_FILE = *.xml
41
42 DOMTS2PERL_PL = $(MANAKAI_BIN_DIR)domts2perl.pl
43 DOMTS2PERL = $(PERL_) -I$(MANAKAI_BIN_DIR) $(DOMTS2PERL_PL)
44 DOMTEST2PERL_PL = $(MANAKAI_BIN_DIR)domtest2perl.pl
45
46 DAC2TEST_OPTIONS =
47 DAC2TEST_PL = $(MANAKAI_BIN_DIR)dac2test.pl
48 DAC2TEST = $(PERL_) $(DAC2TEST_PL) $(DAC2TEST_OPTIONS) $(DIS_OPTIONS_ALL)
49
50 DOM_FEATURE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/feature$(DAC_SUFFIX)
51 DOM_CORE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX)
52 DOM_LS_DAC = $(MANAKAI_LIB_DIR)Message/DOM/ls$(DAC_SUFFIX)
53 DOM_DAC_FILES = $(DOM_FEATURE_DAC) $(DOM_CORE_DAC) $(DOM_LS_DAC)
54
55 UTIL_PC_DAC = $(MANAKAI_LIB_DIR)Message/Util/pc$(DAC_SUFFIX)
56 DIS_CORE_DAC = $(MANAKAI_LIB_DIR)Message/Util/discore$(DAC_SUFFIX)
57
58 NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.
59 NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
60 NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/
61 NS_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#
62
63 GENERATED_FILES = util-perlcode.t dom-feature.t dom-tree.t dom-genericls.t \
64 dom-mdomls2003.t util-dis-dnlite.t
65
66 all: $(GENERATED_FILES)
67
68 dom1core-perl: $(DOMTS2PERL_PL)
69 $(MKDIR) $(DOMTEST_PERL_DIR)level1/core/
70 $(DOMTS2PERL) --test-directory="$(DOMTEST_TESTS_DIR)level1/core/" \
71 --output-directory="$(DOMTEST_PERL_DIR)level1/core/" \
72 --domtest2perl-path="$(DOMTEST2PERL_PL)"
73
74 dom1core:
75 MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \
76 $(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl
77
78 dom-feature.t: $(DOM_FEATURE_DAC) $(DAC2TEST_PL)
79 $(DAC2TEST) $< --source-module="$(NS_MDOM)DOMFeature" > $@
80
81 dom-genericls.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)
82 $(DAC2TEST) $< --source-module="$(NS_MDOM)GenericLS" > $@
83
84 dom-tree.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)
85 $(DAC2TEST) $< --source-module="$(NS_MDOM)Tree" > $@
86
87 dom-mdomls2003.t: $(DOM_LS_DAC) $(DAC2TEST_PL)
88 $(DAC2TEST) $< --source-module="$(NS_MDOM)ManakaiDOMLS2003" > $@
89
90 util-perlcode.t: $(UTIL_PC_DAC) $(DAC2TEST_PL)
91 $(DAC2TEST) $< --source-module="$(NS_UTIL)PerlCode" > $@
92
93 util-dis-dnlite.t: $(DIS_CORE_DAC) $(DAC2TEST_PL)
94 $(DAC2TEST) $< --source-module="$(NS_DIS)DNLite" > $@
95
96 $(DOM_DAC_FILES): $(MANAKAI_LIB_DIR)Message/DOM/%: always
97 $(CD) $(MANAKAI_LIB_DIR)Message/DOM/ && $(MAKE) $*
98
99 $(UTIL_PC_DAC) $(DIS_CORE_DAC): $(MANAKAI_LIB_DIR)Message/Util/%: always
100 $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) $*
101
102 clean: clean-dom1core-perl
103 $(RMALL) $(GENERATED_FILES)
104
105 clean-dom1core-perl:
106 $(RMALL) $(DOMTEST_PERL_DIR)level1/core/*
107 $(RMALL) *~ .*~ *.BAK .*.BAK
108
109 always:

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24