7 |
DAC_SUFFIX = .dae |
DAC_SUFFIX = .dae |
8 |
DAEM_SUFFIX = .daem |
DAEM_SUFFIX = .daem |
9 |
|
|
10 |
|
CD = cd |
11 |
|
MAKE = make |
12 |
MKDIR = mkdir -p |
MKDIR = mkdir -p |
13 |
|
|
14 |
RM = rm |
RM = rm |
43 |
DOMTS2PERL = $(PERL_) -I$(MANAKAI_BIN_DIR) $(DOMTS2PERL_PL) |
DOMTS2PERL = $(PERL_) -I$(MANAKAI_BIN_DIR) $(DOMTS2PERL_PL) |
44 |
DOMTEST2PERL_PL = $(MANAKAI_BIN_DIR)domtest2perl.pl |
DOMTEST2PERL_PL = $(MANAKAI_BIN_DIR)domtest2perl.pl |
45 |
|
|
46 |
|
DAC2TEST_OPTIONS = |
47 |
|
DAC2TEST_PL = $(MANAKAI_BIN_DIR)dac2test.pl |
48 |
|
DAC2TEST = $(PERL_) $(DAC2TEST_PL) $(DAC2TEST_OPTIONS) $(DIS_OPTIONS_ALL) |
49 |
|
|
50 |
|
DOM_FEATURE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/feature$(DAC_SUFFIX) |
51 |
|
DOM_CORE_DAC = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX) |
52 |
|
|
53 |
|
NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM. |
54 |
|
NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\# |
55 |
|
|
56 |
|
GENERATED_FILES = dom-feature.t dom-genericls.t |
57 |
|
|
58 |
|
all: $(GENERATED_FILES) |
59 |
|
|
60 |
dom1core-perl: $(DOMTS2PERL_PL) |
dom1core-perl: $(DOMTS2PERL_PL) |
61 |
$(MKDIR) $(DOMTEST_PERL_DIR)level1/core/ |
$(MKDIR) $(DOMTEST_PERL_DIR)level1/core/ |
62 |
$(DOMTS2PERL) --test-directory="$(DOMTEST_TESTS_DIR)level1/core/" \ |
$(DOMTS2PERL) --test-directory="$(DOMTEST_TESTS_DIR)level1/core/" \ |
67 |
MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \ |
MANAKAI_DOMTEST_FILE_DIR=$(DOMTEST_TESTS_DIR)level1/core/files/ \ |
68 |
$(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl |
$(PERL_TEST_) $(DOMTEST_PERL_DIR)level1/core/$(DOMTEST_FILE).pl |
69 |
|
|
70 |
|
dom-feature.t: $(DOM_FEATURE_DAC) $(DAC2TEST_PL) |
71 |
|
$(DAC2TEST) $< --source-module="$(NS_MDOM)DOMFeature" > $@ |
72 |
|
|
73 |
|
dom-genericls.t: $(DOM_CORE_DAC) $(DAC2TEST_PL) |
74 |
|
$(DAC2TEST) $< --source-module="$(NS_MDOM)GenericLS" > $@ |
75 |
|
|
76 |
|
$(DOM_FEATURE_DAC) $(DOM_CORE_DAC): $(MANAKAI_LIB_DIR)Message/DOM/%: always |
77 |
|
$(CD) $(MANAKAI_LIB_DIR)Message/DOM/ && $(MAKE) $* |
78 |
|
|
79 |
clean: clean-dom1core-perl |
clean: clean-dom1core-perl |
80 |
|
$(RMALL) $(GENERATED_FILES) |
81 |
|
|
82 |
clean-dom1core-perl: |
clean-dom1core-perl: |
83 |
$(RMALL) $(DOMTEST_PERL_DIR)level1/core/* |
$(RMALL) $(DOMTEST_PERL_DIR)level1/core/* |
84 |
$(RMALL) *~ .*~ *.BAK .*.BAK |
$(RMALL) *~ .*~ *.BAK .*.BAK |
85 |
|
|
86 |
|
always: |