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

Diff of /messaging/manakai/lib/Message/DOM/Makefile

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

revision 1.15 by wakaba, Sun May 8 14:18:01 2005 UTC revision 1.48 by wakaba, Sun Jul 29 09:44:24 2007 UTC
# Line 1  Line 1 
1  MANAKAI_ROOT_DIR = ../../../  POD2HTML = pod2html --css "http://suika.fam.cx/www/style/html/pod.css" \
2  MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/    --htmlroot "../../.."
 MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/  
   
 CD = cd  
 MAKE = make  
3  RM = rm  RM = rm
4  PERL = perl  RMALL = $(RM) -fv
5  PERL_OPTIONS3 = -I$(MANAKAI_LIB_DIR)  
6  PERL_OPTIONS = $(PERL_OPTIONS3)  HTML_FILES = DOMImplementation.html
7  PERL_ = $(PERL) $(PERL_OPTIONS)  
8  PERLC = $(PERL) -c -w  all: $(HTML_FILES)
9  PERLC_OPTIONS3 = $(PERL_OPTIONS)  
10  PERLC_OPTIONS = $(PERLC_OPTIONS3)  %.html: %.pod
11  PERL_CHK = $(PERLC) $(PERLC_OPTIONS)          $(POD2HTML) $< > $@
   
 NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.  
 NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#  
   
 DAC_PL = $(MANAKAI_BIN_DIR)dac.pl  
 DAC = $(PERL_) $(DAC_PL) \  
       --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \  
       --db-base-directory-path="$(MANAKAI_ROOT_DIR)" \  
       --output-file-name=  
   
 DAC2PM_OPTIONS3 = --enable-assert  
 DAC2PM_OPTIONS = $(DAC2PM_OPTIONS3)  
 DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl  
 DAC2PM = $(PERL_) $(DAC2PM_PL) $(DAC2PM_OPTIONS)  
   
 CORE_DAC_FILE = $(MANAKAI_LIB_DIR)manakai/all.dac  
 UTIL_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/all.dac  
   
 DIS_FILES_CORE = DOMMain.dis DOMCore.dis DOMXML.dis  
 DIS_FILES_HTML = DOMHTML.dis DOMWebForms.dis  
   
 DIS_FILES = DOMMetaImpl.dis $(DIS_FILES_CORE) $(DIS_FILES_HTML)  
   
 _DIS_FILES = \  
   DOMLS.dis ManakaiDOMLS2003.dis \  
   DOMEvents.dis DOMViews.dis  
   
 GENERATED_FILES_DOMLATEST = core.cdis ev.cdis ls.cdis html.cdis \  
   DOMMain.pm DOMCore.pm DOMXML.pm DOMLS.pm ManakaiDOMLS2003.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  
 BOOT_GENERATED_FILES = boot.dac DOMMetaImpl.pm  
   
 all: $(GENERATED_FILES)  
   
 core.dac: $(DIS_FILES_CORE) $(DAC_PL) $(CORE_DAC_FILE) \  
   $(MANAKAI_LIB_DIR)Message/Util/ManakaiNode.dis \  
   $(MANAKAI_LIB_DIR)Message/Util/Error/DOMException.dis  
         $(DAC)$@ --input-db-file-name="$(CORE_DAC_FILE)" DOMXML.dis  
   
 html.dac: $(DIS_FILES_HTML) $(DAC_PL) core.dac  
         $(DAC)$@ --input-db-file-name="core.dac" DOMHTML.dis  
   
 DOMMain.pm: core.dac $(DAC2PM_PL)  
         $(DAC2PM) $< --module-uri="$(NS_MDOM)DOMMain" > $@  
         $(PERL_CHK) $@  
   
 DOMCore.pm: core.dac $(DAC2PM_PL)  
         $(DAC2PM) $< --module-uri="$(NS_MDOM)DOMCore" > $@  
         $(PERL_CHK) $@  
   
 DOMXML.pm: core.dac $(DAC2PM_PL)  
         $(DAC2PM) $< --module-uri="$(NS_MDOM)DOMXML" > $@  
         $(PERL_CHK) $@  
   
 DOMHTML.pm: html.dac $(DAC2PM_PL)  
         $(DAC2PM) $< --module-uri="$(NS_MDOM)DOMHTML" > $@  
         $(PERL_CHK) $@  
   
 DOMWebForms.pm: html.dac $(DAC2PM_PL)  
         $(DAC2PM) $< --module-uri="$(NS_MDOM)DOMWebForms" > $@  
         $(PERL_CHK) $@  
   
 boot: $(BOOT_GENERATED_FILES)  
   
 boot.dac: DOMMetaImpl.dis DOMBoot.dis $(DAC_PL) $(UTIL_DAC_FILE)  
         $(DAC)$@ --input-db-file-name="$(UTIL_DAC_FILE)" DOMMetaImpl.dis  
   
 DOMMetaImpl.pm: boot.dac $(DAC2PM_PL)  
         $(DAC2PM) $< --module-uri="$(NS_MDOM)DOMMetaImpl" \  
           --output-file-path="$@"  
         $(PERL_CHK) $@  
   
 # $(CORE_DAC_FILE)  
 $(MANAKAI_LIB_DIR)manakai/all.dac: \  
   $(MANAKAI_LIB_DIR)manakai/DISCore.dis \  
   $(MANAKAI_LIB_DIR)manakai/DISRDF.dis \  
   $(MANAKAI_LIB_DIR)manakai/DISLang.dis \  
   $(MANAKAI_LIB_DIR)manakai/DISIDL.dis \  
   $(MANAKAI_LIB_DIR)manakai/DISPerl.dis \  
   $(MANAKAI_LIB_DIR)manakai/XML.dis \  
   $(MANAKAI_LIB_DIR)manakai/DISMarkup.dis  
         $(CD) $(MANAKAI_LIB_DIR)manakai/ && \  
           $(MAKE) all.dac  
   
 # $(UTIL_DAC_FILE)  
 $(MANAKAI_LIB_DIR)Message/Util/all.dac: \  
   DOMMetaImpl.dis DOMBoot.dis  
         $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && \  
           $(MAKE) all.dac  
12    
13  clean:  clean:
14          $(RM) $(GENERATED_FILES) $(BOOT_GENERATED_FILES) .*.tmp *~ .*~          $(RMALL) *.tmp .*.tmp *~ .*~ *.BAK .*.BAK
15    
16    distclean: clean
17            $(RMALL) $(HTML_FILES)
18    
19  DOMEvents.pm: ev.cdis $(CDIS2PM_PL)  ## $Date$
20          $(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMLatest" \  ## License: Public Domain.
           --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) $@  

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.48

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24