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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Feb 19 07:21:14 2005 UTC (19 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.1: +10 -1 lines
lib/Message/Util/Error/DOMException.dis is now compilable; lib/Message/Markup/SuikaWikiConfig21.dis: Parser implemented; Namespace support added

1 MANAKAI_ROOT_DIR = ../../../
2 MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3 MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4 MANAKAI_LIB_MANAKAI_DIR = $(MANAKAI_LIB_DIR)manakai/
5
6 RM = rm
7 PERL = perl -I$(MANAKAI_LIB_DIR)
8 PERL_CHK = $(PERL) -c -w
9
10 DISC_PL = $(MANAKAI_BIN_DIR)disc.pl
11 DISC = $(PERL) $(DISC_PL) \
12 -I=$(MANAKAI_LIB_MANAKAI_DIR) \
13 -I=$(MANAKAI_LIB_DIR)Message/Util/Error/ \
14 -I=$(MANAKAI_LIB_DIR)Message/DOM/
15 CDIS2PM_OPTIONS = --enable-assert
16 ## TODO: Official release should remove this option.
17 CDIS2PM_PL = ../../../bin/cdis2pm.pl
18 CDIS2PM = $(PERL) $(CDIS2PM_PL) $(CDIS2PM_OPTIONS)
19
20 DIS_FILES = ManakaiNode.dis
21 GENERATED_FILES = mnode.cdis ManakaiNode.pm \
22 Error/err.cdis Error/DOMException.pm
23
24 NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
25
26 all: $(GENERATED_FILES)
27
28 mnode.cdis: ManakaiNode.dis $(DISC_PL)
29 $(DISC) $< --output-file-name=$@
30
31 ManakaiNode.pm: mnode.cdis $(CDIS2PM_PL)
32 $(CDIS2PM) $< --for="$(NS_MANAKAIDOM)Perl" \
33 --module-name=ManakaiNode > $@
34 $(PERL_CHK) $@
35
36 Error/err.cdis: Error/DOMException.dis $(DISC_PL)
37 $(DISC) $< --output-file-name=$@
38
39 Error/DOMException.pm: Error/err.cdis $(CDIS2PM_PL)
40 $(CDIS2PM) $< --for="$(NS_MANAKAIDOM)Perl" \
41 --module-name=DOMException > $@
42 $(PERL_CHK) $@
43
44 clean:
45 $(RM) $(GENERATED_FILES) .*.tmp

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24