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

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

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

revision 1.5 by wakaba, Thu Apr 28 15:22:59 2005 UTC revision 1.6 by wakaba, Sun May 1 12:44:05 2005 UTC
# Line 4  MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib Line 4  MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib
4  MANAKAI_LIB_MANAKAI_DIR = $(MANAKAI_LIB_DIR)manakai/  MANAKAI_LIB_MANAKAI_DIR = $(MANAKAI_LIB_DIR)manakai/
5    
6  RM = rm  RM = rm
7  PERL = perl -I$(MANAKAI_LIB_DIR)  PERL = perl
8  PERL_CHK = $(PERL) -c -w  PERL_OPTIONS = -I$(MANAKAI_LIB_DIR)
9    PERL_ = $(PERL) $(PERL_OPTIONS)
10  DISC_PL = $(MANAKAI_BIN_DIR)disc.pl  PERLC = $(PERL) -c -w
11  DISC = $(PERL) $(DISC_PL) \  PERLC_OPTIONS = $(PERL_OPTIONS)
12                  -I=$(MANAKAI_LIB_MANAKAI_DIR) \  PERL_CHK = $(PERLC) $(PERLC_OPTIONS)
                 -I=$(MANAKAI_LIB_DIR)Message/Util/Error/ \  
                 -I=$(MANAKAI_LIB_DIR)Message/Markup/ \  
                 -I=$(MANAKAI_LIB_DIR)Message/DOM/  
 CDIS2PM_OPTIONS = --enable-assert  
                   ## TODO: Official release should remove this option.  
 CDIS2PM_PL = $(MANAKAI_BIN_DIR)cdis2pm.pl  
 CDIS2PM = $(PERL) $(CDIS2PM_PL) $(CDIS2PM_OPTIONS)  
13    
14  NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#  NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
15  NS_DIS        = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#  NS_DIS        = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#
16  NS_UTIL       = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/  NS_UTIL       = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/
17    NS_UTIL_ERR   = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/
18    
19  DAC_PL = $(MANAKAI_BIN_DIR)dac.pl  DAC_PL = $(MANAKAI_BIN_DIR)dac.pl
20  DAC = $(PERL) $(DAC_PL) \  DAC = $(PERL_) $(DAC_PL) \
21        --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \        --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
22        --db-base-directory-path="$(MANAKAI_ROOT_DIR)" \        --db-base-directory-path="$(MANAKAI_ROOT_DIR)" \
23        --output-file-name=        --output-file-name=
# Line 31  DAC = $(PERL) $(DAC_PL) \ Line 25  DAC = $(PERL) $(DAC_PL) \
25  DAC2PM_OPTIONS = --enable-assert  DAC2PM_OPTIONS = --enable-assert
26                    ## TODO: Official release should remove this option.                    ## TODO: Official release should remove this option.
27  DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl  DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl
28  DAC2PM = $(PERL) $(DAC2PM_PL) $(DAC2PM_OPTIONS)  DAC2PM = $(PERL_) $(DAC2PM_PL) $(DAC2PM_OPTIONS)
29    
30  DIS_FILES = ManakaiNode.dis DIS.dis PerlCode.dis  DIS_FILES = ManakaiNode.dis DIS.dis PerlCode.dis Error/DOMException.dis
31  GENERATED_FILES = mnode.cdis ManakaiNode.pm \  
32                    dis.cdis DIS.pm \  GENERATED_FILES = all.dac ManakaiNode.pm DIS.pm PerlCode.pm \
33                    Error/err.cdis Error/DOMException.pm \    Error/DOMException.pm
                   pc.cdis PerlCode.pm \  
                   all.dac ManakaiNode.pm2 DIS.pm2 PerlCode.pm2  
34    
35  all: $(GENERATED_FILES)  all: $(GENERATED_FILES)
36    
37  all.dac: $(DIS_FILES) $(DAC_PL)  all.dac: $(DIS_FILES) $(DAC_PL)
38          $(DAC)$@ DIS.dis          $(DAC)$@ DIS.dis
 ## NOTE: PerlCode and ManakaiNode is referenced by DIS.  
39    
40  ManakaiNode.pm2: all.dac $(DAC2PM_PL)  ManakaiNode.pm: all.dac $(DAC2PM_PL)
41          $(DAC2PM) $< \          $(DAC2PM) $< \
42            --module-uri="$(NS_UTIL)ManakaiNode" > $@            --module-uri="$(NS_UTIL)ManakaiNode" > $@
43          $(PERL_CHK) $@          $(PERL_CHK) $@
44  DIS.pm2: all.dac $(DAC2PM_PL)  
45    DIS.pm: all.dac $(DAC2PM_PL)
46          $(DAC2PM) $< \          $(DAC2PM) $< \
47            --module-uri="$(NS_UTIL)DIS" > $@            --module-uri="$(NS_UTIL)DIS" > $@
48          $(PERL_CHK) $@          $(PERL_CHK) $@
49  PerlCode.pm2: all.dac $(DAC2PM_PL)  
50    PerlCode.pm: all.dac $(DAC2PM_PL)
51          $(DAC2PM) $< \          $(DAC2PM) $< \
52            --module-uri="$(NS_UTIL)PerlCode" > $@            --module-uri="$(NS_UTIL)PerlCode" > $@
53          $(PERL_CHK) $@          $(PERL_CHK) $@
54    
55  mnode.cdis: ManakaiNode.dis $(DISC_PL)  Error/DOMException.pm: all.dac $(DAC2PM_PL)
56          $(DISC) $< --output-file-name=$@          $(DAC2PM) $< \
57              --module-uri="$(NS_UTIL_ERR)DOMException" > $@
 ManakaiNode.pm: mnode.cdis $(CDIS2PM_PL)  
         $(CDIS2PM) $< \  
           --module-name=ManakaiNode > $@  
         $(PERL_CHK) $@  
   
 dis.cdis: DIS.dis mnode.cdis $(DISC_PL)  
         $(DISC) $< --input-cdis-file-name=mnode.cdis --output-file-name=$@  
   
 DIS.pm: dis.cdis $(CDIS2PM_PL)  
         $(CDIS2PM) $< --module-name=DIS > $@  
         $(PERL_CHK) $@  
   
 Error/err.cdis: Error/DOMException.dis $(DISC_PL)  
         $(DISC) $< --output-file-name=$@  
   
 Error/DOMException.pm: Error/err.cdis $(CDIS2PM_PL)  
         $(CDIS2PM) $< \  
           --module-name=DOMException > $@  
         $(PERL_CHK) $@  
   
 pc.cdis: PerlCode.dis $(DISC_PL)  
         $(DISC) $< --output-file-name=$@  
   
 PerlCode.pm: pc.cdis $(CDIS2PM_PL)  
         $(CDIS2PM) $< \  
           --module-name=PerlCode > $@  
58          $(PERL_CHK) $@          $(PERL_CHK) $@
59    
60  clean:  clean:

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24