install et installopt revus
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1784 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
c3c1d0604d
commit
c0cee989bd
|
@ -6,7 +6,7 @@ CAMLOPT=../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../unix
|
|||
BYTECODE_C_OBJS=posix_b.o
|
||||
NATIVECODE_C_OBJS=posix_n.o
|
||||
|
||||
THREAD_OBJS=thread.cmo condition.cmo event.cmo threadUnix.cmo
|
||||
THREAD_OBJS=thread.cmo mutex.cmo condition.cmo event.cmo threadUnix.cmo
|
||||
|
||||
GENFILES=thread.ml
|
||||
|
||||
|
@ -49,9 +49,11 @@ clean: partialclean
|
|||
install:
|
||||
cp libthreads.a $(LIBDIR)/libthreads.a
|
||||
if test -d $(LIBDIR)/threads; then :; else mkdir $(LIBDIR)/threads; fi
|
||||
cp thread.cmi mutex.cmi condition.cmi event.cmi threadUnix.cmi threads.cma stdlib.cma $(LIBDIR)/threads
|
||||
cp $(THREAD_OBJS:.cmo=.cmi) threads.cma $(LIBDIR)/threads
|
||||
|
||||
installopt:
|
||||
cp libthreadsnat.a $(LIBDIR)/libthreadsnat.a
|
||||
cp $(THREAD_OBJS:.cmo=.cmx) threads.cmxa threads.a $(LIBDIR)/threads
|
||||
|
||||
.SUFFIXES: .ml .mli .cmo .cmi .cmx
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ CAMLOPT=..\..\boot\ocamlrun ..\..\ocamlopt -I ..\..\stdlib -I ..\win32unix
|
|||
BYTECODE_C_OBJS=win32_b.obj
|
||||
NATIVECODE_C_OBJS=win32_n.obj
|
||||
|
||||
THREAD_OBJS=thread.cmo condition.cmo event.cmo threadUnix.cmo
|
||||
THREAD_OBJS=thread.cmo mutex.cmo condition.cmo event.cmo threadUnix.cmo
|
||||
|
||||
GENFILES=thread.ml
|
||||
|
||||
|
@ -50,9 +50,11 @@ clean: partialclean
|
|||
install:
|
||||
cp libthreads.lib $(LIBDIR)/libthreads.lib
|
||||
if not exist $(LIBDIR)\threads mkdir $(LIBDIR)\threads
|
||||
cp thread.cmi mutex.cmi condition.cmi event.cmi threadUnix.cmi threads.cma $(LIBDIR)/threads
|
||||
cp $(THREAD_OBJS:.cmo=.cmi) threads.cma $(LIBDIR)/threads
|
||||
|
||||
installopt:
|
||||
cp libthreadsnat.a $(LIBDIR)/libthreadsnat.a
|
||||
cp $(THREAD_OBJS:.cmo=.cmx) threads.cmxa threads.a $(LIBDIR)/threads
|
||||
|
||||
.SUFFIXES: .ml .mli .cmo .cmi .cmx
|
||||
|
||||
|
|
Loading…
Reference in New Issue