3 LIBDIR=@libdir@/@target@-ocaml
4 STUBLIBDIR=$(LIBDIR)/stublibs
7 RANLIB=i686-pc-mingw32-ranlib
8 RANLIBCMD=i686-pc-mingw32-ranlib
19 BYTECC=i686-pc-mingw32-gcc
20 BYTECCCOMPOPTS=-O -mms-bitfields -Wall -Wno-unused
25 SUPPORTS_SHARED_LIBRARIES=true
26 SHAREDCCCOMPOPTS=-fPIC
30 #ml let syslib x = "-l"^x;;
32 ### How to build a static library
33 MKLIB=i686-pc-mingw32-ar rcs $(1) $(2)
34 #ml let mklib out files opts = Printf.sprintf "ar rc %s %s %s; ranlib %s" out opts files out;;
38 NATIVECC=i686-pc-mingw32-gcc
39 NATIVECCCOMPOPTS=-O -mms-bitfields -Wall -Wno-unused
44 ASM=i686-pc-mingw32-as
45 ASPP=i686-pc-mingw32-gcc -c
46 ASPPPROFFLAGS=-DPROFILING
49 OTHERLIBRARIES=@otherlibraries@
50 DEBUGGER=ocamldebugger
52 SYSTHREAD_SUPPORT=true
53 PARTIALLD=i686-pc-mingw32-ld -r
54 PACKLD=$(PARTIALLD) $(NATIVECCLINKOPTS) -o
56 IFLEXDIR=-I@libdir@/flexdll
68 FLEXLINK=flexlink -chain mingw
69 MKEXE=$(FLEXLINK) -exe
71 MKMAINDLL=$(FLEXLINK) -maindll
73 # Build compiler for cross-compilation.
76 BUILD_MKDLL=gcc -shared