/[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.4 by wakaba, Thu Mar 3 06:26:16 2005 UTC revision 1.5 by wakaba, Thu Apr 28 15:22:59 2005 UTC
# Line 15  DISC = $(PERL) $(DISC_PL) \ Line 15  DISC = $(PERL) $(DISC_PL) \
15                  -I=$(MANAKAI_LIB_DIR)Message/DOM/                  -I=$(MANAKAI_LIB_DIR)Message/DOM/
16  CDIS2PM_OPTIONS = --enable-assert  CDIS2PM_OPTIONS = --enable-assert
17                    ## TODO: Official release should remove this option.                    ## TODO: Official release should remove this option.
18  CDIS2PM_PL = ../../../bin/cdis2pm.pl  CDIS2PM_PL = $(MANAKAI_BIN_DIR)cdis2pm.pl
19  CDIS2PM = $(PERL) $(CDIS2PM_PL) $(CDIS2PM_OPTIONS)  CDIS2PM = $(PERL) $(CDIS2PM_PL) $(CDIS2PM_OPTIONS)
20    
21  DIS_FILES = ManakaiNode.dis  NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
22    NS_DIS        = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#
23    NS_UTIL       = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/
24    
25    DAC_PL = $(MANAKAI_BIN_DIR)dac.pl
26    DAC = $(PERL) $(DAC_PL) \
27          --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
28          --db-base-directory-path="$(MANAKAI_ROOT_DIR)" \
29          --output-file-name=
30    
31    DAC2PM_OPTIONS = --enable-assert
32                      ## TODO: Official release should remove this option.
33    DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl
34    DAC2PM = $(PERL) $(DAC2PM_PL) $(DAC2PM_OPTIONS)
35    
36    DIS_FILES = ManakaiNode.dis DIS.dis PerlCode.dis
37  GENERATED_FILES = mnode.cdis ManakaiNode.pm \  GENERATED_FILES = mnode.cdis ManakaiNode.pm \
38                    dis.cdis DIS.pm \                    dis.cdis DIS.pm \
39                    Error/err.cdis Error/DOMException.pm \                    Error/err.cdis Error/DOMException.pm \
40                    pc.cdis PerlCode.pm                    pc.cdis PerlCode.pm \
41                      all.dac ManakaiNode.pm2 DIS.pm2 PerlCode.pm2
 NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#  
 NS_DIS = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#  
42    
43  all: $(GENERATED_FILES)  all: $(GENERATED_FILES)
44    
45    all.dac: $(DIS_FILES) $(DAC_PL)
46            $(DAC)$@ DIS.dis
47    ## NOTE: PerlCode and ManakaiNode is referenced by DIS.
48    
49    ManakaiNode.pm2: all.dac $(DAC2PM_PL)
50            $(DAC2PM) $< \
51              --module-uri="$(NS_UTIL)ManakaiNode" > $@
52            $(PERL_CHK) $@
53    DIS.pm2: all.dac $(DAC2PM_PL)
54            $(DAC2PM) $< \
55              --module-uri="$(NS_UTIL)DIS" > $@
56            $(PERL_CHK) $@
57    PerlCode.pm2: all.dac $(DAC2PM_PL)
58            $(DAC2PM) $< \
59              --module-uri="$(NS_UTIL)PerlCode" > $@
60            $(PERL_CHK) $@
61    
62  mnode.cdis: ManakaiNode.dis $(DISC_PL)  mnode.cdis: ManakaiNode.dis $(DISC_PL)
63          $(DISC) $< --output-file-name=$@          $(DISC) $< --output-file-name=$@
64    

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24