/[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.25 by wakaba, Fri Sep 30 13:06:15 2005 UTC revision 1.30 by wakaba, Wed Dec 28 03:50:17 2005 UTC
# Line 11  CD = cd Line 11  CD = cd
11  MAKE = make  MAKE = make
12  RM = rm  RM = rm
13  PERL = perl  PERL = perl
14  PERL_OPTIONS3 = -I$(MANAKAI_LIB_DIR)  PERL_OPTIONS =
15  PERL_OPTIONS = $(PERL_OPTIONS3)  PERL_OPTIONS_ALL = $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
16  PERL_ = $(PERL) $(PERL_OPTIONS)  PERL_ = $(PERL) $(PERL_OPTIONS_ALL)
17  PERLC = $(PERL) -c -w  PERLC = $(PERL) -c -w
18  PERLC_OPTIONS3 = $(PERL_OPTIONS)  PERLC_OPTIONS =
19  PERLC_OPTIONS = $(PERLC_OPTIONS3)  PERLC_OPTIONS_ALL = $(PERLC_OPTIONS) -I$(MANAKAI_LIB_DIR)
20  PERL_CHK = $(PERLC) $(PERLC_OPTIONS)  PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL)
21  TOUCH = touch  TOUCH = touch
22    
23  NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.  NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.
# Line 44  UTIL_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)M Line 44  UTIL_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)M
44    
45  DOM_FEATURE_DIS_FILES = DOMFeature$(DIS_SUFFIX)  DOM_FEATURE_DIS_FILES = DOMFeature$(DIS_SUFFIX)
46  DOM_CORE_DIS_FILES = DOMMain.dis DOMCore.dis DOMXML.dis \  DOM_CORE_DIS_FILES = DOMMain.dis DOMCore.dis DOMXML.dis \
47                       DOMLS.dis GenericLS.dis                       DOMLS.dis GenericLS.dis Tree$(DIS_SUFFIX)
48  DOM_LS_DIS_FILES   = SimpleLS.dis  DOM_LS_DIS_FILES   = SimpleLS$(DIS_SUFFIX) ManakaiDOMLS2003$(DIS_SUFFIX)
49    XP_DIS_FILES       = XMLParser$(DIS_SUFFIX)
50  DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis  DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis
51  DIS_FILES = $(DOM_FEATURE_DIS_FILES) $(DOM_CORE_DIS_FILES) \  DIS_FILES = $(DOM_FEATURE_DIS_FILES) $(DOM_CORE_DIS_FILES) \
52    $(DOM_LS_DIS_FILES) $(DOM_HTML_DIS_FILES)    $(DOM_LS_DIS_FILES) $(DOM_HTML_DIS_FILES) $(XP_DIS_FILES)
53    
54  GENERATED_FILES = \  GENERATED_FILES = \
55    feature$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) \    feature$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) \
56    core$(DAC_SUFFIX)  DOMMain$(PM_SUFFIX) \    core$(DAC_SUFFIX)  DOMMain$(PM_SUFFIX) \
57                       DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \                       DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \
58                       GenericLS$(PM_SUFFIX) \                       GenericLS$(PM_SUFFIX) Tree$(PM_SUFFIX) \
59    ls$(DAC_SUFFIX)    SimpleLS$(PM_SUFFIX) \    ls$(DAC_SUFFIX)    SimpleLS$(PM_SUFFIX) ManakaiDOMLS2003$(PM_SUFFIX) \
60      xp$(DAC_SUFFIX)    XMLParser$(PM_SUFFIX) \
61    html$(DAC_SUFFIX)  DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX)    html$(DAC_SUFFIX)  DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX)
62  GENERATED_DAC_FILES = feature$(DAC_SUFFIX) \  GENERATED_DAC_FILES = feature$(DAC_SUFFIX) \
63    core$(DAC_SUFFIX) ls$(DAC_SUFFIX) html$(DAC_SUFFIX)    core$(DAC_SUFFIX) ls$(DAC_SUFFIX) html$(DAC_SUFFIX) xp$(DAC_SUFFIX)
64    
65  all: .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) $(GENERATED_DAC_FILES)  all: .core$(PM_SUFFIX) .ls$(PM_SUFFIX) .html$(PM_SUFFIX) \
66      $(GENERATED_DAC_FILES) \
67      XMLParser$(PM_SUFFIX)
68    
69  feature$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_FEATURE_DIS_FILES) $(DAC_PL)  feature$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_FEATURE_DIS_FILES) $(DAC_PL)
70          $(DAC)$@ --input-db-file-name="$<" DOMFeature.dis          $(DAC)$@ --input-db-file-name="$<" DOMFeature.dis
# Line 71  core$(DAC_SUFFIX): feature$(DAC_SUFFIX) Line 75  core$(DAC_SUFFIX): feature$(DAC_SUFFIX)
75          $(RM) $@.tmp.1          $(RM) $@.tmp.1
76    
77  ls$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_LS_DIS_FILES) $(DAC_PL)  ls$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_LS_DIS_FILES) $(DAC_PL)
78          $(DAC)$@ --input-db-file-name="$<" SimpleLS.dis          $(DAC)$@.tmp.1 --input-db-file-name="$<" SimpleLS.dis
79            $(DAC)$@ --input-db-file-name="$@.tmp.1" ManakaiDOMLS2003.dis
80            $(RM) $@.tmp.1
81    
82    xp$(DAC_SUFFIX): ls$(DAC_SUFFIX) $(XP_DIS_FILES) $(DAC_PL)
83            $(DAC)$@ --input-db-file-name="$<" XMLParser.dis
84    
85  html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL)  html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL)
86          $(DAC)$@ --input-db-file-name="$<" DOMHTML.dis          $(DAC)$@ --input-db-file-name="$<" DOMHTML.dis
87    
88    $(DOM_FEATURE_DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)): \
89      feature$(DAC_SUFFIX) $(DAC2PM_PL)
90            $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
91              --output-file-path="$@"
92            $(PERL_CHK) $@
93    
94  $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)): core$(DAC_SUFFIX) $(DAC2PM_PL)  $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)): core$(DAC_SUFFIX) $(DAC2PM_PL)
95          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
96            --output-file-path="$@"            --output-file-path="$@"
# Line 86  $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)): Line 101  $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)):
101            --create-perl-module="$(NS_MDOM)DOMFeature DOMFeature$(PM_SUFFIX)" \            --create-perl-module="$(NS_MDOM)DOMFeature DOMFeature$(PM_SUFFIX)" \
102            --create-perl-module="$(NS_MDOM)DOMMain    DOMMain$(PM_SUFFIX)" \            --create-perl-module="$(NS_MDOM)DOMMain    DOMMain$(PM_SUFFIX)" \
103            --create-perl-module="$(NS_MDOM)DOMCore    DOMCore$(PM_SUFFIX)" \            --create-perl-module="$(NS_MDOM)DOMCore    DOMCore$(PM_SUFFIX)" \
104              --create-perl-module="$(NS_MDOM)Tree       Tree$(PM_SUFFIX)" \
105            --create-perl-module="$(NS_MDOM)DOMXML     DOMXML$(PM_SUFFIX)" \            --create-perl-module="$(NS_MDOM)DOMXML     DOMXML$(PM_SUFFIX)" \
106            --create-perl-module="$(NS_MDOM)DOMLS      DOMLS$(PM_SUFFIX)" \            --create-perl-module="$(NS_MDOM)DOMLS      DOMLS$(PM_SUFFIX)" \
107            --create-perl-module="$(NS_MDOM)GenericLS  GenericLS$(PM_SUFFIX)"            --create-perl-module="$(NS_MDOM)GenericLS  GenericLS$(PM_SUFFIX)"
108          $(PERL_CHK) DOMFeature$(PM_SUFFIX)          $(PERL_CHK) DOMFeature$(PM_SUFFIX)
109          $(PERL_CHK) DOMMain$(PM_SUFFIX)          $(PERL_CHK) DOMMain$(PM_SUFFIX)
110          $(PERL_CHK) DOMCore$(PM_SUFFIX)          $(PERL_CHK) DOMCore$(PM_SUFFIX)
111            $(PERL_CHK) Tree$(PM_SUFFIX)
112          $(PERL_CHK) DOMXML$(PM_SUFFIX)          $(PERL_CHK) DOMXML$(PM_SUFFIX)
113          $(PERL_CHK) DOMLS$(PM_SUFFIX)          $(PERL_CHK) DOMLS$(PM_SUFFIX)
114          $(PERL_CHK) GenericLS$(PM_SUFFIX)          $(PERL_CHK) GenericLS$(PM_SUFFIX)
115          $(TOUCH) $@          $(TOUCH) $@
116    
117  $(DOM_LS_DIS_FILES:.dis=$(PM_SUFFIX)): ls$(DAC_SUFFIX) $(DAC2PM_PL)  $(DOM_LS_DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)): ls$(DAC_SUFFIX) $(DAC2PM_PL)
118          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
119            --output-file-path="$@"            --output-file-path="$@"
120          $(PERL_CHK) $@          $(PERL_CHK) $@
121    
122  .ls$(PM_SUFFIX): ls$(DAC_SUFFIX) $(DAC2PM_PL)  .ls$(PM_SUFFIX): ls$(DAC_SUFFIX) $(DAC2PM_PL)
123          $(DAC2PM) $< \          $(DAC2PM) $< \
124            --create-perl-module="$(NS_MDOM)SimpleLS SimpleLS$(PM_SUFFIX)"            --create-perl-module="$(NS_MDOM)SimpleLS SimpleLS$(PM_SUFFIX)" \
125              --create-perl-module="$(NS_MDOM)ManakaiDOMLS2003 ManakaiDOMLS2003$(PM_SUFFIX)"
126          $(PERL_CHK) SimpleLS$(PM_SUFFIX)          $(PERL_CHK) SimpleLS$(PM_SUFFIX)
127            $(PERL_CHK) ManakaiDOMLS2003$(PM_SUFFIX)
128          $(TOUCH) $@          $(TOUCH) $@
129    
130    $(XP_DIS_FILES:$(DIS_SUFFIX)=$(PM_SUFFIX)): xp$(DAC_SUFFIX) $(DAC2PM_PL)
131            $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
132              --output-file-path="$@"
133            $(PERL_CHK) $@
134    
135  $(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL)  $(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL)
136          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@
137          $(PERL_CHK) $@          $(PERL_CHK) $@

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.30

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24