33 |
|
|
34 |
CORE_DAC_FILE = $(MANAKAI_LIB_DIR)manakai/all.dac |
CORE_DAC_FILE = $(MANAKAI_LIB_DIR)manakai/all.dac |
35 |
|
|
36 |
|
DOMLS_DIS_FILE3 = $(MANAKAI_LIB_DIR)Message/DOM/DOMLS.dis |
37 |
|
DOMLS_DIS_FILE = $(DOMLS_DIS_FILE3) |
38 |
|
|
39 |
|
DOMBOOT_DIS_FILE3 = $(DOMLS_DIS_FILE) |
40 |
|
## Dummy |
41 |
|
#$(MANAKAI_LIB_DIR)Message/DOM/DOMBoot.dis |
42 |
|
DOMBOOT_DIS_FILE = $(DOMBOOT_DIS_FILE3) |
43 |
|
|
44 |
DIS_FILES = ManakaiNode.dis DIS.dis PerlCode.dis Error/DOMException.dis |
DIS_FILES = ManakaiNode.dis DIS.dis PerlCode.dis Error/DOMException.dis |
45 |
|
|
46 |
GENERATED_FILES = all.dac ManakaiNode.pm DIS.pm PerlCode.pm \ |
GENERATED_FILES = base.dac all.dac ManakaiNode.pm DIS.pm PerlCode.pm \ |
47 |
Error/DOMException.pm |
Error/DOMException.pm |
48 |
|
|
49 |
all: $(GENERATED_FILES) |
all: $(GENERATED_FILES) |
50 |
|
|
51 |
all.dac: $(DIS_FILES) $(DAC_PL) \ |
all.dac: base.dac $(DIS_FILES) $(DAC_PL) |
52 |
|
$(DAC)$@ --input-db-file-name="$<" DIS.dis |
53 |
|
|
54 |
|
base.dac: $(DAC_PL) \ |
55 |
$(MANAKAI_LIB_DIR)Message/Markup/SuikaWikiConfig21.dis \ |
$(MANAKAI_LIB_DIR)Message/Markup/SuikaWikiConfig21.dis \ |
56 |
$(MANAKAI_LIB_DIR)Message/DOM/DOMMetaImpl.dis \ |
$(MANAKAI_LIB_DIR)Message/DOM/DOMMetaImpl.dis \ |
57 |
$(MANAKAI_LIB_DIR)Message/DOM/DOMBoot.dis $(CORE_DAC_FILE) |
$(DOMBOOT_DIS_FILE) $(CORE_DAC_FILE) \ |
58 |
$(DAC)$@ --input-db-file-name="$(CORE_DAC_FILE)" DIS.dis |
$(DOMLS_DIS_FILE) |
59 |
|
$(DAC)$@.1.tmp --input-db-file-name="$(CORE_DAC_FILE)" \ |
60 |
|
$(DOMBOOT_DIS_FILE) \ |
61 |
|
--for="$(NS_MANAKAIDOM)ManakaiDOMLatest" |
62 |
|
$(DAC)$@.2.tmp --input-db-file-name="$@.1.tmp" $(DOMLS_DIS_FILE) \ |
63 |
|
--for="$(NS_MANAKAIDOM)ManakaiDOMLatest" |
64 |
|
$(DAC)$@ --input-db-file-name="$@.2.tmp" $(DOMLS_DIS_FILE) \ |
65 |
|
--for="$(NS_MANAKAIDOM)ManakaiDOM3" |
66 |
|
$(RM) $@.1.tmp $@.2.tmp |
67 |
|
|
68 |
ManakaiNode.pm: all.dac $(DAC2PM_PL) |
ManakaiNode.pm: all.dac $(DAC2PM_PL) |
69 |
$(DAC2PM) $< \ |
$(DAC2PM) $< \ |
70 |
--module-uri="$(NS_UTIL)ManakaiNode" > $@ |
--module-uri="$(NS_UTIL)ManakaiNode" \ |
71 |
|
--output-file-path="$@" |
72 |
$(PERL_CHK) $@ |
$(PERL_CHK) $@ |
73 |
|
|
74 |
DIS.pm: all.dac $(DAC2PM_PL) |
DIS.pm: all.dac $(DAC2PM_PL) |
75 |
$(DAC2PM) $< \ |
$(DAC2PM) $< \ |
76 |
--module-uri="$(NS_UTIL)DIS" > $@ |
--module-uri="$(NS_UTIL)DIS" \ |
77 |
|
--output-file-path="$@" |
78 |
$(PERL_CHK) $@ |
$(PERL_CHK) $@ |
79 |
|
|
80 |
PerlCode.pm: all.dac $(DAC2PM_PL) |
PerlCode.pm: all.dac $(DAC2PM_PL) |
81 |
$(DAC2PM) $< \ |
$(DAC2PM) $< \ |
82 |
--module-uri="$(NS_UTIL)PerlCode" > $@ |
--module-uri="$(NS_UTIL)PerlCode" \ |
83 |
|
--output-file-path="$@" |
84 |
$(PERL_CHK) $@ |
$(PERL_CHK) $@ |
85 |
|
|
86 |
Error/DOMException.pm: all.dac $(DAC2PM_PL) |
Error/DOMException.pm: all.dac $(DAC2PM_PL) |
87 |
$(DAC2PM) $< \ |
$(DAC2PM) $< \ |
88 |
--module-uri="$(NS_UTIL_ERR)DOMException" > $@ |
--module-uri="$(NS_UTIL_ERR)DOMException" \ |
89 |
|
--output-file-path="$@" |
90 |
$(PERL_CHK) $@ |
$(PERL_CHK) $@ |
91 |
|
|
92 |
# $(CORE_DAC_FILE) |
# $(CORE_DAC_FILE) |