31 |
CORE_DAC_FILE = $(MANAKAI_LIB_DIR)manakai/all.dac |
CORE_DAC_FILE = $(MANAKAI_LIB_DIR)manakai/all.dac |
32 |
UTIL_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/all.dac |
UTIL_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/all.dac |
33 |
|
|
34 |
DIS_FILES_CORE = DOMMain.dis DOMCore.dis DOMXML.dis |
DIS_FILES_CORE = DOMMain.dis DOMCore.dis DOMXML.dis DOMLS.dis DOMFeature.dis |
35 |
DIS_FILES_HTML = DOMHTML.dis DOMWebForms.dis |
DIS_FILES_HTML = DOMHTML.dis DOMWebForms.dis |
36 |
|
|
37 |
DIS_FILES = DOMMetaImpl.dis $(DIS_FILES_CORE) $(DIS_FILES_HTML) |
DIS_FILES = DOMMetaImpl.dis $(DIS_FILES_CORE) $(DIS_FILES_HTML) |
38 |
|
|
39 |
_DIS_FILES = \ |
_DIS_FILES = \ |
40 |
DOMLS.dis ManakaiDOMLS2003.dis \ |
ManakaiDOMLS2003.dis \ |
41 |
DOMEvents.dis DOMViews.dis |
DOMEvents.dis DOMViews.dis |
42 |
|
|
43 |
GENERATED_FILES_DOMLATEST = core.cdis ev.cdis ls.cdis html.cdis \ |
GENERATED_FILES = core.dac DOMMain.pm DOMCore.pm DOMXML.pm DOMLS.pm \ |
44 |
DOMMain.pm DOMCore.pm DOMXML.pm DOMLS.pm ManakaiDOMLS2003.pm \ |
html.dac DOMHTML.pm DOMWebForms.pm DOMFeature.pm |
|
DOMEvents.pm DOMViews.pm \ |
|
|
DOMHTML.pm DOMWebForms.pm \ |
|
|
meta.cdis DOMMetaImpl.dis |
|
|
|
|
|
GENERATED_FILES = core.dac DOMMain.pm DOMCore.pm DOMXML.pm \ |
|
|
html.dac DOMHTML.pm DOMWebForms.pm |
|
45 |
BOOT_GENERATED_FILES = boot.dac DOMMetaImpl.pm |
BOOT_GENERATED_FILES = boot.dac DOMMetaImpl.pm |
46 |
|
|
47 |
all: $(GENERATED_FILES) |
all: $(GENERATED_FILES) |
49 |
core.dac: $(DIS_FILES_CORE) $(DAC_PL) $(CORE_DAC_FILE) \ |
core.dac: $(DIS_FILES_CORE) $(DAC_PL) $(CORE_DAC_FILE) \ |
50 |
$(MANAKAI_LIB_DIR)Message/Util/ManakaiNode.dis \ |
$(MANAKAI_LIB_DIR)Message/Util/ManakaiNode.dis \ |
51 |
$(MANAKAI_LIB_DIR)Message/Util/Error/DOMException.dis |
$(MANAKAI_LIB_DIR)Message/Util/Error/DOMException.dis |
52 |
$(DAC)$@ --input-db-file-name="$(CORE_DAC_FILE)" DOMXML.dis |
$(CD) $(MANAKAI_LIB_DIR) && $(MAKE) ../lib/Message/DOM/DOMLS.pm |
53 |
|
$(DAC)$@ --input-db-file-name="$(CORE_DAC_FILE)" DOMLS.dis |
54 |
|
|
55 |
html.dac: $(DIS_FILES_HTML) $(DAC_PL) core.dac |
html.dac: $(DIS_FILES_HTML) $(DAC_PL) core.dac |
56 |
$(DAC)$@ --input-db-file-name="core.dac" DOMHTML.dis |
$(DAC)$@ --input-db-file-name="core.dac" DOMHTML.dis |
57 |
|
|
58 |
|
DOMFeature.pm: core.dac $(DAC2PM_PL) |
59 |
|
$(DAC2PM) $< --module-uri="$(NS_MDOM)DOMFeature" --output-file-path="$@" |
60 |
|
$(PERL_CHK) $@ |
61 |
|
|
62 |
DOMMain.pm: core.dac $(DAC2PM_PL) |
DOMMain.pm: core.dac $(DAC2PM_PL) |
63 |
$(DAC2PM) $< --module-uri="$(NS_MDOM)DOMMain" > $@ |
$(DAC2PM) $< --module-uri="$(NS_MDOM)DOMMain" --output-file-path="$@" |
64 |
$(PERL_CHK) $@ |
$(PERL_CHK) $@ |
65 |
|
|
66 |
DOMCore.pm: core.dac $(DAC2PM_PL) |
DOMCore.pm: core.dac $(DAC2PM_PL) |
67 |
$(DAC2PM) $< --module-uri="$(NS_MDOM)DOMCore" > $@ |
$(DAC2PM) $< --module-uri="$(NS_MDOM)DOMCore" --output-file-path="$@" |
68 |
$(PERL_CHK) $@ |
$(PERL_CHK) $@ |
69 |
|
|
70 |
DOMXML.pm: core.dac $(DAC2PM_PL) |
DOMXML.pm: core.dac $(DAC2PM_PL) |
71 |
$(DAC2PM) $< --module-uri="$(NS_MDOM)DOMXML" > $@ |
$(DAC2PM) $< --module-uri="$(NS_MDOM)DOMXML" --output-file-path="$@" |
72 |
|
$(PERL_CHK) $@ |
73 |
|
|
74 |
|
DOMLS.pm: core.dac $(DAC2PM_PL) |
75 |
|
$(CD) $(MANAKAI_LIB_DIR) && $(MAKE) ../lib/Message/DOM/DOMLS.pm |
76 |
|
$(DAC2PM) $< --module-uri="$(NS_MDOM)DOMLS" --output-file-path="$@" |
77 |
$(PERL_CHK) $@ |
$(PERL_CHK) $@ |
78 |
|
|
79 |
DOMHTML.pm: html.dac $(DAC2PM_PL) |
DOMHTML.pm: html.dac $(DAC2PM_PL) |
90 |
$(DAC)$@ --input-db-file-name="$(UTIL_DAC_FILE)" DOMMetaImpl.dis |
$(DAC)$@ --input-db-file-name="$(UTIL_DAC_FILE)" DOMMetaImpl.dis |
91 |
|
|
92 |
DOMMetaImpl.pm: boot.dac $(DAC2PM_PL) |
DOMMetaImpl.pm: boot.dac $(DAC2PM_PL) |
93 |
$(DAC2PM) $< --module-uri="$(NS_MDOM)DOMMetaImpl" \ |
$(DAC2PM) $< --module-uri="$(NS_MDOM)DOMMetaImpl" --output-file-path="$@" |
|
--output-file-path="$@" |
|
94 |
$(PERL_CHK) $@ |
$(PERL_CHK) $@ |
95 |
|
|
96 |
# $(CORE_DAC_FILE) |
# $(CORE_DAC_FILE) |
101 |
$(MANAKAI_LIB_DIR)manakai/DISIDL.dis \ |
$(MANAKAI_LIB_DIR)manakai/DISIDL.dis \ |
102 |
$(MANAKAI_LIB_DIR)manakai/DISPerl.dis \ |
$(MANAKAI_LIB_DIR)manakai/DISPerl.dis \ |
103 |
$(MANAKAI_LIB_DIR)manakai/XML.dis \ |
$(MANAKAI_LIB_DIR)manakai/XML.dis \ |
104 |
$(MANAKAI_LIB_DIR)manakai/DISMarkup.dis |
$(MANAKAI_LIB_DIR)manakai/DISMarkup.dis \ |
105 |
|
$(MANAKAI_LIB_DIR)manakai/NaturalLanguage.dis |
106 |
$(CD) $(MANAKAI_LIB_DIR)manakai/ && \ |
$(CD) $(MANAKAI_LIB_DIR)manakai/ && \ |
107 |
$(MAKE) all.dac |
$(MAKE) all.dac |
108 |
|
|
109 |
# $(UTIL_DAC_FILE) |
# $(UTIL_DAC_FILE) |
110 |
$(MANAKAI_LIB_DIR)Message/Util/all.dac: \ |
$(MANAKAI_LIB_DIR)Message/Util/all.dac: \ |
111 |
DOMMetaImpl.dis DOMBoot.dis |
DOMMetaImpl.dis DOMBoot.dis |
112 |
$(CD) $(MANAKAI_ROOT_DIR)Message/Util/ && \ |
$(CD) $(MANAKAI_LIB_DIR)Message/Util/ && \ |
113 |
$(MAKE) all.dac |
$(MAKE) all.dac |
114 |
|
|
115 |
clean: |
clean: |
116 |
$(RM) $(GENERATED_FILES) $(BOOT_GENERATED_FILES) .*.tmp *~ .*~ |
$(RM) $(GENERATED_FILES) $(BOOT_GENERATED_FILES) .*.tmp *~ .*~ |
|
|
|
|
DOMEvents.pm: ev.cdis $(CDIS2PM_PL) |
|
|
$(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMLatest" \ |
|
|
--module-name=DOMEvents > $@ |
|
|
$(PERL_CHK) $@ |
|
|
|
|
|
DOMViews.pm: ev.cdis $(CDIS2PM_PL) |
|
|
$(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMLatest" \ |
|
|
--module-name=DOMViews > $@ |
|
|
$(PERL_CHK) $@ |
|
|
|
|
|
DOMLS.pm: ls.cdis $(CDIS2PM_PL) |
|
|
$(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMLatest" \ |
|
|
--module-name=DOMLS > $@ |
|
|
$(PERL_CHK) $@ |
|
|
|
|
|
ManakaiDOMLS2003.pm: ls.cdis $(CDIS2PM_PL) |
|
|
$(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMLatest" \ |
|
|
--module-name=ManakaiDOMLS2003 > $@ |
|
|
$(PERL_CHK) $@ |
|