Add libglade2 needed for virt-viewer
[fedora-mingw.git] / ocaml / Makefile-fedora-mingw.in
1 PREFIX=@prefix@
2 BINDIR=@bindir@
3 LIBDIR=@libdir@/@target@-ocaml
4 STUBLIBDIR=$(LIBDIR)/stublibs
5 MANDIR=$(PREFIX)/man
6 MANEXT=1
7 RANLIB=i686-pc-mingw32-ranlib
8 RANLIBCMD=i686-pc-mingw32-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=i686-pc-mingw32-gcc
20 BYTECCCOMPOPTS=-O -mms-bitfields -Wall -Wno-unused
21 BYTECCLINKOPTS=
22 BYTECCLIBS=
23 BYTECCRPATH=
24 EXE=
25 SUPPORTS_SHARED_LIBRARIES=true
26 SHAREDCCCOMPOPTS=-fPIC
27 MKSHAREDLIBRPATH=
28 NATDYNLINKOPTS=-Wl,-E
29 SYSLIB=-l$(1)
30 #ml let syslib x = "-l"^x;;
31
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;;
35 ARCH=i386
36 MODEL=default
37 SYSTEM=mingw
38 NATIVECC=i686-pc-mingw32-gcc
39 NATIVECCCOMPOPTS=-O -mms-bitfields -Wall -Wno-unused
40 NATIVECCPROFOPTS=-pg
41 NATIVECCLINKOPTS=
42 NATIVECCRPATH=
43 NATIVECCLIBS=
44 ASM=i686-pc-mingw32-as
45 ASPP=i686-pc-mingw32-gcc -c
46 ASPPPROFFLAGS=-DPROFILING
47 PROFILING=prof
48 DYNLINKOPTS=-ldl
49 OTHERLIBRARIES=@otherlibraries@
50 DEBUGGER=ocamldebugger
51 CC_PROFILE=-pg
52 SYSTHREAD_SUPPORT=true
53 PARTIALLD=i686-pc-mingw32-ld -r
54 PACKLD=$(PARTIALLD) $(NATIVECCLINKOPTS) -o 
55 DLLCCCOMPOPTS=
56 IFLEXDIR=-I@libdir@/flexdll
57 O=o
58 A=a
59 SO=dll
60 EXT_OBJ=.o
61 EXT_ASM=.s
62 EXT_LIB=.a
63 EXT_DLL=.dll
64 EXTRALIBS=
65 CCOMPTYPE=cc
66 TOOLCHAIN=cc
67 CMXS=cmxs
68 FLEXLINK=flexlink -chain mingw
69 MKEXE=$(FLEXLINK) -exe
70 MKDLL=$(FLEXLINK)
71 MKMAINDLL=$(FLEXLINK) -maindll
72
73 # Build compiler for cross-compilation.
74 BUILD_MKEXE=gcc
75 BUILD_RANLIB=ranlib
76 BUILD_MKDLL=gcc -shared
77 BUILD_CC=gcc
78 BUILD_CCLIBS=-lm
79 BUILD_CFLAGS=