42 |
|
|
43 |
UTIL_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX) |
UTIL_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX) |
44 |
|
|
45 |
DOM_FEATURE_DIS_FILES = DOMFeature$(DIS_SUFFIX) |
DOM_FEATURE_DIS_FILES = DOMFeature$(DIS_SUFFIX) GenericLS$(DIS_SUFFIX) |
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) \ |
Tree$(DIS_SUFFIX) \ |
48 |
XDoctype$(DIS_SUFFIX) |
XDoctype$(DIS_SUFFIX) |
49 |
DOM_LS_DIS_FILES = SimpleLS$(DIS_SUFFIX) ManakaiDOMLS2003$(DIS_SUFFIX) |
DOM_LS_DIS_FILES = SimpleLS$(DIS_SUFFIX) DOMLS$(DIS_SUFFIX) \ |
50 |
|
ManakaiDOMLS2003$(DIS_SUFFIX) |
51 |
XP_DIS_FILES = XMLParser$(DIS_SUFFIX) |
XP_DIS_FILES = XMLParser$(DIS_SUFFIX) |
52 |
DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis |
DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis |
53 |
DIS_FILES = $(DOM_FEATURE_DIS_FILES) $(DOM_CORE_DIS_FILES) \ |
DIS_FILES = $(DOM_FEATURE_DIS_FILES) $(DOM_CORE_DIS_FILES) \ |
54 |
$(DOM_LS_DIS_FILES) $(DOM_HTML_DIS_FILES) $(XP_DIS_FILES) |
$(DOM_LS_DIS_FILES) $(DOM_HTML_DIS_FILES) $(XP_DIS_FILES) |
55 |
|
|
56 |
GENERATED_FILES = \ |
GENERATED_FILES = \ |
57 |
feature$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) \ |
feature$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) GenericLS$(PM_SUFFIX) \ |
58 |
core$(DAC_SUFFIX) DOMMain$(PM_SUFFIX) \ |
core$(DAC_SUFFIX) DOMMain$(PM_SUFFIX) \ |
59 |
DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \ |
DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) \ |
60 |
GenericLS$(PM_SUFFIX) Tree$(PM_SUFFIX) \ |
Tree$(PM_SUFFIX) \ |
61 |
XDoctype$(PM_SUFFIX) \ |
XDoctype$(PM_SUFFIX) \ |
62 |
ls$(DAC_SUFFIX) SimpleLS$(PM_SUFFIX) ManakaiDOMLS2003$(PM_SUFFIX) \ |
ls$(DAC_SUFFIX) SimpleLS$(PM_SUFFIX) ManakaiDOMLS2003$(PM_SUFFIX) \ |
63 |
|
DOMLS$(PM_SUFFIX) \ |
64 |
xp$(DAC_SUFFIX) XMLParser$(PM_SUFFIX) \ |
xp$(DAC_SUFFIX) XMLParser$(PM_SUFFIX) \ |
65 |
html$(DAC_SUFFIX) DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX) |
html$(DAC_SUFFIX) DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX) |
66 |
GENERATED_DAC_FILES = feature$(DAC_SUFFIX) \ |
GENERATED_DAC_FILES = feature$(DAC_SUFFIX) \ |
67 |
core$(DAC_SUFFIX) ls$(DAC_SUFFIX) html$(DAC_SUFFIX) xp$(DAC_SUFFIX) |
core$(DAC_SUFFIX) ls$(DAC_SUFFIX) html$(DAC_SUFFIX) xp$(DAC_SUFFIX) |
68 |
|
|
69 |
all: .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) \ |
all: .core$(PM_SUFFIX) .html$(PM_SUFFIX) \ |
70 |
$(GENERATED_DAC_FILES) \ |
$(GENERATED_DAC_FILES) \ |
71 |
XMLParser$(PM_SUFFIX) |
XMLParser$(PM_SUFFIX) |
72 |
|
|
73 |
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) |
74 |
$(DAC)$@ --input-db-file-name="$<" DOMFeature.dis |
$(DAC)$@ --input-db-file-name="$<" GenericLS.dis |
75 |
|
|
76 |
core$(DAC_SUFFIX): feature$(DAC_SUFFIX) $(DOM_CORE_DIS_FILES) $(DAC_PL) |
core$(DAC_SUFFIX): feature$(DAC_SUFFIX) $(DOM_CORE_DIS_FILES) $(DAC_PL) |
77 |
$(DAC)$@.tmp.1 --input-db-file-name="$<" DOMLS.dis |
$(DAC)$@ --input-db-file-name="$<" XDoctype.dis |
|
$(DAC)$@ --input-db-file-name="$@.tmp.1" GenericLS.dis |
|
|
$(RM) $@.tmp.1 |
|
78 |
|
|
79 |
ls$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_LS_DIS_FILES) $(DAC_PL) |
ls$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_LS_DIS_FILES) $(DAC_PL) |
80 |
$(DAC)$@.tmp.1 --input-db-file-name="$<" SimpleLS.dis |
$(DAC)$@.tmp.1 --input-db-file-name="$<" SimpleLS.dis |
81 |
$(DAC)$@ --input-db-file-name="$@.tmp.1" ManakaiDOMLS2003.dis |
$(DAC)$@.tmp.2 --input-db-file-name="$@.tmp.1" ManakaiDOMLS2003.dis |
82 |
$(RM) $@.tmp.1 |
$(DAC)$@ --input-db-file-name="$@.tmp.2" DOMLS.dis |
83 |
|
$(RM) $@.tmp.1 $@.tmp.2 |
84 |
|
|
85 |
xp$(DAC_SUFFIX): ls$(DAC_SUFFIX) $(XP_DIS_FILES) $(DAC_PL) |
xp$(DAC_SUFFIX): ls$(DAC_SUFFIX) $(XP_DIS_FILES) $(DAC_PL) |
86 |
$(DAC)$@ --input-db-file-name="$<" XMLParser.dis |
$(DAC)$@ --input-db-file-name="$<" XMLParser.dis |
102 |
.core$(PM_SUFFIX): core$(DAC_SUFFIX) $(DAC2PM_PL) |
.core$(PM_SUFFIX): core$(DAC_SUFFIX) $(DAC2PM_PL) |
103 |
$(DAC2PM) $< \ |
$(DAC2PM) $< \ |
104 |
--create-perl-module="$(NS_MDOM)DOMFeature DOMFeature$(PM_SUFFIX)" \ |
--create-perl-module="$(NS_MDOM)DOMFeature DOMFeature$(PM_SUFFIX)" \ |
105 |
|
--create-perl-module="$(NS_MDOM)GenericLS GenericLS$(PM_SUFFIX)" \ |
106 |
--create-perl-module="$(NS_MDOM)DOMMain DOMMain$(PM_SUFFIX)" \ |
--create-perl-module="$(NS_MDOM)DOMMain DOMMain$(PM_SUFFIX)" \ |
107 |
--create-perl-module="$(NS_MDOM)DOMCore DOMCore$(PM_SUFFIX)" \ |
--create-perl-module="$(NS_MDOM)DOMCore DOMCore$(PM_SUFFIX)" \ |
108 |
--create-perl-module="$(NS_MDOM)Tree Tree$(PM_SUFFIX)" \ |
--create-perl-module="$(NS_MDOM)Tree Tree$(PM_SUFFIX)" \ |
109 |
--create-perl-module="$(NS_MDOM)DOMXML DOMXML$(PM_SUFFIX)" \ |
--create-perl-module="$(NS_MDOM)DOMXML DOMXML$(PM_SUFFIX)" \ |
110 |
--create-perl-module="$(NS_MDOM)XDoctype XDoctype$(PM_SUFFIX)" \ |
--create-perl-module="$(NS_MDOM)XDoctype XDoctype$(PM_SUFFIX)" |
|
--create-perl-module="$(NS_MDOM)DOMLS DOMLS$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)GenericLS GenericLS$(PM_SUFFIX)" |
|
111 |
$(PERL_CHK) DOMFeature$(PM_SUFFIX) |
$(PERL_CHK) DOMFeature$(PM_SUFFIX) |
112 |
|
$(PERL_CHK) GenericLS$(PM_SUFFIX) |
113 |
$(PERL_CHK) DOMMain$(PM_SUFFIX) |
$(PERL_CHK) DOMMain$(PM_SUFFIX) |
114 |
$(PERL_CHK) DOMCore$(PM_SUFFIX) |
$(PERL_CHK) DOMCore$(PM_SUFFIX) |
115 |
$(PERL_CHK) Tree$(PM_SUFFIX) |
$(PERL_CHK) Tree$(PM_SUFFIX) |
116 |
$(PERL_CHK) DOMXML$(PM_SUFFIX) |
$(PERL_CHK) DOMXML$(PM_SUFFIX) |
117 |
$(PERL_CHK) XDoctype$(PM_SUFFIX) |
$(PERL_CHK) XDoctype$(PM_SUFFIX) |
|
$(PERL_CHK) DOMLS$(PM_SUFFIX) |
|
|
$(PERL_CHK) GenericLS$(PM_SUFFIX) |
|
118 |
$(TOUCH) $@ |
$(TOUCH) $@ |
119 |
## NOTE: When you modify this rule, update |../Util/Makefile|, too. |
## NOTE: When you modify this rule, update |../Util/Makefile|, too. |
120 |
|
|
123 |
--output-file-path="$@" |
--output-file-path="$@" |
124 |
$(PERL_CHK) $@ |
$(PERL_CHK) $@ |
125 |
|
|
|
.ls$(PM_SUFFIX): ls$(DAC_SUFFIX) $(DAC2PM_PL) |
|
|
$(DAC2PM) $< \ |
|
|
--create-perl-module="$(NS_MDOM)SimpleLS SimpleLS$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)ManakaiDOMLS2003 ManakaiDOMLS2003$(PM_SUFFIX)" |
|
|
$(PERL_CHK) SimpleLS$(PM_SUFFIX) |
|
|
$(PERL_CHK) ManakaiDOMLS2003$(PM_SUFFIX) |
|
|
$(TOUCH) $@ |
|
|
|
|
126 |
$(XP_DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)): xp$(DAC_SUFFIX) $(DAC2PM_PL) |
$(XP_DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)): xp$(DAC_SUFFIX) $(DAC2PM_PL) |
127 |
$(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \ |
$(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \ |
128 |
--output-file-path="$@" |
--output-file-path="$@" |
132 |
$(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@ |
$(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@ |
133 |
$(PERL_CHK) $@ |
$(PERL_CHK) $@ |
134 |
|
|
|
.html$(PM_SUFFIX): html$(DAC_SUFFIX) $(DAC2PM_PL) |
|
|
$(DAC2PM) $< \ |
|
|
--create-perl-module="$(NS_MDOM)DOMHTML DOMHTML$(PM_SUFFIX)" \ |
|
|
--create-perl-module="$(NS_MDOM)DOMWebForms DOMWebForms$(PM_SUFFIX)" |
|
|
$(PERL_CHK) DOMHTML$(PM_SUFFIX) |
|
|
$(PERL_CHK) DOMWebForms$(PM_SUFFIX) |
|
|
$(TOUCH) $@ |
|
|
|
|
135 |
feature-spec$(DAC_SUFFIX): feature$(DAC_SUFFIX) DOMFeature.dis $(DAC_PL) |
feature-spec$(DAC_SUFFIX): feature$(DAC_SUFFIX) DOMFeature.dis $(DAC_PL) |
136 |
$(DAC)$@ --input-db-file-name="$<" DOMFeature.dis \ |
$(DAC)$@ --input-db-file-name="$<" DOMFeature.dis \ |
137 |
--for="$(NS_MANAKAIDOM)ForSpecLatest" |
--for="$(NS_MANAKAIDOM)ForSpecLatest" |
145 |
clean: |
clean: |
146 |
$(RM) $(GENERATED_FILES) |
$(RM) $(GENERATED_FILES) |
147 |
$(RM) .*.tmp *~ .*~ *.BAK .*.BAK |
$(RM) .*.tmp *~ .*~ *.BAK .*.BAK |
148 |
$(RM) .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) |
$(RM) .core$(PM_SUFFIX) |
149 |
|
|
150 |
## $Date$ |
## $Date$ |
151 |
## License: Public Domain. |
## License: Public Domain. |