34 |
|
|
35 |
UTIL_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX) |
UTIL_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX) |
36 |
|
|
37 |
DOM_CORE_DIS_FILES = DOMFeature.dis DOMMain.dis DOMCore.dis DOMXML.dis DOMLS.dis |
DOM_CORE_DIS_FILES = DOMFeature.dis DOMMain.dis DOMCore.dis DOMXML.dis \ |
38 |
|
DOMLS.dis GenericLS.dis |
39 |
|
DOM_LS_DIS_FILES = SimpleLS.dis |
40 |
DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis |
DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis |
41 |
DIS_FILES = $(DOM_CORE_DIS_FILES) $(DOM_HTML_DIS_FILES) |
DIS_FILES = $(DOM_CORE_DIS_FILES) $(DOM_LS_DIS_FILES) $(DOM_HTML_DIS_FILES) |
42 |
|
|
43 |
_DIS_FILES = \ |
_DIS_FILES = \ |
44 |
ManakaiDOMLS2003.dis \ |
ManakaiDOMLS2003.dis \ |
47 |
GENERATED_FILES = \ |
GENERATED_FILES = \ |
48 |
core$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) DOMMain$(PM_SUFFIX) \ |
core$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) DOMMain$(PM_SUFFIX) \ |
49 |
DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \ |
DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \ |
50 |
|
GenericLS$(PM_SUFFIX) \ |
51 |
|
ls$(DAC_SUFFIX) SimpleLS$(PM_SUFFIX) \ |
52 |
html$(DAC_SUFFIX) DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX) |
html$(DAC_SUFFIX) DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX) |
53 |
GENERATED_DAC_FILES = core$(DAC_SUFFIX) html$(DAC_SUFFIX) |
GENERATED_DAC_FILES = core$(DAC_SUFFIX) ls$(DAC_SUFFIX) html$(DAC_SUFFIX) |
54 |
|
|
55 |
all: .core$(PM_SUFFIX) .html$(PM_SUFFIX) $(GENERATED_DAC_FILES) |
all: .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) $(GENERATED_DAC_FILES) |
56 |
|
|
57 |
core$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_CORE_DIS_FILES) $(DAC_PL) |
core$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_CORE_DIS_FILES) $(DAC_PL) |
58 |
$(DAC)$@ --input-db-file-name="$<" DOMLS.dis |
$(DAC)$@.tmp.1 --input-db-file-name="$<" DOMLS.dis |
59 |
|
$(DAC)$@ --input-db-file-name="$@.tmp.1" GenericLS.dis |
60 |
|
$(RM) $@.tmp.1 |
61 |
|
|
62 |
|
ls$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_LS_DIS_FILES) $(DAC_PL) |
63 |
|
$(DAC)$@ --input-db-file-name="$<" SimpleLS.dis |
64 |
|
|
65 |
html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL) |
html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL) |
66 |
$(DAC)$@ --input-db-file-name="$<" DOMHTML.dis |
$(DAC)$@ --input-db-file-name="$<" DOMHTML.dis |
76 |
--create-perl-module="$(NS_MDOM)DOMMain DOMMain$(PM_SUFFIX)" \ |
--create-perl-module="$(NS_MDOM)DOMMain DOMMain$(PM_SUFFIX)" \ |
77 |
--create-perl-module="$(NS_MDOM)DOMCore DOMCore$(PM_SUFFIX)" \ |
--create-perl-module="$(NS_MDOM)DOMCore DOMCore$(PM_SUFFIX)" \ |
78 |
--create-perl-module="$(NS_MDOM)DOMXML DOMXML$(PM_SUFFIX)" \ |
--create-perl-module="$(NS_MDOM)DOMXML DOMXML$(PM_SUFFIX)" \ |
79 |
--create-perl-module="$(NS_MDOM)DOMLS DOMLS$(PM_SUFFIX)" |
--create-perl-module="$(NS_MDOM)DOMLS DOMLS$(PM_SUFFIX)" \ |
80 |
|
--create-perl-module="$(NS_MDOM)GenericLS GenericLS$(PM_SUFFIX)" |
81 |
$(PERL_CHK) DOMFeature$(PM_SUFFIX) |
$(PERL_CHK) DOMFeature$(PM_SUFFIX) |
82 |
$(PERL_CHK) DOMMain$(PM_SUFFIX) |
$(PERL_CHK) DOMMain$(PM_SUFFIX) |
83 |
$(PERL_CHK) DOMCore$(PM_SUFFIX) |
$(PERL_CHK) DOMCore$(PM_SUFFIX) |
84 |
$(PERL_CHK) DOMXML$(PM_SUFFIX) |
$(PERL_CHK) DOMXML$(PM_SUFFIX) |
85 |
$(PERL_CHK) DOMLS$(PM_SUFFIX) |
$(PERL_CHK) DOMLS$(PM_SUFFIX) |
86 |
|
$(PERL_CHK) GenericLS$(PM_SUFFIX) |
87 |
|
$(TOUCH) $@ |
88 |
|
|
89 |
|
$(DOM_LS_DIS_FILES:.dis=$(PM_SUFFIX)): ls$(DAC_SUFFIX) $(DAC2PM_PL) |
90 |
|
$(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \ |
91 |
|
--output-file-path="$@" |
92 |
|
$(PERL_CHK) $@ |
93 |
|
|
94 |
|
.ls$(PM_SUFFIX): ls$(DAC_SUFFIX) $(DAC2PM_PL) |
95 |
|
$(DAC2PM) $< \ |
96 |
|
--create-perl-module="$(NS_MDOM)SimpleLS SimpleLS$(PM_SUFFIX)" |
97 |
|
$(PERL_CHK) SimpleLS$(PM_SUFFIX) |
98 |
$(TOUCH) $@ |
$(TOUCH) $@ |
99 |
|
|
100 |
$(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL) |
$(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL) |
117 |
|
|
118 |
clean: |
clean: |
119 |
$(RM) $(GENERATED_FILES) |
$(RM) $(GENERATED_FILES) |
120 |
$(RM) .*.tmp *~ .*~ *.BAK .*.BAK .core$(PM_SUFFIX) .html$(PM_SUFFIX) |
$(RM) .*.tmp *~ .*~ *.BAK .*.BAK |
121 |
|
$(RM) .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) |
122 |
|
|
123 |
## $Date$ |
## $Date$ |
124 |
## License: Public Domain. |
## License: Public Domain. |