/[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.33 - (show annotations) (download)
Sun Feb 26 06:42:56 2006 UTC (18 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.32: +26 -85 lines
++ manakai/t/ChangeLog	26 Feb 2006 06:42:43 -0000
2006-02-26  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Revised for new |daf| database format.

++ manakai/bin/ChangeLog	26 Feb 2006 06:36:16 -0000
	* daf.pl: Perl test file generation support from |dac2test.pl|
	is added.  Exits the program before any generation
	if the database constrution process has error.

2006-02-26  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/Markup/ChangeLog	26 Feb 2006 06:37:11 -0000
2006-02-26  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Revised for new |daf| database format.

++ manakai/lib/Message/Util/ChangeLog	26 Feb 2006 06:40:09 -0000
	* ManakaiNodeTest.dis (Require): Missing reference
	to the |DISlib:Test| module is added.

	* Makefile: Revised for new |daf| database format.

	* DIS.dis (elementTypeMatch, isSubsetOfURI): The |srinfo|
	parameter is added.
	(getFor, getModule): Set reference rather than string
	itself to the |{for}| property.
	(loadResource): Passes |srinfo| parameter
	to |isSubsetOfURI|-calling methods.
	(mergeAsAlias): The |srinfo| parameter is added.

2006-02-26  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/Util/DIS/ChangeLog	26 Feb 2006 06:41:53 -0000
	* Perl.dis (addHashKey): Revised to register keys to
	each key scope resource rather than database.

	* DNLite.dis (elementTypeMatch): The |srinfo| parameter is added.

	* DISDump.dis (Require): Missing reference to the |DISlib:DISMarkup|
	module is added.

2006-02-26  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	26 Feb 2006 06:36:55 -0000
2006-02-26  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Revised for new |daf| database format.

++ manakai/lib/manakai/ChangeLog	26 Feb 2006 06:42:23 -0000
2006-02-26  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Rules to construct old |dae| database are removed.

1 MANAKAI_ROOT_DIR = ../../../
2 MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3 MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4
5 DIS_SUFFIX = .dis
6 DAEM_SUFFIX = .dafm
7 DAFX_SUFFIX = .dafx
8 PM_SUFFIX = .pm
9
10 CD = cd
11 MAKE = make
12 RM = rm
13 PERL = perl
14 PERL_OPTIONS =
15 PERL_OPTIONS_ALL = $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
16 PERL_ = $(PERL) $(PERL_OPTIONS_ALL)
17 PERLC = $(PERL) -c -w
18 PERLC_OPTIONS =
19 PERLC_OPTIONS_ALL = $(PERLC_OPTIONS) -I$(MANAKAI_LIB_DIR)
20 PERL_CHK = $(PERLC) $(PERLC_OPTIONS_ALL)
21 TOUCH = touch
22
23 NS_MDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#ManakaiDOM.
24 NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
25
26 DIS_OPTIONS =
27 DIS_OPTIONS_ALL = $(DIS_OPTIONS) \
28 --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
29 --dis-file-suffix="$(DIS_SUFFIX)" \
30 --daem-file-suffix="$(DAEM_SUFFIX)" \
31 --dafx-file-suffix="$(DAFX_SUFFIX)"
32
33 DAF_OPTIONS =
34 DAF_PL = $(MANAKAI_BIN_DIR)daf.pl
35 DAF = $(PERL_) $(DAF_PL) $(DAF_OPTIONS) $(DIS_OPTIONS_ALL)
36
37 DOM_FEATURE_DIS_FILES = DOMFeature$(DIS_SUFFIX) GenericLS$(DIS_SUFFIX)
38 DOM_CORE_DIS_FILES = DOMMain.dis DOMCore.dis DOMXML.dis \
39 Tree$(DIS_SUFFIX) \
40 XDoctype$(DIS_SUFFIX)
41 DOM_LS_DIS_FILES = SimpleLS$(DIS_SUFFIX) DOMLS$(DIS_SUFFIX) \
42 ManakaiDOMLS2003$(DIS_SUFFIX)
43 XP_DIS_FILES = XMLParser$(DIS_SUFFIX)
44 DOM_HTML_DIS_FILES = DOMHTML.dis DOMWebForms.dis
45 DIS_FILES = $(DOM_FEATURE_DIS_FILES) $(DOM_CORE_DIS_FILES) \
46 $(DOM_LS_DIS_FILES) $(DOM_HTML_DIS_FILES) $(XP_DIS_FILES)
47 DOT_CORE_DIS_FILES = \
48 $(DOM_FEATURE_DIS_FILES) \
49 $(DOM_CORE_DIS_FILES)
50
51 PM_FILES = \
52 DOMFeature$(PM_SUFFIX) GenericLS$(PM_SUFFIX) \
53 DOMMain$(PM_SUFFIX) DOMCore$(PM_SUFFIX) Tree$(PM_SUFFIX) \
54 DOMXML$(PM_SUFFIX) XDoctype$(PM_SUFFIX) \
55 DOMLS$(PM_SUFFIX) XMLParser$(PM_SUFFIX) \
56 SimpleLS$(PM_SUFFIX) ManakaiDOMLS2003$(PM_SUFFIX) \
57 DOMHTML$(PM_SUFFIX) DOMWebForms$(PM_SUFFIX)
58
59 GENERATED_FILES = $(PM_FILES)
60
61 all: .core$(PM_SUFFIX) $(PM_FILES)
62
63 $(PM_FILES): %$(PM_SUFFIX): %$(DIS_SUFFIX) $(DAF_PL)
64 $(DAF) --create-perl-module="$(NS_MDOM)$* $@"
65 $(PERL_CHK) $@
66
67 .core$(PM_SUFFIX): $(DOT_CORE_DIS_FILES) $(DAF_PL)
68 $(DAF) \
69 --create-perl-module="$(NS_MDOM)DOMFeature DOMFeature$(PM_SUFFIX)" \
70 --create-perl-module="$(NS_MDOM)GenericLS GenericLS$(PM_SUFFIX)" \
71 --create-perl-module="$(NS_MDOM)DOMMain DOMMain$(PM_SUFFIX)" \
72 --create-perl-module="$(NS_MDOM)DOMCore DOMCore$(PM_SUFFIX)" \
73 --create-perl-module="$(NS_MDOM)Tree Tree$(PM_SUFFIX)" \
74 --create-perl-module="$(NS_MDOM)DOMXML DOMXML$(PM_SUFFIX)" \
75 --create-perl-module="$(NS_MDOM)XDoctype XDoctype$(PM_SUFFIX)"
76 $(PERL_CHK) DOMFeature$(PM_SUFFIX)
77 $(PERL_CHK) GenericLS$(PM_SUFFIX)
78 $(PERL_CHK) DOMMain$(PM_SUFFIX)
79 $(PERL_CHK) DOMCore$(PM_SUFFIX)
80 $(PERL_CHK) Tree$(PM_SUFFIX)
81 $(PERL_CHK) DOMXML$(PM_SUFFIX)
82 $(PERL_CHK) XDoctype$(PM_SUFFIX)
83 $(TOUCH) $@
84 ## NOTE: When you modify this rule, update |../Util/Makefile|, too.
85
86 clean:
87 $(RM) $(GENERATED_FILES)
88 $(RM) .*.tmp *~ .*~ *.BAK .*.BAK
89 $(RM) .core$(PM_SUFFIX)
90
91 ## $Date: 2006/01/29 13:58:54 $
92 ## License: Public Domain.

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24