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

Contents of /messaging/manakai/t/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jan 6 10:41:32 2005 UTC (19 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +9 -0 lines
DOM test improved; Node.normalize() implemented; DOMMain:ManakaiDOMExceptionIF interface added; DOMCore:ManakaiDOMErrorHandler added

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24