/[suikacvs]/messaging/manakai/lib/Makefile
Suika

Diff of /messaging/manakai/lib/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by wakaba, Thu Apr 28 15:22:59 2005 UTC revision 1.3 by wakaba, Sun May 1 12:44:05 2005 UTC
# Line 11  NS_UTIL_ERR  = http://suika.fam.cx/~waka Line 11  NS_UTIL_ERR  = http://suika.fam.cx/~waka
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)
# Line 35  DAC = $(PERL2) \ Line 37  DAC = $(PERL2) \
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 \
# Line 62  DIS_FILES_FOR_DIS = \ Line 71  DIS_FILES_FOR_DIS = \
71    $(MANAKAI_LIB_DIR)Message/Util/PerlCode.dis    $(MANAKAI_LIB_DIR)Message/Util/PerlCode.dis
72  ## NOTE: DIS.dis must be first  ## NOTE: DIS.dis must be first
73    
74  GENERATED_FILES = $(TEMP_LIB_DIR) \  PHASE1_PM_FILES = \
75    $(TEMP_LIB_DIR)Message/Util/ManakaiNode.pm \    $(TEMP_LIB_DIR)Message/Util/ManakaiNode.pm \
76    $(TEMP_LIB_DIR)Message/DOM/DOMMetaImpl.pm \    $(TEMP_LIB_DIR)Message/DOM/DOMMetaImpl.pm \
77    $(TEMP_LIB_DIR)Message/Markup/SuikaWikiConfig21.pm \    $(TEMP_LIB_DIR)Message/Markup/SuikaWikiConfig21.pm \
78    $(TEMP_LIB_DIR)Message/Util/Error/DOMException.pm \    $(TEMP_LIB_DIR)Message/Util/Error/DOMException.pm \
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    $(TEMP_LIB2_DIR) \  PHASE2_PM_FILES = \
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 \
# Line 78  GENERATED_FILES = $(TEMP_LIB_DIR) \ Line 87  GENERATED_FILES = $(TEMP_LIB_DIR) \
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    
# Line 129  $(TEMP_LIB2_DIR): Line 142  $(TEMP_LIB2_DIR):
142          $(MKDIR) -p $(TEMP_LIB2_DIR)Message/DOM          $(MKDIR) -p $(TEMP_LIB2_DIR)Message/DOM
143          $(MKDIR) -p $(TEMP_LIB2_DIR)Message/Markup          $(MKDIR) -p $(TEMP_LIB2_DIR)Message/Markup
144    
145  $(TEMP_LIB2_DIR)dom.dac: $(DIS_FILES_FOR_DOMMETAIMPL) $(DAC_PL)  $(TEMP_LIB2_DIR)dom.dac: $(DIS_FILES_FOR_DOMMETAIMPL) \
146      $(DAC_PL) $(PHASE1_PM_FILES)
147          $(DAC)$@ $<          $(DAC)$@ $<
148    
149  $(TEMP_LIB2_DIR)dis.dac: $(DIS_FILES_FOR_DIS) $(TEMP_LIB2_DIR)dom.dac $(DAC_PL)  $(TEMP_LIB2_DIR)dis.dac: $(DIS_FILES_FOR_DIS) $(TEMP_LIB2_DIR)dom.dac $(DAC_PL)
# Line 167  $(TEMP_LIB2_DIR)Message/Util/Error/DOMEx Line 181  $(TEMP_LIB2_DIR)Message/Util/Error/DOMEx
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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24