2 # $Id: otherlibs-targets.sh 9281 2009-05-26 12:50:41Z ertai $
5 OTHERLIBS_UNIX_NATIVE=""
6 UNIXDIR="otherlibs/unix"
9 for native_file in $@; do
10 OTHERLIBS_NATIVE="$OTHERLIBS_NATIVE otherlibs/$lib/$native_file"
13 OTHERLIBS_UNIX_NATIVE="$OTHERLIBS_UNIX_NATIVE otherlibs/$lib/$native_file";;
19 for byte_file in $@; do
20 OTHERLIBS_BYTE="$OTHERLIBS_BYTE otherlibs/$lib/$byte_file"
30 for bin_file in $@; do
31 add_byte $bin_file.byte$EXE
32 add_native $bin_file.native$EXE
47 add_file "dll$1$EXT_DLL"
56 THREADS_CMIS="thread.cmi mutex.cmi condition.cmi event.cmi threadUnix.cmi"
58 for lib in $OTHERLIBRARIES; do
65 add_file $THREADS_CMIS
66 add_byte libthreads.$A
67 add_native libthreadsnat.$A;;
71 add_byte pervasives.cmi pervasives.mli \
72 $THREADS_CMIS marshal.cmi marshal.mli \
73 stdlib.cma unix.cma threads.cma libvmthreads.$A;;
75 add_file support/camltk.h
76 add_byte support/byte.otarget
77 add_native support/native.otarget
78 add_file support/liblabltk.$A
79 add_byte compiler/tkcompiler$EXE compiler/pp$EXE
80 add_file labltk/tk.ml labltk/labltk.ml
81 add_byte labltk/byte.otarget
82 add_native labltk/native.otarget
83 add_byte camltk/byte.otarget
84 add_native camltk/native.otarget
85 add_ocaml_lib lib/labltk
86 add_byte lib/labltktop$EXE lib/labltk$EXE
87 add_ocaml_lib jpf/jpflib
88 add_ocaml_lib frx/frxlib
89 add_ocaml_lib tkanim/tkanim
90 add_file tkanim/libtkanim.$A
91 add_byte browser/ocamlbrowser$EXE
98 add_native dynlink.cmx dynlink.$O
99 add_file $lib.cmi extract_crc;;
101 UNIXDIR="otherlibs/win32unix"
102 add_file unixsupport.h cst2constr.h socketaddr.h
105 add_file unixsupport.h