11 |
|
|
12 |
MKDIR = mkdir |
MKDIR = mkdir |
13 |
RM = rm |
RM = rm |
14 |
|
MAKE = make |
15 |
|
CD = cd |
16 |
|
|
17 |
PERL = perl |
PERL = perl |
18 |
PERL1 = $(PERL) -I$(MANAKAI_LIB_DIR) |
PERL1 = $(PERL) -I$(MANAKAI_LIB_DIR) |
37 |
$(DAC_PL) \ |
$(DAC_PL) \ |
38 |
--search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \ |
--search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \ |
39 |
--db-base-directory-path="$(MANAKAI_ROOT_DIR)" \ |
--db-base-directory-path="$(MANAKAI_ROOT_DIR)" \ |
40 |
|
--implementation-registry-package \ |
41 |
|
"Message::DOM::DOMMetaImpl::ManakaiDOMImplementationRegistryCompat" \ |
42 |
--output-file-name= |
--output-file-name= |
43 |
|
|
44 |
DAC2PM_OPTIONS = |
DAC2PM_OPTIONS = |
45 |
DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl |
DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl |
46 |
DAC2PM = $(PERL2) \ |
DAC2PM = $(PERL2) \ |
47 |
-MMessage::Util::Error::DOMException \ |
-MMessage::Util::Error::DOMException \ |
48 |
$(DAC2PM_PL) $(DAC2PM_OPTIONS) |
$(DAC2PM_PL) \ |
49 |
|
--implementation-registry-package \ |
50 |
|
"Message::DOM::DOMMetaImpl::ManakaiDOMImplementationRegistryCompat" \ |
51 |
|
$(DAC2PM_OPTIONS) |
52 |
|
|
53 |
|
PHASE3_PERL_OPTIONS = |
54 |
|
|
55 |
DIS_FILES_FOR_DOMMETAIMPL = \ |
DIS_FILES_FOR_DOMMETAIMPL = \ |
56 |
$(MANAKAI_LIB_DIR)Message/DOM/DOMBoot.dis \ |
$(MANAKAI_LIB_DIR)Message/DOM/DOMBoot.dis \ |
79 |
$(TEMP_LIB_DIR)Message/Util/PerlCode.pm \ |
$(TEMP_LIB_DIR)Message/Util/PerlCode.pm \ |
80 |
$(TEMP_LIB_DIR)Message/Util/DIS.pm |
$(TEMP_LIB_DIR)Message/Util/DIS.pm |
81 |
|
|
82 |
GENERATED_FILES = $(TEMP_LIB_DIR) $(PHASE1_PM_FILES) \ |
PHASE2_PM_FILES = \ |
|
\ |
|
|
$(TEMP_LIB2_DIR) \ |
|
83 |
$(TEMP_LIB2_DIR)Message/Util/ManakaiNode.pm \ |
$(TEMP_LIB2_DIR)Message/Util/ManakaiNode.pm \ |
84 |
$(TEMP_LIB2_DIR)Message/DOM/DOMMetaImpl.pm \ |
$(TEMP_LIB2_DIR)Message/DOM/DOMMetaImpl.pm \ |
85 |
$(TEMP_LIB2_DIR)Message/Markup/SuikaWikiConfig21.pm \ |
$(TEMP_LIB2_DIR)Message/Markup/SuikaWikiConfig21.pm \ |
87 |
$(TEMP_LIB2_DIR)Message/Util/PerlCode.pm \ |
$(TEMP_LIB2_DIR)Message/Util/PerlCode.pm \ |
88 |
$(TEMP_LIB2_DIR)Message/Util/DIS.pm |
$(TEMP_LIB2_DIR)Message/Util/DIS.pm |
89 |
|
|
90 |
all: $(GENERATED_FILES) |
GENERATED_FILES = $(TEMP_LIB_DIR) $(PHASE1_PM_FILES) \ |
91 |
|
\ |
92 |
|
$(TEMP_LIB2_DIR) $(PHASE2_PM_FILES) |
93 |
|
|
94 |
|
all: $(GENERATED_FILES) phase3 |
95 |
|
|
96 |
## Phase 1 - Making Perl modules by old disc and cdis2pm tools |
## Phase 1 - Making Perl modules by old disc and cdis2pm tools |
97 |
|
|
181 |
|
|
182 |
## Phase 3 - Making Perl modules by dac tools generated by dac tools |
## Phase 3 - Making Perl modules by dac tools generated by dac tools |
183 |
|
|
184 |
|
phase3: $(PHASE2_PM_FILES) |
185 |
|
$(CD) $(MANAKAI_LIB_DIR)Message/Util && \ |
186 |
|
$(MAKE) all \ |
187 |
|
PERL_OPTIONS="-I../../$(TEMP_LIB2_DIR) -I../../$(MANAKAI_LIB_DIR) \ |
188 |
|
$(PHASE3_PERL_OPTIONS)" \ |
189 |
|
PERLC_OPTIONS="-I../../$(MANAKAI_LIB_DIR) $(PHASE3_PERL_OPTIONS)" |
190 |
|
|
191 |
|
|
192 |
## Misc. |
## Misc. |
193 |
|
|
194 |
clean: |
clean: |
195 |
$(RM) -frv $(TEMP_LIB_DIR) |
$(RM) -frv $(TEMP_LIB_DIR) |
196 |
$(RM) -fv *~ .*~ *.BAK .*.BAK |
$(RM) -fv *~ .*~ *.BAK .*.BAK |
197 |
|
$(CD) $(MANAKAI_LIB_DIR)Message/Util && $(MAKE) clean |