updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mingw32-ocaml / Makefile-mingw32.in
blob170dfd0fc9fe715d1ca977ce812e0fac02cb91bc
1 PREFIX=@prefix@
2 BINDIR=@bindir@
3 LIBDIR=@libdir@
4 STUBLIBDIR=$(LIBDIR)/stublibs
5 MANDIR=$(PREFIX)/man
6 MANEXT=1
7 RANLIB=@target@-ranlib
8 RANLIBCMD=@target@-ranlib
9 SHARPBANGSCRIPTS=true
10 BNG_ARCH=i386
11 BNG_ASM_LEVEL=1
12 PTHREAD_LINK=
13 X11_INCLUDES=
14 X11_LINK=
15 DBM_INCLUDES=
16 DBM_LINK=
17 TK_DEFS=
18 TK_LINK=
19 BYTECC=@target@-gcc
20 BYTECCCOMPOPTS=-O -mms-bitfields -Wall -Wno-unused
21 BYTECCLINKOPTS=-L/usr/@target@/lib
22 BYTECCLIBS=
23 BYTECCRPATH=
24 EXE=
25 SUPPORTS_SHARED_LIBRARIES=true
26 SHAREDCCCOMPOPTS=
27 MKSHAREDLIBRPATH=
28 NATDYNLINK=true
29 NATDYNLINKOPTS=
30 SYSLIB=-l$(1)
31 #ml let syslib x = "-l"^x;;
33 ### How to build a static library
34 MKLIB=@target@-ar rcs $(1) $(2)
35 #ml let mklib out files opts = Printf.sprintf "@target@-ar rcs %s %s %s" out opts files;;
36 ARCH=i386
37 MODEL=default
38 SYSTEM=mingw
39 NATIVECC=@target@-gcc
40 NATIVECCCOMPOPTS=-O -mms-bitfields -Wall -Wno-unused
41 NATIVECCPROFOPTS=-pg
42 NATIVECCLINKOPTS=-L/usr/@target@/lib
43 NATIVECCRPATH=
44 NATIVECCLIBS=
45 ASM=@target@-as
46 ASPP=@target@-gcc -c
47 ASPPPROFFLAGS=-DPROFILING
48 PROFILING=prof
49 DYNLINKOPTS=-ldl
50 OTHERLIBRARIES=@otherlibraries@
51 DEBUGGER=ocamldebugger
52 CC_PROFILE=-pg
53 SYSTHREAD_SUPPORT=true
54 PARTIALLD=@target@-ld -r
55 PACKLD=$(PARTIALLD) $(NATIVECCLINKOPTS) -o 
56 DLLCCCOMPOPTS=
57 IFLEXDIR=-I@flexdir@
58 O=o
59 A=a
60 SO=dll
61 EXT_OBJ=.o
62 EXT_ASM=.s
63 EXT_LIB=.a
64 EXT_DLL=.dll
65 EXTRALIBS=
66 CCOMPTYPE=cc
67 TOOLCHAIN=cc
68 CMXS=cmxs
69 FLEXLINK=flexlink -chain mingw
70 MKEXE=$(FLEXLINK) -exe
71 MKDLL=$(FLEXLINK)
72 MKMAINDLL=$(FLEXLINK) -maindll
74 # Build compiler for cross-compilation.
75 BUILD_MKEXE=gcc
76 BUILD_RANLIB=ranlib
77 BUILD_MKDLL=gcc -shared
78 BUILD_CC=gcc
79 BUILD_CCLIBS=-lm
80 BUILD_CFLAGS=