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

Contents of /messaging/manakai/t/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Oct 31 12:27:35 2004 UTC (20 years ago) by wakaba
Branch: MAIN
CVS Tags: before-dis2-200411
New

1 wakaba 1.1 MKDIR = mkdir -p
2    
3     MANAKAI_ROOT_DIR = ../
4     BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
5     LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
6     TEST_DIR = $(MANAKAI_ROOT_DIR)t/
7    
8     TEST_VERBOSE = 0
9     INST_ARCHLIB = $(MANAKAI_ROOT_DIR)blib/arch
10     INST_LIB = $(MANAKAI_ROOT_DIR)blib/lib
11    
12     PERL = perl -I$(LIB_DIR)
13     PERLC = $(PERL) -c
14     PERL_TEST = $(PERL) -MExtUtils::Command::MM \
15     -e "test_harness ($(TEST_VERBOSE), '$(INST_LIB)', \
16     '$(INST_ARCHLIB)')"
17    
18     DOMTEST_TESTS_DIR = $(MANAKAI_ROOT_DIR)../domts/tests/
19     DOMTEST_PERL_DIR = $(TEST_DIR)dom/
20     DOMTEST_FILE = *.xml
21    
22     DOMTS2PERL_PL = $(BIN_DIR)domts2perl.pl
23     DOMTS2PERL = $(PERL) -I$(BIN_DIR) $(DOMTS2PERL_PL)
24     DOMTEST2PERL_PL = $(BIN_DIR)domtest2perl.pl
25    
26     dom1core-perl: $(DOMTS2PERL_PL)
27     $(MKDIR) $(DOMTEST_PERL_DIR)level1/core/
28     $(DOMTS2PERL) --test-directory=$(DOMTEST_TESTS_DIR)level1/core/ \
29     --output-directory=$(DOMTEST_PERL_DIR)level1/core/ \
30     --domtest2perl=$(DOMTEST2PERL_PL)
31    
32     dom1core:
33     MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \
34     $(PERL_TEST) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24