/[suikacvs]/messaging/manakai/lib/Message/DOM/Makefile
Suika

Contents of /messaging/manakai/lib/Message/DOM/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.22 - (hide annotations) (download)
Thu Sep 22 14:25:47 2005 UTC (19 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.21: +30 -3 lines
++ manakai/lib/Message/ChangeLog	22 Sep 2005 12:48:57 -0000
2005-09-22  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Rules to build subdirectories added.

++ manakai/lib/Message/Markup/ChangeLog	22 Sep 2005 12:52:49 -0000
2005-09-22  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: DAC_SUFFIX changed to ".dad".

++ manakai/lib/Message/Util/ChangeLog	22 Sep 2005 12:52:57 -0000
	* Makefile: DAC_SUFFIX changed to ".dad".

++ manakai/lib/Message/DOM/ChangeLog	22 Sep 2005 12:52:41 -0000
2005-09-22  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: DAC_SUFFIX changed to ".dad".

++ manakai/lib/manakai/ChangeLog	22 Sep 2005 12:53:54 -0000
2005-09-22  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: DAC_SUFFIX changed to ".dad".

++ manakai/lib/ChangeLog	22 Sep 2005 12:48:26 -0000
2005-09-22  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Old "bootstrap" rules all removed.

1 wakaba 1.13 MANAKAI_ROOT_DIR = ../../../
2     MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3     MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4    
5 wakaba 1.22 DAC_SUFFIX = .dad
6 wakaba 1.21 PM_SUFFIX = .pm
7    
8 wakaba 1.13 CD = cd
9 wakaba 1.1 MAKE = make
10 wakaba 1.3 RM = rm
11 wakaba 1.13 PERL = perl
12     PERL_OPTIONS3 = -I$(MANAKAI_LIB_DIR)
13     PERL_OPTIONS = $(PERL_OPTIONS3)
14     PERL_ = $(PERL) $(PERL_OPTIONS)
15     PERLC = $(PERL) -c -w
16     PERLC_OPTIONS3 = $(PERL_OPTIONS)
17     PERLC_OPTIONS = $(PERLC_OPTIONS3)
18     PERL_CHK = $(PERLC) $(PERLC_OPTIONS)
19 wakaba 1.22 TOUCH = touch
20 wakaba 1.1
21 wakaba 1.13 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\#
23 wakaba 1.7
24 wakaba 1.13 DAC_PL = $(MANAKAI_BIN_DIR)dac.pl
25     DAC = $(PERL_) $(DAC_PL) \
26     --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
27     --db-base-directory-path="$(MANAKAI_ROOT_DIR)" \
28     --output-file-name=
29    
30     DAC2PM_OPTIONS3 = --enable-assert
31     DAC2PM_OPTIONS = $(DAC2PM_OPTIONS3)
32     DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl
33     DAC2PM = $(PERL_) $(DAC2PM_PL) $(DAC2PM_OPTIONS)
34 wakaba 1.1
35 wakaba 1.21 UTIL_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX)
36 wakaba 1.1
37 wakaba 1.20 DOM_CORE_DIS_FILES = DOMFeature.dis DOMMain.dis DOMCore.dis DOMXML.dis DOMLS.dis
38     DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis
39     DIS_FILES = $(DOM_CORE_DIS_FILES) $(DOM_HTML_DIS_FILES)
40 wakaba 1.14
41     _DIS_FILES = \
42 wakaba 1.16 ManakaiDOMLS2003.dis \
43 wakaba 1.14 DOMEvents.dis DOMViews.dis
44 wakaba 1.9
45 wakaba 1.20 GENERATED_FILES = \
46 wakaba 1.21 core$(DAC_SUFFIX) DOMFeature$(PM_SUFFIX) DOMMain$(PM_SUFFIX) \
47     DOMCore$(PM_SUFFIX) DOMXML$(PM_SUFFIX) DOMLS$(PM_SUFFIX) \
48     html$(DAC_SUFFIX) DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX)
49 wakaba 1.22 GENERATED_DAC_FILES = core$(DAC_SUFFIX) html$(DAC_SUFFIX)
50 wakaba 1.7
51 wakaba 1.22 all: .core$(PM_SUFFIX) .html$(PM_SUFFIX) $(GENERATED_DAC_FILES)
52 wakaba 1.7
53 wakaba 1.21 core$(DAC_SUFFIX): $(UTIL_CORE_DAC_FILE) $(DOM_CORE_DIS_FILES) $(DAC_PL)
54 wakaba 1.20 $(DAC)$@ --input-db-file-name="$<" DOMLS.dis
55 wakaba 1.14
56 wakaba 1.21 html$(DAC_SUFFIX): core$(DAC_SUFFIX) $(DOM_HTML_DIS_FILES) $(DAC_PL)
57 wakaba 1.20 $(DAC)$@ --input-db-file-name="$<" DOMHTML.dis
58 wakaba 1.19
59 wakaba 1.21 $(DOM_CORE_DIS_FILES:.dis=$(PM_SUFFIX)): core$(DAC_SUFFIX) $(DAC2PM_PL)
60     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" \
61     --output-file-path="$@"
62 wakaba 1.19 $(PERL_CHK) $@
63 wakaba 1.9
64 wakaba 1.22 .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 wakaba 1.21 $(DOM_HTML_DIS_FILES:.dis=$(PM_SUFFIX)): html$(DAC_SUFFIX) $(DAC2PM_PL)
79     $(DAC2PM) $< --module-uri="$(NS_MDOM)$(@:$(PM_SUFFIX)=)" > $@
80 wakaba 1.13 $(PERL_CHK) $@
81 wakaba 1.12
82 wakaba 1.22 .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 wakaba 1.20 # $(UTIL_CORE_DAC_FILE)
91 wakaba 1.21 $(MANAKAI_LIB_DIR)Message/Util/core$(DAC_SUFFIX): dummy
92     $(CD) $(MANAKAI_LIB_DIR)Message/Util/ && $(MAKE) core$(DAC_SUFFIX)
93 wakaba 1.7
94 wakaba 1.20 dummy:
95 wakaba 1.16
96 wakaba 1.20 clean:
97 wakaba 1.22 $(RM) $(GENERATED_FILES)
98     $(RM) .*.tmp *~ .*~ *.BAK .*.BAK .core$(PM_SUFFIX) .html$(PM_SUFFIX)
99 wakaba 1.14
100 wakaba 1.22 ## $Date:$
101     ## License: Public Domain.

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24