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

Diff of /messaging/manakai/lib/Message/DOM/Makefile

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

revision 1.1 by wakaba, Sat Aug 21 05:42:50 2004 UTC revision 1.5 by wakaba, Sun Oct 10 00:01:09 2004 UTC
# Line 1  Line 1 
1  LS = ls  LS = ls
2  MAKE = make  MAKE = make
3    RM = rm
4  SED = sed  SED = sed
5  XARGS = xargs  XARGS = xargs
6    
7  PERL = perl -I../../../../  PERL = perl -I../../
8  PERL_CHK = $(PERL) -c  PERL_CHK = $(PERL) -c -w
9    
10  DIS2PM_PL = dis2pm.pl  DIS2PM_PL = ../../../bin/dis2pm.pl
11  DIS2PM = $(PERL) $(DIS2PM_PL)  DIS2PM = $(PERL) $(DIS2PM_PL)
12    
13    IDL2DIS_PL = idl2dis.pl
14    IDL2DIS = $(PERL) $(IDL2DIS_PL)
15    
16  all: dom-modules  all: dom-modules
17    
18  dom-modules:  dom-modules: ManakaiDOMMain.pm DOMMain.pm DOMCore.pm ManakaiDOMCore.pm
19          $(LS) *.dis | $(SED) s/\.dis/.pm/ | $(XARGS) $(MAKE)          $(LS) *.dis | $(SED) s/\.dis/.pm/ | $(XARGS) $(MAKE)
20    
21  %.pm: %.dis $(DIS2PM_PL)  %.pm: %.dis $(DIS2PM_PL)
22          $(DIS2PM) $< > $@          $(DIS2PM) $< > $@
23          $(PERL_CHK) $@          $(PERL_CHK) $@
24            
25    clean:
26            $(LS) *.dis | $(SED) s/\.dis/.pm/ | $(XARGS) $(RM)
27    

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24