/[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.3 by wakaba, Thu Oct 6 10:53:39 2005 UTC revision 1.36 by wakaba, Sun Jul 29 08:04:42 2007 UTC
# Line 3  MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin Line 3  MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin
3  MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/  MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4  MANAKAI_TEST_DIR = $(MANAKAI_ROOT_DIR)t/  MANAKAI_TEST_DIR = $(MANAKAI_ROOT_DIR)t/
5    
6  DIS_SUFFIX = .dis  CD = cd
7  DAC_SUFFIX = .dae  MAKE = make
 DAEM_SUFFIX = .daem  
   
8  MKDIR = mkdir -p  MKDIR = mkdir -p
9    ECHO = echo
10    
11  RM = rm  RM = rm
12  RMALL = $(RM) -fv  RMALL = $(RM) -fv
# Line 16  TEST_VERBOSE = 0 Line 15  TEST_VERBOSE = 0
15  INST_ARCHLIB = $(MANAKAI_ROOT_DIR)blib/arch  INST_ARCHLIB = $(MANAKAI_ROOT_DIR)blib/arch
16  INST_LIB = $(MANAKAI_ROOT_DIR)blib/lib  INST_LIB = $(MANAKAI_ROOT_DIR)blib/lib
17    
 PERL_OPTIONS =  
18  PERL = perl  PERL = perl
19  PERL_ = $(PERL) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)  PERL_OPTIONS =
20  PERLC = $(PERL) -c  PERL_OPTIONS_ALL = $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
21  PERLC_ = $(PERLC) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)  PERL_ = $(PERL) $(PERL_OPTIONS_ALL)
22  PERL_TEST_ = $(PERL) \  PERLC = $(PERL) -c -w
23               $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR) \  PERLC_OPTIONS =
24    PERLC_OPTIONS_ALL = $(PERLC_OPTIONS) -I$(MANAKAI_LIB_DIR)
25    PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL)
26    PERL_TEST_ = $(PERL) $(PERL_OPTIONS_ALL) \
27               -MExtUtils::Command::MM \               -MExtUtils::Command::MM \
28               -e "test_harness ($(TEST_VERBOSE), '$(INST_LIB)', \               -e "test_harness ($(TEST_VERBOSE), '$(INST_LIB)', \
29                                        '$(INST_ARCHLIB)')"                                        '$(INST_ARCHLIB)')"
30    
 DIS_OPTIONS =  
 DIS_OPTIONS_ALL = $(DIS_OPTIONS) \  
   --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \  
   --dis-file-suffix="$(DIS_SUFFIX)" \  
   --daem-file-suffix="$(DAEM_SUFFIX)"  
   
31  DOMTEST_TESTS_DIR = $(MANAKAI_ROOT_DIR)../domts/tests/  DOMTEST_TESTS_DIR = $(MANAKAI_ROOT_DIR)../domts/tests/
32  DOMTEST_PERL_DIR = $(MANAKAI_TEST_DIR)dom/  DOMTEST_PERL_DIR = $(MANAKAI_TEST_DIR)dom/
33  DOMTEST_FILE = *.xml  DOMTEST_FILE = *.xml
# Line 41  DOMTS2PERL_PL = $(MANAKAI_BIN_DIR)domts2 Line 36  DOMTS2PERL_PL = $(MANAKAI_BIN_DIR)domts2
36  DOMTS2PERL = $(PERL_) -I$(MANAKAI_BIN_DIR) $(DOMTS2PERL_PL)  DOMTS2PERL = $(PERL_) -I$(MANAKAI_BIN_DIR) $(DOMTS2PERL_PL)
37  DOMTEST2PERL_PL = $(MANAKAI_BIN_DIR)domtest2perl.pl  DOMTEST2PERL_PL = $(MANAKAI_BIN_DIR)domtest2perl.pl
38    
39    GENERATED_FILES =
40    
41    all: $(GENERATED_FILES)
42    
43  dom1core-perl: $(DOMTS2PERL_PL)  dom1core-perl: $(DOMTS2PERL_PL)
44          $(MKDIR) $(DOMTEST_PERL_DIR)level1/core/          $(MKDIR) $(DOMTEST_PERL_DIR)level1/core/
45          $(DOMTS2PERL) --test-directory="$(DOMTEST_TESTS_DIR)level1/core/" \          $(DOMTS2PERL) --test-directory="$(DOMTEST_TESTS_DIR)level1/core/" \
# Line 51  dom1core: Line 50  dom1core:
50          MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \          MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \
51            $(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl            $(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl
52    
53    test-module-all: \
54      test-module-dom
55    
56    test-module-dom:
57            $(PERL_TEST_) DOM-*$(PT_SUFFIX)
58    
59  clean: clean-dom1core-perl  clean: clean-dom1core-perl
60            $(RMALL) $(GENERATED_FILES)
61    
62  clean-dom1core-perl:  clean-dom1core-perl:
63          $(RMALL) $(DOMTEST_PERL_DIR)level1/core/*          $(RMALL) $(DOMTEST_PERL_DIR)level1/core/*
64          $(RMALL) *~ .*~ *.BAK .*.BAK          $(RMALL) *~ .*~ *.BAK .*.BAK
65    
66    distclean: clean
67    
68    always:

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.36

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24