53 |
DOM_DAC_FILES = $(DOM_FEATURE_DAC) $(DOM_CORE_DAC) $(DOM_LS_DAC) |
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) |
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. |
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\# |
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/ |
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-genericls.t \ |
GENERATED_FILES = util-perlcode.t dom-feature.t dom-tree.t dom-genericls.t \ |
64 |
dom-mdomls2003 |
dom-core.t dom-xdoctype.t \ |
65 |
|
dom-mdomls2003.t util-dis-dnlite.t |
66 |
|
|
67 |
all: $(GENERATED_FILES) |
all: $(GENERATED_FILES) |
68 |
|
|
76 |
MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \ |
MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \ |
77 |
$(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl |
$(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl |
78 |
|
|
79 |
|
test-module-all: test-module-dom test-module-util |
80 |
|
|
81 |
|
test-module-dom: \ |
82 |
|
dom-feature.t \ |
83 |
|
dom-core.t dom-tree.t dom-xdoctype.t \ |
84 |
|
dom-genericls.t \ |
85 |
|
dom-mdomls2003.t |
86 |
|
$(PERL_TEST_) dom-*.t |
87 |
|
|
88 |
dom-feature.t: $(DOM_FEATURE_DAC) $(DAC2TEST_PL) |
dom-feature.t: $(DOM_FEATURE_DAC) $(DAC2TEST_PL) |
89 |
$(DAC2TEST) $< --source-module="$(NS_MDOM)DOMFeature" > $@ |
$(DAC2TEST) $< --source-module="$(NS_MDOM)DOMFeature" > $@ |
90 |
|
|
91 |
dom-genericls.t: $(DOM_CORE_DAC) $(DAC2TEST_PL) |
dom-genericls.t: $(DOM_CORE_DAC) $(DAC2TEST_PL) |
92 |
$(DAC2TEST) $< --source-module="$(NS_MDOM)GenericLS" > $@ |
$(DAC2TEST) $< --source-module="$(NS_MDOM)GenericLS" > $@ |
93 |
|
|
94 |
|
dom-tree.t: $(DOM_CORE_DAC) $(DAC2TEST_PL) |
95 |
|
$(DAC2TEST) $< --source-module="$(NS_MDOM)Tree" > $@ |
96 |
|
|
97 |
|
dom-core.t: $(DOM_CORE_DAC) $(DAC2TEST_PL) |
98 |
|
$(DAC2TEST) $< --source-module="$(NS_MDOM)DOMCore" > $@ |
99 |
|
|
100 |
|
dom-xdoctype.t: $(DOM_CORE_DAC) $(DAC2TEST_PL) |
101 |
|
$(DAC2TEST) $< --source-module="$(NS_MDOM)XDoctype" > $@ |
102 |
|
|
103 |
dom-mdomls2003.t: $(DOM_LS_DAC) $(DAC2TEST_PL) |
dom-mdomls2003.t: $(DOM_LS_DAC) $(DAC2TEST_PL) |
104 |
$(DAC2TEST) $< --source-module="$(NS_MDOM)ManakaiDOMLS2003" > $@ |
$(DAC2TEST) $< --source-module="$(NS_MDOM)ManakaiDOMLS2003" > $@ |
105 |
|
|
106 |
|
test-module-util: \ |
107 |
|
util-perlcode.t \ |
108 |
|
util-dis-dnlite.t |
109 |
|
$(PERL_TEST_) util-*.t |
110 |
|
|
111 |
util-perlcode.t: $(UTIL_PC_DAC) $(DAC2TEST_PL) |
util-perlcode.t: $(UTIL_PC_DAC) $(DAC2TEST_PL) |
112 |
$(DAC2TEST) $< --source-module="$(NS_UTIL)PerlCode" > $@ |
$(DAC2TEST) $< --source-module="$(NS_UTIL)PerlCode" > $@ |
113 |
|
|
114 |
|
util-dis-dnlite.t: $(DIS_CORE_DAC) $(DAC2TEST_PL) |
115 |
|
$(DAC2TEST) $< --source-module="$(NS_DIS)DNLite" > $@ |
116 |
|
|
117 |
$(DOM_DAC_FILES): $(MANAKAI_LIB_DIR)Message/DOM/%: always |
$(DOM_DAC_FILES): $(MANAKAI_LIB_DIR)Message/DOM/%: always |
118 |
$(CD) $(MANAKAI_LIB_DIR)Message/DOM/ && $(MAKE) $* |
$(CD) $(MANAKAI_LIB_DIR)Message/DOM/ && $(MAKE) $* |
119 |
|
|
120 |
$(UTIL_PC_DAC): $(MANAKAI_LIB_DIR)Message/Util/%: always |
$(UTIL_PC_DAC) $(DIS_CORE_DAC): $(MANAKAI_LIB_DIR)Message/Util/%: always |
121 |
$(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) $* |
$(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) $* |
122 |
|
|
123 |
clean: clean-dom1core-perl |
clean: clean-dom1core-perl |