/[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.36 - (show annotations) (download)
Sat Mar 18 05:57:48 2006 UTC (18 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.35: +2 -2 lines
++ manakai/t/ChangeLog	18 Mar 2006 05:57:39 -0000
2006-03-18  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (t-XML.t): New test.

++ manakai/bin/ChangeLog	18 Mar 2006 05:54:09 -0000
2006-03-18  Wakaba  <wakaba@suika.fam.cx>

	* daf.pl (daf_get_file_path_stem): The '.' is removed from
	the default search path.

++ manakai/lib/Message/DOM/ChangeLog	18 Mar 2006 05:56:17 -0000
2006-03-18  Wakaba  <wakaba@suika.fam.cx>

	* TreeCore.dis (Require): The |MDOM:XML| module is added.
	(createAttributeNS, createTextNode, createComment,
	createCDATASection): New methods.
	(Attr, Text, Comment, CharacterData): New interfaces.

	* Makefile: |XML.dis| is added.

	* XML.dis: New module.

2006-03-17  Wakaba  <wakaba@suika.fam.cx>

	* TreeCore.dis (manakaiReadOnly): New attribute.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24