13 |
PERL_CHK = $(PERL) -c -w |
PERL_CHK = $(PERL) -c -w |
14 |
|
|
15 |
DISC_PL = $(MANAKAI_BIN_DIR)disc.pl |
DISC_PL = $(MANAKAI_BIN_DIR)disc.pl |
16 |
DISC = $(PERL) $(DISC_PL) -I=$(MANAKAI_LIB_MANAKAI_DIR) |
DISC = $(PERL) $(DISC_PL) -I=$(MANAKAI_LIB_MANAKAI_DIR) \ |
17 |
|
-I=$(MANAKAI_LIB_DIR)Message/Util/ \ |
18 |
|
-I=$(MANAKAI_LIB_DIR)Message/Util/Error/ |
19 |
CDIS2PM_OPTIONS = --enable-assert |
CDIS2PM_OPTIONS = --enable-assert |
20 |
## TODO: Official release should remove this option. |
## TODO: Official release should remove this option. |
21 |
CDIS2PM_PL = ../../../bin/cdis2pm.pl |
CDIS2PM_PL = ../../../bin/cdis2pm.pl |
29 |
DIS_FILES = DOMMain.dis DOMCore.dis DOMXML.dis \ |
DIS_FILES = DOMMain.dis DOMCore.dis DOMXML.dis \ |
30 |
DOMLS.dis ManakaiDOMLS2003.dis \ |
DOMLS.dis ManakaiDOMLS2003.dis \ |
31 |
DOMEvents.dis DOMViews.dis \ |
DOMEvents.dis DOMViews.dis \ |
32 |
DOMHTML.dis DOMWebForms.dis |
DOMHTML.dis DOMWebForms.dis \ |
33 |
|
DOMMetaImpl.dis |
34 |
|
|
35 |
GENERATED_FILES_DOMLATEST = core.cdis ev.cdis ls.cdis html.cdis \ |
GENERATED_FILES_DOMLATEST = core.cdis ev.cdis ls.cdis html.cdis \ |
36 |
DOMMain.pm DOMCore.pm DOMXML.pm DOMLS.pm ManakaiDOMLS2003.pm \ |
DOMMain.pm DOMCore.pm DOMXML.pm DOMLS.pm ManakaiDOMLS2003.pm \ |
37 |
DOMEvents.pm DOMViews.pm \ |
DOMEvents.pm DOMViews.pm \ |
38 |
DOMHTML.pm DOMWebForms.pm |
DOMHTML.pm DOMWebForms.pm \ |
39 |
|
meta.cdis DOMMetaImpl.dis |
40 |
GENERATED_FILES = $(MAIN_CDIS_FILE) $(GENERATED_FILES_DOMLATEST) |
GENERATED_FILES = $(MAIN_CDIS_FILE) $(GENERATED_FILES_DOMLATEST) |
41 |
|
|
42 |
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\# |
46 |
dom: dom-latest |
dom: dom-latest |
47 |
dom-latest: $(GENERATED_FILES_DOMLATEST) |
dom-latest: $(GENERATED_FILES_DOMLATEST) |
48 |
|
|
49 |
|
meta.cdis: DOMBoot.dis DOMMetaImpl.dis $(DISC_PL) |
50 |
|
$(DISC) DOMBoot.dis --output-file-name=.$@.1.tmp \ |
51 |
|
--for="$(NS_MANAKAIDOM)ManakaiDOM1" |
52 |
|
$(DISC) DOMMetaImpl.dis --input-cdis-file-name=.$@.1.tmp \ |
53 |
|
--output-file-name=$@ |
54 |
|
$(RM) .$@.1.tmp |
55 |
|
|
56 |
core.cdis: DOMCore.dis DOMMain.dis DOMXML.dis $(DISC_PL) |
core.cdis: DOMCore.dis DOMMain.dis DOMXML.dis $(DISC_PL) |
57 |
$(DISC) DOMCore.dis --output-file-name=$@ |
$(DISC) DOMCore.dis --output-file-name=$@ |
58 |
|
|
77 |
--output-file-name=$@ |
--output-file-name=$@ |
78 |
$(RM) .$@.1.tmp |
$(RM) .$@.1.tmp |
79 |
|
|
80 |
|
DOMMetaImpl.pm: meta.cdis $(CDIS2PM_PL) |
81 |
|
$(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMLatest" \ |
82 |
|
--module-name=DOMMetaImpl > $@ |
83 |
|
$(PERL_CHK) $@ |
84 |
|
|
85 |
DOMMain.pm: core.cdis $(CDIS2PM_PL) |
DOMMain.pm: core.cdis $(CDIS2PM_PL) |
86 |
$(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMCommon" \ |
$(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMCommon" \ |
87 |
--module-name=DOMMain --nooutput-module-version > $@ |
--module-name=DOMMain --nooutput-module-version > $@ |