/[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.14 by wakaba, Mon Sep 5 05:21:12 2005 UTC revision 1.38 by wakaba, Sun Feb 26 06:42:57 2006 UTC
# Line 3  MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin Line 3  MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin
3  MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/  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    DIS_SUFFIX = .dis
7    DAEM_SUFFIX = .dafm
8    DAFX_SUFFIX = .dafx
9    PM_SUFFIX = .pm
10    
11  CD = cd  CD = cd
12  MAKE = make  MAKE = make
13  RM = rm  RM = rm
14  PERL = perl  PERL = perl
15  PERL_OPTIONS3 = -I$(MANAKAI_LIB_DIR)  PERL_OPTIONS =
16  PERL_OPTIONS = $(PERL_OPTIONS3)  PERL_OPTIONS_ALL = $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
17  PERL_ = $(PERL) $(PERL_OPTIONS)  PERL_ = $(PERL) $(PERL_OPTIONS_ALL)
18  PERLC = $(PERL) -c -w  PERLC = $(PERL) -c -w
19  PERLC_OPTIONS3 = $(PERL_OPTIONS)  PERLC_OPTIONS =
20  PERLC_OPTIONS = $(PERLC_OPTIONS3)  PERLC_OPTIONS_ALL = $(PERLC_OPTIONS) -I$(MANAKAI_LIB_DIR)
21  PERL_CHK = $(PERLC) $(PERLC_OPTIONS)  PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL)
22    TOUCH = touch
23    
24  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\#
25    NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.
26    NS_MARKUP     = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\#
27  NS_DIS        = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#  NS_DIS        = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#
28  NS_UTIL       = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/  NS_UTIL       = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/
29  NS_UTIL_ERR   = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/  NS_UTIL_ERR   = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Error/
30  NS_UTIL_DIS   = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#  NS_UTIL_DIS   = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/DIS\#
31    NS_UTIL_MUF   = http://suika.fam.cx/~wakaba/archive/2005/manakai/Util/Formatter/
32    
33  DAC_PL = $(MANAKAI_BIN_DIR)dac.pl  DIS_OPTIONS =
34  DAC = $(PERL_) $(DAC_PL) \  DIS_OPTIONS_ALL = $(DIS_OPTIONS) \
35        --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \        --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
36        --db-base-directory-path="$(MANAKAI_ROOT_DIR)" \        --dis-file-suffix="$(DIS_SUFFIX)" \
37        --output-file-name=        --daem-file-suffix="$(DAEM_SUFFIX)" \
38          --dafx-file-suffix="$(DAFX_SUFFIX)"
39  DAC2PM_OPTIONS3 = --enable-assert  
40  DAC2PM_OPTIONS = $(DAC2PM_OPTIONS3)  DAF_OPTIONS =
41  DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl  DAF_PL = $(MANAKAI_BIN_DIR)daf.pl
42  DAC2PM = $(PERL_) $(DAC2PM_PL) $(DAC2PM_OPTIONS)  DAF = $(PERL_) $(DAF_PL) $(DAF_OPTIONS) $(DIS_OPTIONS_ALL)
43    
44  CORE_DAC_FILE = $(MANAKAI_LIB_DIR)manakai/all.dac  UTIL_CORE_DIS_FILES    = ManakaiNode.dis Error/DOMException.dis Error/Core.dis \
45      Formatter/Muf2003$(DIS_SUFFIX)
46  DOMLS_DIS_FILE3 = $(MANAKAI_LIB_DIR)Message/DOM/DOMLS.dis  UTIL_TEST_DIS_FILES    = ManakaiNodeTest$(DIS_SUFFIX)
47  DOMLS_DIS_FILE = $(DOMLS_DIS_FILE3)  DIS_CORE_DIS_FILES_    = DIS$(DIS_SUFFIX)
48    DIS_CORE_DIS_FILES_DIS = DIS/Perl.dis DIS/Value.dis DIS/DNLite.dis \
49  DOMBOOT_DIS_FILE3 = $(DOMLS_DIS_FILE)    DIS/DPG$(DIS_SUFFIX)
50                      ## Dummy  DIS_CORE_DIS_FILES     = $(DIS_CORE_DIS_FILES_) $(DIS_CORE_DIS_FILES_DIS)
51                      #$(MANAKAI_LIB_DIR)Message/DOM/DOMBoot.dis  DIS_DOC_DIS_FILES      = DIS/DISDoc.dis
52  DOMBOOT_DIS_FILE = $(DOMBOOT_DIS_FILE3)  DIS_DUMP_DIS_FILES     = DIS/DISDump.dis
53    DIS_TEST_DIS_FILES     = DIS/Test$(DIS_SUFFIX)
54  BOOT_DIS_FILES = ManakaiNode.dis DIS.dis PerlCode.dis Error/DOMException.dis  PC_DIS_FILES           = PerlCode$(DIS_SUFFIX)
55  DIS_FILES = $(BOOT_DIS_FILES) DIS/DISDoc.dis DIS/DISDump.dis  UTIL_DIS_COMMON_DIS_FILE = DIS/common$(DIS_SUFFIX)
56    DIS_FILES = $(UTIL_CORE_DIS_FILES) $(UTIL_TEST_DIS_FILES) \
57  BOOT_GENERATED_FILES = base.dac min.dac ManakaiNode.pm DIS.pm PerlCode.pm \    $(DIS_CORE_DIS_FILES) \
58    Error/DOMException.pm    $(DIS_DOC_DIS_FILES) $(DIS_DUMP_DIS_FILES) $(DIS_TEST_DIS_FILES) \
59  GENERATED_FILES = $(BOOT_GENERATED_FILES) allbase.dac all.dac DIS/DISDoc.pm \    $(PC_DIS_FILES) $(UTIL_DIS_COMMON_DIS_FILE)
60    DIS/DISDump.pm  
61    NS_UTIL_PM_FILES = \
62  all: $(GENERATED_FILES)    ManakaiNode$(PM_SUFFIX) ManakaiNodeTest$(PM_SUFFIX) \
63      PerlCode$(PM_SUFFIX) \
64  boot: $(BOOT_GENERATED_FILES)    DIS$(PM_SUFFIX)
65    NS_UTIL_ERR_PM_FILES = \
66  all.dac: allbase.dac $(DIS_FILES) $(DAC_PL) \    Error/DOMException$(PM_SUFFIX)
67    $(MANAKAI_LIB_DIR)manakai/NaturalLanguage.dis  NS_UTIL_DIS_PM_FILES = \
68          $(DAC)$@ --input-db-file-name="$<" DIS/DISDump.dis    DIS/DNLite$(PM_SUFFIX) DIS/Value$(PM_SUFFIX) \
69      DIS/DPG$(PM_SUFFIX) \
70  allbase.dac: min.dac $(DAC_PL) \    DIS/Perl$(PM_SUFFIX) DIS/DISDoc$(PM_SUFFIX) DIS/DISDump$(PM_SUFFIX) \
71    $(MANAKAI_LIB_DIR)Message/DOM/DOMHTML.dis \    DIS/Test$(PM_SUFFIX)
72    $(MANAKAI_LIB_DIR)Message/DOM/DOMWebForms.dis  
73          $(DAC)$@ --input-db-file-name="$<" \  GENERATED_FILES = \
74            $(MANAKAI_LIB_DIR)Message/DOM/DOMHTML.dis    $(NS_UTIL_PM_FILES) $(NS_UTIL_ERR_PM_FILES) $(NS_UTIL_DIS_PM_FILES)
75    
76  min.dac: base.dac $(BOOT_DIS_FILES) $(DAC_PL)  all: PerlCode$(PM_SUFFIX) .discore$(PM_SUFFIX) $(GENERATED_FILES)
77          $(DAC)$@ --input-db-file-name="$<" DIS.dis  
78    $(NS_UTIL_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL)
79  base.dac: $(DAC_PL) \          $(DAF) --create-perl-module="$(NS_UTIL)$* $@"
80    $(MANAKAI_LIB_DIR)Message/Markup/SuikaWikiConfig21.dis \          $(PERL_CHK) $@
81    $(MANAKAI_LIB_DIR)Message/DOM/DOMMetaImpl.dis \  
82    $(MANAKAI_LIB_DIR)Message/DOM/DOMFeature.dis \  $(NS_UTIL_ERR_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL)
83    $(DOMBOOT_DIS_FILE) $(CORE_DAC_FILE) \          $(DAF) --create-perl-module="$(NS_UTIL_ERR)$(*:Error/%=%) $@"
84    $(DOMLS_DIS_FILE)          $(PERL_CHK) $@
85          $(DAC)$@.1.tmp --input-db-file-name="$(CORE_DAC_FILE)" \  
86            $(DOMBOOT_DIS_FILE) \  $(NS_UTIL_DIS_PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL)
87            --for="$(NS_MANAKAIDOM)ManakaiDOMLatest"          $(DAF) --create-perl-module="$(NS_UTIL_DIS)$(*:DIS/%=%) $@"
88          $(DAC)$@.2.tmp --input-db-file-name="$@.1.tmp" $(DOMLS_DIS_FILE) \          $(PERL_CHK) $@
89            --for="$(NS_MANAKAIDOM)ManakaiDOMLatest"  
90          $(DAC)$@ --input-db-file-name="$@.2.tmp" $(DOMLS_DIS_FILE) \  .discore$(PM_SUFFIX): $(DIS_CORE_DIS_FILES) $(DAF_PL)
91            --for="$(NS_MANAKAIDOM)ManakaiDOM3"          $(DAF) \
92          $(RM) $@.1.tmp $@.2.tmp            --create-perl-module="$(NS_UTIL)DIS        DIS$(PM_SUFFIX)" \
93              --create-perl-module="$(NS_UTIL_DIS)Value  DIS/Value$(PM_SUFFIX)" \
94  ManakaiNode.pm: min.dac $(DAC2PM_PL)            --create-perl-module="$(NS_UTIL_DIS)Perl   DIS/Perl$(PM_SUFFIX)" \
95          $(DAC2PM) $< \            --create-perl-module="$(NS_UTIL_DIS)DPG    DIS/DPG$(PM_SUFFIX)" \
96            --module-uri="$(NS_UTIL)ManakaiNode" \            --create-perl-module="$(NS_UTIL_DIS)DNLite DIS/DNLite$(PM_SUFFIX)"
97            --output-file-path="$@"          $(PERL_CHK) DIS$(PM_SUFFIX)
98          $(PERL_CHK) $@          $(PERL_CHK) DIS/Value$(PM_SUFFIX)
99            $(PERL_CHK) DIS/Perl$(PM_SUFFIX)
100  DIS.pm: min.dac $(DAC2PM_PL)          $(PERL_CHK) DIS/DNLite$(PM_SUFFIX)
101          $(DAC2PM) $< \          $(PERL_CHK) DIS/DPG$(PM_SUFFIX)
102            --module-uri="$(NS_UTIL)DIS" \          $(TOUCH) $@
103            --output-file-path="$@"  
104          $(PERL_CHK) $@  .discore-all$(PM_SUFFIX): $(DIS_CORE_DIS_FILES) $(DAF_PL)
105            $(DAF) \
106  PerlCode.pm: min.dac $(DAC2PM_PL)            --create-perl-module="$(NS_UTIL)ManakaiNode ManakaiNode$(PM_SUFFIX)" \
107          $(DAC2PM) $< \            --create-perl-module="$(NS_UTIL_ERR)DOMException Error/DOMException$(PM_SUFFIX)" \
108            --module-uri="$(NS_UTIL)PerlCode" \            --create-perl-module="$(NS_MARKUP)SuikaWikiConfig21 ../Markup/SuikaWikiConfig21$(PM_SUFFIX)" \
109            --output-file-path="$@"            --create-perl-module="$(NS_UTIL)DIS        DIS$(PM_SUFFIX)" \
110          $(PERL_CHK) $@            --create-perl-module="$(NS_UTIL_DIS)Value  DIS/Value$(PM_SUFFIX)" \
111              --create-perl-module="$(NS_UTIL_DIS)Perl   DIS/Perl$(PM_SUFFIX)" \
112  Error/DOMException.pm: min.dac $(DAC2PM_PL)            --create-perl-module="$(NS_UTIL_DIS)DNLite DIS/DNLite$(PM_SUFFIX)"
113          $(DAC2PM) $< \          $(PERL_CHK) ../Markup/SuikaWikiConfig21$(PM_SUFFIX)
114            --module-uri="$(NS_UTIL_ERR)DOMException" \          $(PERL_CHK) DIS$(PM_SUFFIX)
115            --output-file-path="$@"          $(PERL_CHK) DIS/Value$(PM_SUFFIX)
116          $(PERL_CHK) $@          $(PERL_CHK) DIS/Perl$(PM_SUFFIX)
117            $(PERL_CHK) DIS/DNLite$(PM_SUFFIX)
118  DIS/DISDoc.pm: all.dac $(DAC2PM_PL)          $(DAF) \
119          $(DAC2PM) $< \            --create-perl-module="$(NS_UTIL)PerlCode   PerlCode$(PM_SUFFIX)" \
120            --module-uri="$(NS_UTIL_DIS)DISDoc" \            --create-perl-module="$(NS_UTIL_DIS)DPG    DIS/DPG$(PM_SUFFIX)" \
121            --output-file-path="$@"            --create-perl-module="$(NS_MDOM)DOMFeature ../DOM/DOMFeature$(PM_SUFFIX)" \
122          $(PERL_CHK) $@            --create-perl-module="$(NS_MDOM)GenericLS  ../DOM/GenericLS$(PM_SUFFIX)" \
123              --create-perl-module="$(NS_MDOM)DOMMain    ../DOM/DOMMain$(PM_SUFFIX)" \
124  DIS/DISDump.pm: all.dac $(DAC2PM_PL)            --create-perl-module="$(NS_MDOM)DOMCore    ../DOM/DOMCore$(PM_SUFFIX)" \
125          $(DAC2PM) $< \            --create-perl-module="$(NS_MDOM)Tree       ../DOM/Tree$(PM_SUFFIX)" \
126            --module-uri="$(NS_UTIL_DIS)DISDump" \            --create-perl-module="$(NS_MDOM)DOMXML     ../DOM/DOMXML$(PM_SUFFIX)" \
127            --output-file-path="$@"            --create-perl-module="$(NS_MDOM)XDoctype   ../DOM/XDoctype$(PM_SUFFIX)"
128          $(PERL_CHK) $@          $(PERL_CHK) PerlCode$(PM_SUFFIX)
129            $(PERL_CHK) DIS/DPG$(PM_SUFFIX)
130  # $(CORE_DAC_FILE)          $(PERL_CHK) ../DOM/DOMFeature$(PM_SUFFIX)
131  $(MANAKAI_LIB_DIR)manakai/all.dac: \          $(PERL_CHK) ../DOM/GenericLS$(PM_SUFFIX)
132    $(MANAKAI_LIB_DIR)manakai/DISCore.dis \          $(PERL_CHK) ../DOM/DOMMain$(PM_SUFFIX)
133    $(MANAKAI_LIB_DIR)manakai/DISRDF.dis \          $(PERL_CHK) ../DOM/DOMCore$(PM_SUFFIX)
134    $(MANAKAI_LIB_DIR)manakai/DISLang.dis \          $(PERL_CHK) ../DOM/Tree$(PM_SUFFIX)
135    $(MANAKAI_LIB_DIR)manakai/DISIDL.dis \          $(PERL_CHK) ../DOM/DOMXML$(PM_SUFFIX)
136    $(MANAKAI_LIB_DIR)manakai/DISPerl.dis \          $(PERL_CHK) ../DOM/XDoctype$(PM_SUFFIX)
137    $(MANAKAI_LIB_DIR)manakai/XML.dis          $(TOUCH) $@
138          $(CD) $(MANAKAI_LIB_DIR)manakai/ && \          $(TOUCH) .discore$(PM_SUFFIX)
139            $(MAKE) all.dac          $(TOUCH) ../DOM/.core$(PM_SUFFIX)
140    
141  clean:  clean:
142          $(RM) $(GENERATED_FILES) .*.tmp          $(RM) $(GENERATED_FILES)
143            $(RM) .*.tmp .discore$(PM_SUFFIX) .discore-all$(PM_SUFFIX)
144    
145    ## $Date$
146    ## License: Public Domain.

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.38

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24