/[suikacvs]/messaging/manakai/bin/Makefile
Suika

Diff of /messaging/manakai/bin/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by wakaba, Sun Oct 10 06:10:33 2004 UTC revision 1.4 by wakaba, Thu Oct 6 10:53:34 2005 UTC
# Line 1  Line 1 
   
1  MANAKAI_ROOT_DIR = ../  MANAKAI_ROOT_DIR = ../
2  BIN_DIR = $(MANAKAI_ROOT_DIR)bin/  MANAKAI_BIN_DIR = $(MANAKAI_ROOT_DIR)bin/
3  LIB_DIR = $(MANAKAI_ROOT_DIR)lib/  MANAKAI_LIB_DIR = $(MANAKAI_ROOT_DIR)lib/
   
 DIS_DIR = $(MANAKAI_ROOT_DIR)lib/Message/DOM/  
 DIS_FILES = $(DIS_DIR)DOM*.dis  
4    
 PERL = perl -I$(LIB_DIR)  
 PERLC = $(PERL) -c -w  
5  RM = rm -fv  RM = rm -fv
6    
7  MKDOMMEMLIST_PL = $(BIN_DIR)mkdommemlist.pl  DIS_SUFFIX = .dis
8  MKDOMMEMLIST = $(PERL) $(MKDOMMEMLIST_PL)  DAC_SUFFIX = .dae
9    DAEM_SUFFIX = .daem
10    
11    PERL_OPTIONS =
12    PERL = perl
13    PERL_ = $(PERL) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
14    PERLC = $(PERL) -c -w
15    PERLC_ = $(PERLC) $(PERL_OPTIONS) -I$(MANAKAI_LIB_DIR)
16    
17    DIS_OPTIONS =
18    DIS_OPTIONS_ALL = $(DIS_OPTIONS) \
19      --search-path-catalog-file-name="$(MANAKAI_LIB_DIR)manakai/dis-catalog" \
20      --dis-file-suffix="$(DIS_SUFFIX)" \
21      --daem-file-suffix="$(DAEM_SUFFIX)"
22    
23    MKDOMMEMLIST_OPTIONS =
24    MKDOMMEMLIST_PL = $(MANAKAI_BIN_DIR)mkdommemlist.pl
25    MKDOMMEMLIST = $(PERL_) $(MKDOMMEMLIST_PL) $(MKDOMMEMLIST_OPTIONS) \
26      $(DIS_OPTIONS_ALL)
27    
28  DOMMEMLIST = dommemlist.pl.tmp  DOMMEMLIST = dommemlist.pl.tmp
29  GENERATED_FILES = $(DOMMEMLIST)  GENERATED_FILES = $(DOMMEMLIST)
30    
31    DOM_DAC = $(MANAKAI_LIB_DIR)Message/DOM/core$(DAC_SUFFIX)
32    
33  all: $(GENERATED_FILES)  all: $(GENERATED_FILES)
34    
35  $(DOMMEMLIST): $(DIS_FILES) $(MKDOMMEMLIST_PL)  $(DOMMEMLIST): $(DOM_DAC) $(MKDOMMEMLIST_PL)
36          $(MKDOMMEMLIST) $(DIS_FILES) > $@          $(MKDOMMEMLIST) $< > $@
37          $(PERLC) $@          $(PERLC_) $@
38    
39  clean:  clean:
40          $(RM) $(GENERATED_FILES) *~ .*~ *.BAK .*.BAK          $(RM) $(GENERATED_FILES) *~ .*~ *.BAK .*.BAK

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24