/[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.21 by wakaba, Sat Sep 17 15:03:02 2005 UTC revision 1.22 by wakaba, Thu Sep 22 14:25:47 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  DAC_SUFFIX = .dad
6  PM_SUFFIX = .pm  PM_SUFFIX = .pm
7    
8  CD = cd  CD = cd
# Line 16  PERLC = $(PERL) -c -w Line 16  PERLC = $(PERL) -c -w
16  PERLC_OPTIONS3 = $(PERL_OPTIONS)  PERLC_OPTIONS3 = $(PERL_OPTIONS)
17  PERLC_OPTIONS = $(PERLC_OPTIONS3)  PERLC_OPTIONS = $(PERLC_OPTIONS3)
18  PERL_CHK = $(PERLC) $(PERLC_OPTIONS)  PERL_CHK = $(PERLC) $(PERLC_OPTIONS)
19    TOUCH = touch
20    
21  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.
22  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\#
# Line 45  GENERATED_FILES = \ Line 46  GENERATED_FILES = \
46    core$(DAC_SUFFIX)  DOMFeature$(PM_SUFFIX) DOMMain$(PM_SUFFIX) \    core$(DAC_SUFFIX)  DOMFeature$(PM_SUFFIX) DOMMain$(PM_SUFFIX) \
47                       DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \                       DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \
48    html$(DAC_SUFFIX)  DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX)    html$(DAC_SUFFIX)  DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX)
49    GENERATED_DAC_FILES = core$(DAC_SUFFIX) html$(DAC_SUFFIX)
50    
51  all: $(GENERATED_FILES)  all: .core$(PM_SUFFIX) .html$(PM_SUFFIX) $(GENERATED_DAC_FILES)
52    
53  core$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_CORE_DIS_FILES) $(DAC_PL)  core$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_CORE_DIS_FILES) $(DAC_PL)
54          $(DAC)$@ --input-db-file-name="$<" DOMLS.dis          $(DAC)$@ --input-db-file-name="$<" DOMLS.dis
# Line 59  $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)): Line 61  $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)):
61            --output-file-path="$@"            --output-file-path="$@"
62          $(PERL_CHK) $@          $(PERL_CHK) $@
63    
64    .core$(PM_SUFFIX): core$(DAC_SUFFIX) $(DAC2PM_PL)
65            $(DAC2PM) $< \
66              --create-perl-module="$(NS_MDOM)DOMFeature DOMFeature$(PM_SUFFIX)" \
67              --create-perl-module="$(NS_MDOM)DOMMain    DOMMain$(PM_SUFFIX)" \
68              --create-perl-module="$(NS_MDOM)DOMCore    DOMCore$(PM_SUFFIX)" \
69              --create-perl-module="$(NS_MDOM)DOMXML     DOMXML$(PM_SUFFIX)" \
70              --create-perl-module="$(NS_MDOM)DOMLS      DOMLS$(PM_SUFFIX)"
71            $(PERL_CHK) DOMFeature$(PM_SUFFIX)
72            $(PERL_CHK) DOMMain$(PM_SUFFIX)
73            $(PERL_CHK) DOMCore$(PM_SUFFIX)
74            $(PERL_CHK) DOMXML$(PM_SUFFIX)
75            $(PERL_CHK) DOMLS$(PM_SUFFIX)
76            $(TOUCH) $@
77    
78  $(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL)  $(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL)
79          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@          $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@
80          $(PERL_CHK) $@          $(PERL_CHK) $@
81    
82    .html$(PM_SUFFIX): html$(DAC_SUFFIX) $(DAC2PM_PL)
83            $(DAC2PM) $< \
84              --create-perl-module="$(NS_MDOM)DOMHTML     DOMHTML$(PM_SUFFIX)" \
85              --create-perl-module="$(NS_MDOM)DOMWebForms DOMWebForms$(PM_SUFFIX)"
86            $(PERL_CHK) DOMHTML$(PM_SUFFIX)
87            $(PERL_CHK) DOMWebForms$(PM_SUFFIX)
88            $(TOUCH) $@
89    
90  # $(UTIL_CORE_DAC_FILE)  # $(UTIL_CORE_DAC_FILE)
91  $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX): dummy  $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX): dummy
92          $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) core$(DAC_SUFFIX)          $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) core$(DAC_SUFFIX)
# Line 70  $(MANAKAI_LIB_DIR)Message/Util/core$(DAC Line 94  $(MANAKAI_LIB_DIR)Message/Util/core$(DAC
94  dummy:  dummy:
95    
96  clean:  clean:
97          $(RM) $(GENERATED_FILES) .*.tmp *~ .*~ *.BAK .*.BAK          $(RM) $(GENERATED_FILES)
98            $(RM) .*.tmp *~ .*~ *.BAK .*.BAK .core$(PM_SUFFIX) .html$(PM_SUFFIX)
99    
100    ## $Date$
101    ## License: Public Domain.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24