/[mojave]/libmojave/stdlib/OMakefile
ViewVC logotype

Diff of /libmojave/stdlib/OMakefile

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

revision 9642 by jyh, Thu Jan 19 21:56:00 2006 UTC revision 9643 by nogin, Sat Oct 28 17:47:14 2006 UTC
# Line 1  Line 1 
1  #  #
2    # XXX: 0.9.8 defines Shell.ln-or-cp, but we want to allow 0.9.6.9 too
3    #
4    if $(not $(Shell.object-mem ln-or-cp))
5        Shell. +=
6            ln-or-cp(argv) =
7                src = $(file $(nth 0, $(argv)))
8                dst = $(file $(nth 1, $(argv)))
9                $(symlink $(src), $(dst))
10        export
11    
12    #
13  # Threads are optional  # Threads are optional
14  #  #
15  if $(THREADS_ENABLED)  if $(THREADS_ENABLED)
16      lm_thread_core.ml: lm_thread_core_system.ml      lm_thread_core.ml: lm_thread_core_system.ml
17          $(symlink $<, $@)          ln-or-cp $< $@
18    
19      lm_thread_pool.ml: lm_thread_pool_system.ml      lm_thread_pool.ml: lm_thread_pool_system.ml
20          $(symlink $<, $@)          ln-or-cp $< $@
21  else  else
22      lm_thread_core.ml: lm_thread_core_null.ml      lm_thread_core.ml: lm_thread_core_null.ml
23          $(symlink $<, $@)          ln-or-cp $< $@
24    
25      lm_thread_pool.ml: lm_thread_pool_null.ml      lm_thread_pool.ml: lm_thread_pool_null.ml
26          $(symlink $<, $@)          ln-or-cp $< $@
27    
28  OCamlGeneratedFiles(lm_thread_pool.ml lm_thread_core.ml)  OCamlGeneratedFiles(lm_thread_pool.ml lm_thread_core.ml)
29    

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

  ViewVC Help
Powered by ViewVC 1.1.26