/[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.2 by wakaba, Sun Aug 22 07:44:24 2004 UTC revision 1.3 by wakaba, Sun Aug 29 13:34:38 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 = dis2pm.pl
11  DIS2PM = $(PERL) $(DIS2PM_PL)  DIS2PM = $(PERL) $(DIS2PM_PL)
# Line 14  IDL2DIS = $(PERL) $(IDL2DIS_PL) Line 15  IDL2DIS = $(PERL) $(IDL2DIS_PL)
15    
16  all: dom-modules  all: dom-modules
17    
18  dom-modules:  dom-modules: ManakaiDOM.pm DOMMain.pm DOMCore.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.2  
changed lines
  Added in v.1.3

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24