/[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.7 by wakaba, Wed Nov 23 07:59:20 2005 UTC revision 1.10 by wakaba, Mon Jan 23 12:43:36 2006 UTC
# Line 6  MANAKAI_TEST_DIR = $(MANAKAI_ROOT_DIR)t/ Line 6  MANAKAI_TEST_DIR = $(MANAKAI_ROOT_DIR)t/
6  DIS_SUFFIX = .dis  DIS_SUFFIX = .dis
7  DAC_SUFFIX = .dae  DAC_SUFFIX = .dae
8  DAEM_SUFFIX = .daem  DAEM_SUFFIX = .daem
9    PM_SUFFIX = .pm
10    
11  CD = cd  CD = cd
12  MAKE = make  MAKE = make
# Line 50  DAC2TEST = $(PERL_) $(DAC2TEST_PL) $(DAC Line 51  DAC2TEST = $(PERL_) $(DAC2TEST_PL) $(DAC
51  DOM_FEATURE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/feature$(DAC_SUFFIX)  DOM_FEATURE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/feature$(DAC_SUFFIX)
52  DOM_CORE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX)  DOM_CORE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX)
53  DOM_LS_DAC = $(MANAKAI_LIB_DIR)Message/DOM/ls$(DAC_SUFFIX)  DOM_LS_DAC = $(MANAKAI_LIB_DIR)Message/DOM/ls$(DAC_SUFFIX)
54  DOM_DAC_FILES = $(DOM_FEATURE_DAC) $(DOM_CORE_DAC) $(DOM_LS_DAC)  DOM_XP_DAC = $(MANAKAI_LIB_DIR)Message/DOM/xp$(DAC_SUFFIX)
55    DOM_DAC_FILES = $(DOM_FEATURE_DAC) $(DOM_CORE_DAC) $(DOM_LS_DAC) $(DOM_XP_DAC)
56    
57    UTIL_TEST_DAC = $(MANAKAI_LIB_DIR)Message/Util/coretest$(DAC_SUFFIX)
58    UTIL_MNTEST_PM = $(MANAKAI_LIB_DIR)Message/Util/ManakaiNodeTest$(PM_SUFFIX)
59  UTIL_PC_DAC = $(MANAKAI_LIB_DIR)Message/Util/pc$(DAC_SUFFIX)  UTIL_PC_DAC = $(MANAKAI_LIB_DIR)Message/Util/pc$(DAC_SUFFIX)
60  DIS_CORE_DAC = $(MANAKAI_LIB_DIR)Message/Util/discore$(DAC_SUFFIX)  DIS_CORE_DAC = $(MANAKAI_LIB_DIR)Message/Util/discore$(DAC_SUFFIX)
61    
# Line 60  NS_MANAKAIDOM = http://suika.fam.cx/~wak Line 64  NS_MANAKAIDOM = http://suika.fam.cx/~wak
64  NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/  NS_UTIL = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/
65  NS_DIS  = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#  NS_DIS  = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#
66    
67  GENERATED_FILES = util-perlcode.t dom-feature.t dom-tree.t dom-genericls.t \  GENERATED_FILES = \
68      util-mntest.t \
69      util-perlcode.t dom-feature.t dom-tree.t dom-genericls.t \
70      dom-core.t dom-xdoctype.t dom-xmlparser.t \
71    dom-mdomls2003.t util-dis-dnlite.t    dom-mdomls2003.t util-dis-dnlite.t
72    
73  all: $(GENERATED_FILES)  all: $(GENERATED_FILES)
# Line 75  dom1core: Line 82  dom1core:
82          MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \          MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \
83            $(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl            $(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl
84    
85    test-module-all: test-module-dom test-module-util
86    
87    test-module-dom: \
88      dom-feature.t \
89      dom-core.t dom-tree.t dom-xdoctype.t \
90      dom-genericls.t \
91      dom-mdomls2003.t dom-xmlparser.t
92            $(PERL_TEST_) dom-*.t
93    
94  dom-feature.t: $(DOM_FEATURE_DAC) $(DAC2TEST_PL)  dom-feature.t: $(DOM_FEATURE_DAC) $(DAC2TEST_PL)
95          $(DAC2TEST) $< --source-module="$(NS_MDOM)DOMFeature" > $@          $(DAC2TEST) $< --source-module="$(NS_MDOM)DOMFeature" > $@
96    
# Line 84  dom-genericls.t: $(DOM_CORE_DAC) $(DAC2T Line 100  dom-genericls.t: $(DOM_CORE_DAC) $(DAC2T
100  dom-tree.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)  dom-tree.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)
101          $(DAC2TEST) $< --source-module="$(NS_MDOM)Tree" > $@          $(DAC2TEST) $< --source-module="$(NS_MDOM)Tree" > $@
102    
103    dom-core.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)
104            $(DAC2TEST) $< --source-module="$(NS_MDOM)DOMCore" > $@
105    
106    dom-xdoctype.t: $(DOM_CORE_DAC) $(DAC2TEST_PL)
107            $(DAC2TEST) $< --source-module="$(NS_MDOM)XDoctype" > $@
108    
109  dom-mdomls2003.t: $(DOM_LS_DAC) $(DAC2TEST_PL)  dom-mdomls2003.t: $(DOM_LS_DAC) $(DAC2TEST_PL)
110          $(DAC2TEST) $< --source-module="$(NS_MDOM)ManakaiDOMLS2003" > $@          $(DAC2TEST) $< --source-module="$(NS_MDOM)ManakaiDOMLS2003" > $@
111    
112    dom-xmlparser.t: $(DOM_XP_DAC) $(DAC2TEST_PL)
113            $(DAC2TEST) $< --source-module="$(NS_MDOM)XMLParser" > $@
114    
115    test-module-util: \
116      util-mntest.t \
117      util-perlcode.t \
118      util-dis-dnlite.t
119            $(PERL_TEST_) util-*.t
120    
121    util-mntest.t: $(UTIL_TEST_DAC) $(UTIL_MNTEST_PM) $(DAC2TEST_PL)
122            $(DAC2TEST) $< --source-module="$(NS_UTIL)ManakaiNodeTest" > $@
123    
124  util-perlcode.t: $(UTIL_PC_DAC) $(DAC2TEST_PL)  util-perlcode.t: $(UTIL_PC_DAC) $(DAC2TEST_PL)
125          $(DAC2TEST) $< --source-module="$(NS_UTIL)PerlCode" > $@          $(DAC2TEST) $< --source-module="$(NS_UTIL)PerlCode" > $@
126    
# Line 96  util-dis-dnlite.t: $(DIS_CORE_DAC) $(DAC Line 130  util-dis-dnlite.t: $(DIS_CORE_DAC) $(DAC
130  $(DOM_DAC_FILES): $(MANAKAI_LIB_DIR)Message/DOM/%: always  $(DOM_DAC_FILES): $(MANAKAI_LIB_DIR)Message/DOM/%: always
131          $(CD) $(MANAKAI_LIB_DIR)Message/DOM/ && $(MAKE) $*          $(CD) $(MANAKAI_LIB_DIR)Message/DOM/ && $(MAKE) $*
132    
133  $(UTIL_PC_DAC) $(DIS_CORE_DAC): $(MANAKAI_LIB_DIR)Message/Util/%: always  $(UTIL_TEST_DAC) $(UTIL_MNTEST_PM) $(UTIL_PC_DAC) $(DIS_CORE_DAC): \
134      $(MANAKAI_LIB_DIR)Message/Util/%: always
135          $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) $*          $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) $*
136    
137  clean: clean-dom1core-perl  clean: clean-dom1core-perl

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.10

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24