/[mojave]/metaprl/OMakefile_common
ViewVC logotype

Diff of /metaprl/OMakefile_common

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

revision 9642 by jyh, Sun Aug 13 22:27:12 2006 UTC revision 9643 by nogin, Sat Oct 28 17:47:14 2006 UTC
# Line 3  Line 3 
3  #  #
4  OMakeVersion(0.9.6.9)  OMakeVersion(0.9.6.9)
5    
6    #
7    # XXX: 0.9.8 defines Shell.ln-or-cp, but we want to allow 0.9.6.9 too
8    #
9    if $(not $(Shell.object-mem ln-or-cp))
10        Shell. +=
11            ln-or-cp(argv) =
12                src = $(file $(nth 0, $(argv)))
13                dst = $(file $(nth 1, $(argv)))
14                $(symlink $(src), $(dst))
15        export
16    
17  ########################################################################  ########################################################################
18  # OS-specific config.  # OS-specific config.
19  #  #
# Line 220  Line 231 
231  BinInstall(files) =  BinInstall(files) =
232      foreach(src, $(files))      foreach(src, $(files))
233          $(BIN)/$(src): $(src) $(BIN)          $(BIN)/$(src): $(src) $(BIN)
234              $(symlink $<, $@)              ln-or-cp $< $@
235    
236      $(MPINSTALL): $(addprefix $(BIN)/, $(files))      $(MPINSTALL): $(addprefix $(BIN)/, $(files))
237    
# Line 233  Line 244 
244    
245  LibSubInstallNamed(subdir, dst, src) =  LibSubInstallNamed(subdir, dst, src) =
246      $(LIB)/$(subdir)/$(dst): $(src) $(LIB)/$(subdir) :scanner: $(NOSCANNER)      $(LIB)/$(subdir)/$(dst): $(src) $(LIB)/$(subdir) :scanner: $(NOSCANNER)
247          $(symlink $<, $@)          ln-or-cp $< $@
248    
249      $(MPINSTALL): $(LIB)/$(subdir)/$(dst)      $(MPINSTALL): $(LIB)/$(subdir)/$(dst)
250    
# Line 253  Line 264 
264    
265  ExportSubInstallNamed(subdir, dst, src) =  ExportSubInstallNamed(subdir, dst, src) =
266      $(EXPORT)/$(subdir)/$(dst): $(src) $(EXPORT)/$(subdir) :scanner: $(NOSCANNER)      $(EXPORT)/$(subdir)/$(dst): $(src) $(EXPORT)/$(subdir) :scanner: $(NOSCANNER)
267          $(symlink $<, $@)          ln-or-cp $< $@
268    
269      $(MPINSTALL): $(EXPORT)/$(subdir)/$(dst)      $(MPINSTALL): $(EXPORT)/$(subdir)/$(dst)
270    

Legend:
Removed from v.9642  
changed lines
  Added in v.9643

  ViewVC Help
Powered by ViewVC 1.1.26