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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Fri Sep 9 04:26:05 2005 UTC (19 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.5: +8 -17 lines
Documentation for exceptions and method inheritance; interfaces added to DIS and PerlCode

1 wakaba 1.1 MANAKAI_ROOT_DIR = ../../../
2     MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3     MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
4    
5 wakaba 1.3 CD = cd
6     MAKE = make
7 wakaba 1.1 RM = rm
8 wakaba 1.3 PERL = perl
9     PERL_OPTIONS3 = -I$(MANAKAI_LIB_DIR)
10     PERL_OPTIONS = $(PERL_OPTIONS3)
11     PERL_ = $(PERL) $(PERL_OPTIONS)
12     PERLC = $(PERL) -c -w
13     PERLC_OPTIONS3 = $(PERL_OPTIONS)
14     PERLC_OPTIONS = $(PERL_OPTIONS3)
15     PERL_CHK = $(PERLC) $(PERLC_OPTIONS)
16    
17     NS_MARKUP = http://suika.fam.cx/~wakaba/archive/2005/manakai/Markup\#
18    
19     DAC_PL = $(MANAKAI_BIN_DIR)dac.pl
20     DAC = $(PERL_) $(DAC_PL) \
21     --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
22     --db-base-directory-path="$(MANAKAI_ROOT_DIR)" \
23     --output-file-name=
24    
25     DAC2PM_OPTIONS3 = --enable-assert
26     DAC2PM_OPTIONS = $(DAC2PM_OPTIONS3)
27     DAC2PM_PL = $(MANAKAI_BIN_DIR)dac2pm.pl
28     DAC2PM = $(PERL_) $(DAC2PM_PL) $(DAC2PM_OPTIONS)
29 wakaba 1.1
30 wakaba 1.6 DOM_CORE_DAC_FILE = $(MANAKAI_LIB_DIR)Message/DOM/core.dac
31 wakaba 1.1
32     DIS_FILES = SuikaWikiConfig21.dis
33    
34 wakaba 1.3 GENERATED_FILES = all.dac SuikaWikiConfig21.pm
35 wakaba 1.1
36     all: $(GENERATED_FILES)
37    
38 wakaba 1.6 all.dac: $(DOM_CORE_DAC_FILE) $(DIS_FILES) $(DAC_PL)
39     $(DAC)$@ --input-db-file-name="$<" SuikaWikiConfig21.dis
40 wakaba 1.1
41 wakaba 1.3 SuikaWikiConfig21.pm: all.dac $(DAC2PM_PL)
42     $(DAC2PM) $< \
43 wakaba 1.4 --module-uri="$(NS_MARKUP)SuikaWikiConfig21" \
44     --output-file-path="$@"
45 wakaba 1.1 $(PERL_CHK) $@
46    
47 wakaba 1.6 # $(DOM_CORE_DAC_FILE)
48     $(MANAKAI_LIB_DIR)Message/DOM/core.dac: dummy
49     $(CD) $(MANAKAI_LIB_DIR)Message/DOM/ && $(MAKE) core.dac
50    
51     dummy:
52 wakaba 1.3
53 wakaba 1.1 clean:
54 wakaba 1.3 $(RM) $(GENERATED_FILES) .*.tmp *~ .*~

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24