/[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.20 by wakaba, Fri Sep 9 04:26:05 2005 UTC revision 1.21 by wakaba, Sat Sep 17 15:03:02 2005 UTC
# Line 2  MANAKAI_ROOT_DIR = ../../../ Line 2  MANAKAI_ROOT_DIR = ../../../
2  MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/  MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3  MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/  MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4    
5    DAC_SUFFIX = .dac
6    PM_SUFFIX = .pm
7    
8  CD = cd  CD = cd
9  MAKE = make  MAKE = make
10  RM = rm  RM = rm
# Line 28  DAC2PM_OPTIONS = $(DAC2PM_OPTIONS3) Line 31  DAC2PM_OPTIONS = $(DAC2PM_OPTIONS3)
31  DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl  DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl
32  DAC2PM = $(PERL_) $(DAC2PM_PL) $(DAC2PM_OPTIONS)  DAC2PM = $(PERL_) $(DAC2PM_PL) $(DAC2PM_OPTIONS)
33    
34  UTIL_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core.dac  UTIL_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX)
35    
36  DOM_CORE_DIS_FILES = DOMFeature.dis DOMMain.dis DOMCore.dis DOMXML.dis DOMLS.dis  DOM_CORE_DIS_FILES = DOMFeature.dis DOMMain.dis DOMCore.dis DOMXML.dis DOMLS.dis
37  DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis  DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis
# Line 39  _DIS_FILES = \ Line 42  _DIS_FILES = \
42    DOMEvents.dis DOMViews.dis    DOMEvents.dis DOMViews.dis
43    
44  GENERATED_FILES = \  GENERATED_FILES = \
45    core.dac DOMFeature.pm DOMMain.pm DOMCore.pm DOMXML.pm DOMLS.pm \    core$(DAC_SUFFIX)  DOMFeature$(PM_SUFFIX) DOMMain$(PM_SUFFIX) \
46    html.dac DOMHTML.pm DOMWebForms.pm                       DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \
47      html$(DAC_SUFFIX)  DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX)
48    
49  all: $(GENERATED_FILES)  all: $(GENERATED_FILES)
50    
51  core.dac: $(UTIL_CORE_DAC_FILE) $(DOM_CORE_DIS_FILES) $(DAC_PL)  core$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_CORE_DIS_FILES) $(DAC_PL)
52          $(DAC)$@ --input-db-file-name="$<" DOMLS.dis          $(DAC)$@ --input-db-file-name="$<" DOMLS.dis
53    
54  html.dac: core.dac $(DOM_HTML_DIS_FILES) $(DAC_PL)  html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL)
55          $(DAC)$@ --input-db-file-name="$<" DOMHTML.dis          $(DAC)$@ --input-db-file-name="$<" DOMHTML.dis
56    
57  $(DOM_CORE_DIS_FILES:.dis=.pm): core.dac $(DAC2PM_PL)  $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)): core$(DAC_SUFFIX) $(DAC2PM_PL)
58          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:.pm=)" --output-file-path="$@"          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
59              --output-file-path="$@"
60          $(PERL_CHK) $@          $(PERL_CHK) $@
61    
62  $(DOM_HTML_DIS_FILES:.dis=.pm): html.dac $(DAC2PM_PL)  $(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL)
63          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:.pm=)" > $@          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@
64          $(PERL_CHK) $@          $(PERL_CHK) $@
65    
66  # $(UTIL_CORE_DAC_FILE)  # $(UTIL_CORE_DAC_FILE)
67  $(MANAKAI_LIB_DIR)Message/Util/core.dac: dummy  $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX): dummy
68          $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) core.dac          $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) core$(DAC_SUFFIX)
69    
70  dummy:  dummy:
71    

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24