46 |
DOM_CORE_DIS_FILES = DOMMain.dis DOMCore.dis DOMXML.dis \ |
DOM_CORE_DIS_FILES = DOMMain.dis DOMCore.dis DOMXML.dis \ |
47 |
DOMLS.dis GenericLS.dis Tree$(DIS_SUFFIX) |
DOMLS.dis GenericLS.dis Tree$(DIS_SUFFIX) |
48 |
DOM_LS_DIS_FILES = SimpleLS$(DIS_SUFFIX) ManakaiDOMLS2003$(DIS_SUFFIX) |
DOM_LS_DIS_FILES = SimpleLS$(DIS_SUFFIX) ManakaiDOMLS2003$(DIS_SUFFIX) |
49 |
|
XP_DIS_FILES = XMLParser$(DIS_SUFFIX) |
50 |
DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis |
DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis |
51 |
DIS_FILES = $(DOM_FEATURE_DIS_FILES) $(DOM_CORE_DIS_FILES) \ |
DIS_FILES = $(DOM_FEATURE_DIS_FILES) $(DOM_CORE_DIS_FILES) \ |
52 |
$(DOM_LS_DIS_FILES) $(DOM_HTML_DIS_FILES) |
$(DOM_LS_DIS_FILES) $(DOM_HTML_DIS_FILES) $(XP_DIS_FILES) |
53 |
|
|
54 |
GENERATED_FILES = \ |
GENERATED_FILES = \ |
55 |
feature$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) \ |
feature$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) \ |
57 |
DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \ |
DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \ |
58 |
GenericLS$(PM_SUFFIX) Tree$(PM_SUFFIX) \ |
GenericLS$(PM_SUFFIX) Tree$(PM_SUFFIX) \ |
59 |
ls$(DAC_SUFFIX) SimpleLS$(PM_SUFFIX) ManakaiDOMLS2003$(PM_SUFFIX) \ |
ls$(DAC_SUFFIX) SimpleLS$(PM_SUFFIX) ManakaiDOMLS2003$(PM_SUFFIX) \ |
60 |
|
xp$(DAC_SUFFIX) XMLParser$(PM_SUFFIX) \ |
61 |
html$(DAC_SUFFIX) DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX) |
html$(DAC_SUFFIX) DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX) |
62 |
GENERATED_DAC_FILES = feature$(DAC_SUFFIX) \ |
GENERATED_DAC_FILES = feature$(DAC_SUFFIX) \ |
63 |
core$(DAC_SUFFIX) ls$(DAC_SUFFIX) html$(DAC_SUFFIX) |
core$(DAC_SUFFIX) ls$(DAC_SUFFIX) html$(DAC_SUFFIX) xp$(DAC_SUFFIX) |
64 |
|
|
65 |
all: .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) $(GENERATED_DAC_FILES) |
all: .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) \ |
66 |
|
$(GENERATED_DAC_FILES) \ |
67 |
|
XMLParser$(PM_SUFFIX) |
68 |
|
|
69 |
feature$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_FEATURE_DIS_FILES) $(DAC_PL) |
feature$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_FEATURE_DIS_FILES) $(DAC_PL) |
70 |
$(DAC)$@ --input-db-file-name="$<" DOMFeature.dis |
$(DAC)$@ --input-db-file-name="$<" DOMFeature.dis |
79 |
$(DAC)$@ --input-db-file-name="$@.tmp.1" ManakaiDOMLS2003.dis |
$(DAC)$@ --input-db-file-name="$@.tmp.1" ManakaiDOMLS2003.dis |
80 |
$(RM) $@.tmp.1 |
$(RM) $@.tmp.1 |
81 |
|
|
82 |
|
xp$(DAC_SUFFIX): ls$(DAC_SUFFIX) $(XP_DIS_FILES) $(DAC_PL) |
83 |
|
$(DAC)$@ --input-db-file-name="$<" XMLParser.dis |
84 |
|
|
85 |
html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL) |
html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL) |
86 |
$(DAC)$@ --input-db-file-name="$<" DOMHTML.dis |
$(DAC)$@ --input-db-file-name="$<" DOMHTML.dis |
87 |
|
|
127 |
$(PERL_CHK) ManakaiDOMLS2003$(PM_SUFFIX) |
$(PERL_CHK) ManakaiDOMLS2003$(PM_SUFFIX) |
128 |
$(TOUCH) $@ |
$(TOUCH) $@ |
129 |
|
|
130 |
|
$(XP_DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)): xp$(DAC_SUFFIX) $(DAC2PM_PL) |
131 |
|
$(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \ |
132 |
|
--output-file-path="$@" |
133 |
|
$(PERL_CHK) $@ |
134 |
|
|
135 |
$(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL) |
$(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL) |
136 |
$(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@ |
$(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@ |
137 |
$(PERL_CHK) $@ |
$(PERL_CHK) $@ |