/[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.7 - (hide annotations) (download)
Sun Dec 26 09:24:37 2004 UTC (19 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.6: +41 -12 lines
Daily (or weekly?)

1 wakaba 1.1 LS = ls
2     MAKE = make
3 wakaba 1.3 RM = rm
4 wakaba 1.1 SED = sed
5     XARGS = xargs
6    
7 wakaba 1.7 MANAKAI_ROOT_DIR = ../../../
8     MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
9     MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
10     MANAKAI_LIB_MANAKAI_DIR = $(MANAKAI_LIB_DIR)manakai/
11    
12     PERL = perl -I$(MANAKAI_LIB_DIR)
13 wakaba 1.3 PERL_CHK = $(PERL) -c -w
14 wakaba 1.1
15 wakaba 1.7 DISC_PL = $(MANAKAI_BIN_DIR)disc.pl
16     DISC = $(PERL) $(DISC_PL) -I=$(MANAKAI_LIB_MANAKAI_DIR)
17     CDIS2PM_PL = ../../../bin/cdis2pm.pl
18     CDIS2PM = $(PERL) $(CDIS2PM_PL)
19 wakaba 1.6 DIS2POD_PL = ../../../bin/dis2pm.pl
20     DIS2POD = $(PERL) $(DIS2POD_PL) --output-pod=only
21 wakaba 1.1
22 wakaba 1.2 IDL2DIS_PL = idl2dis.pl
23     IDL2DIS = $(PERL) $(IDL2DIS_PL)
24    
25 wakaba 1.7 DIS_FILES = DOMMain.dis DOMCore.dis DOMXML.dis \
26     ManakaiDOMCore.dis
27    
28     MAIN_CDIS_FILE = mdom.cdis
29     GENERATED_FILES_DOMLATEST = DOMMain.pm DOMCore.pm
30     GENERATED_FILES = $(MAIN_CDIS_FILE) $(GENERATED_FILES_DOMLATEST)
31    
32     NS_MANAKAIDOM = http://suika.fam.cx/~wakaba/archive/2004/8/18/manakai-dom\#
33    
34     all: $(MAIN_CDIS_FILE) dom
35    
36     dom: dom-latest
37     dom-latest: $(MAIN_CDIS_FILE) $(GENERATED_FILES_DOMLATEST) \
38     DOMMain.pm-chk DOMCore.pm-chk
39    
40     $(MAIN_CDIS_FILE): $(DIS_FILES) $(DISC_PL)
41     $(DISC) DOMMain.dis --output-file-name=$@
42    
43     DOMMain.pm: $(MAIN_CDIS_FILE) $(CDIS2PM_PL)
44     $(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMCommon" \
45     --module-name=DOMMain > $@
46     $(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMLatest" \
47     --module-name=DOMMain >> $@
48 wakaba 1.1
49 wakaba 1.7 DOMMain.pm-chk:
50     $(PERL_CHK) DOMMain.pm
51 wakaba 1.1
52 wakaba 1.7 DOMCore.pm: $(MAIN_CDIS_FILE) $(CDIS2PM_PL)
53     $(CDIS2PM) $< --for="$(NS_MANAKAIDOM)ManakaiDOMLatest" \
54     --module-name=DOMCore > $@
55 wakaba 1.6
56 wakaba 1.7 DOMCore.pm-chk:
57     $(PERL_CHK) DOMCore.pm
58 wakaba 1.2
59 wakaba 1.3 clean:
60 wakaba 1.7 $(RM) $(GENERATED_FILES)
61 wakaba 1.2

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24