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

Diff of /messaging/manakai/t/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by wakaba, Tue Nov 15 14:18:24 2005 UTC revision 1.9 by wakaba, Sat Jan 21 07:06:10 2006 UTC
# Line 49  DAC2TEST = $(PERL_) $(DAC2TEST_PL) $(DAC Line 49  DAC2TEST = $(PERL_) $(DAC2TEST_PL) $(DAC
49    
50  DOM_FEATURE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/feature$(DAC_SUFFIX)  DOM_FEATURE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/feature$(DAC_SUFFIX)
51  DOM_CORE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX)  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_XP_DAC = $(MANAKAI_LIB_DIR)Message/DOM/xp$(DAC_SUFFIX)
54    DOM_DAC_FILES = $(DOM_FEATURE_DAC) $(DOM_CORE_DAC) $(DOM_LS_DAC) $(DOM_XP_DAC)
55    
56    UTIL_PC_DAC = $(MANAKAI_LIB_DIR)Message/Util/pc$(DAC_SUFFIX)
57    DIS_CORE_DAC = $(MANAKAI_LIB_DIR)Message/Util/discore$(DAC_SUFFIX)
58    
59  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.
60  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\#
61    NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/
62    NS_DIS  = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#
63    
64  GENERATED_FILES = dom-feature.t dom-genericls.t  GENERATED_FILES = util-perlcode.t dom-feature.t dom-tree.t dom-genericls.t \
65      dom-core.t dom-xdoctype.t dom-xmlparser.t \
66      dom-mdomls2003.t util-dis-dnlite.t
67    
68  all: $(GENERATED_FILES)  all: $(GENERATED_FILES)
69    
# Line 67  dom1core: Line 77  dom1core:
77          MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \          MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \
78            $(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl            $(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl
79    
80    test-module-all: test-module-dom test-module-util
81    
82    test-module-dom: \
83      dom-feature.t \
84      dom-core.t dom-tree.t dom-xdoctype.t \
85      dom-genericls.t \
86      dom-mdomls2003.t dom-xmlparser.t
87            $(PERL_TEST_) dom-*.t
88    
89  dom-feature.t: $(DOM_FEATURE_DAC) $(DAC2TEST_PL)  dom-feature.t: $(DOM_FEATURE_DAC) $(DAC2TEST_PL)
90          $(DAC2TEST) $< --source-module="$(NS_MDOM)DOMFeature" > $@          $(DAC2TEST) $< --source-module="$(NS_MDOM)DOMFeature" > $@
91    
92  dom-genericls.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)  dom-genericls.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)
93          $(DAC2TEST) $< --source-module="$(NS_MDOM)GenericLS" > $@          $(DAC2TEST) $< --source-module="$(NS_MDOM)GenericLS" > $@
94    
95  $(DOM_FEATURE_DAC) $(DOM_CORE_DAC): $(MANAKAI_LIB_DIR)Message/DOM/%: always  dom-tree.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)
96            $(DAC2TEST) $< --source-module="$(NS_MDOM)Tree" > $@
97    
98    dom-core.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)
99            $(DAC2TEST) $< --source-module="$(NS_MDOM)DOMCore" > $@
100    
101    dom-xdoctype.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)
102            $(DAC2TEST) $< --source-module="$(NS_MDOM)XDoctype" > $@
103    
104    dom-mdomls2003.t: $(DOM_LS_DAC) $(DAC2TEST_PL)
105            $(DAC2TEST) $< --source-module="$(NS_MDOM)ManakaiDOMLS2003" > $@
106    
107    dom-xmlparser.t: $(DOM_XP_DAC) $(DAC2TEST_PL)
108            $(DAC2TEST) $< --source-module="$(NS_MDOM)XMLParser" > $@
109    
110    test-module-util: \
111      util-perlcode.t \
112      util-dis-dnlite.t
113            $(PERL_TEST_) util-*.t
114    
115    util-perlcode.t: $(UTIL_PC_DAC) $(DAC2TEST_PL)
116            $(DAC2TEST) $< --source-module="$(NS_UTIL)PerlCode" > $@
117    
118    util-dis-dnlite.t: $(DIS_CORE_DAC) $(DAC2TEST_PL)
119            $(DAC2TEST) $< --source-module="$(NS_DIS)DNLite" > $@
120    
121    $(DOM_DAC_FILES): $(MANAKAI_LIB_DIR)Message/DOM/%: always
122          $(CD) $(MANAKAI_LIB_DIR)Message/DOM/ && $(MAKE) $*          $(CD) $(MANAKAI_LIB_DIR)Message/DOM/ && $(MAKE) $*
123    
124    $(UTIL_PC_DAC) $(DIS_CORE_DAC): $(MANAKAI_LIB_DIR)Message/Util/%: always
125            $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) $*
126    
127  clean: clean-dom1core-perl  clean: clean-dom1core-perl
128          $(RMALL) $(GENERATED_FILES)          $(RMALL) $(GENERATED_FILES)
129    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.9

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24