~ubuntu-branches/ubuntu/lucid/lablgtk2/lucid

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
CAMLC=ocamlc.opt
CAMLOPT=ocamlopt.opt
OCAMLDOC=ocamldoc
CAMLMKTOP=ocamlmktop
CAMLMKLIB=ocamlmklib
CAMLLEX=ocamllex
CAMLP4O=camlp4o
XO=
USE_GL=
USE_GNOME=
USE_GLADE=
USE_RSVG=
HAVE_SVGZ= #-DHAVE_SVGZ
USE_GNOMECANVAS=
USE_CC=
DEBUG=
CC=
RANLIB=:
XA=.lib
XB=.bat
XE=.exe
XO=.obj
XS=.dll
TOOLCHAIN=msvc
MKLIB=link -lib -nologo -debugtype:CV -out:
MKDLL=link -nologo -dll "`$(CAMLC) -where`\ocamlrun.lib" "$(GTKLIBPATH)" \
        -out:$(1) -implib:$(1:.dll=.lib)
LIBDIR=`$(CAMLC) -where`
THREADS_LIB=system
HAS_DLL_SUPPORT=yes

# where to install the binaries
BINDIR=$(LIBDIR)\..\bin

# where to install the man page
MANDIR=$(LIBDIR)\..\man

INSTALLDIR=$(LIBDIR)\lablgtk2
DLLDIR=$(LIBDIR)\stublibs

# if using ocaml >= 3.08, add a -D OCAML_308 (for camlp4)
ODOC_DEF=

#GTKROOT=c:/GTK
GTKROOT=c:/Home/garrigue/gtk-2.6.8
GTKCFLAGS=-I$(GTKROOT)/include/glib-2.0 -I$(GTKROOT)/lib/glib-2.0/include -I$(GTKROOT)/include/gtk-2.0/ -I$(GTKROOT)/lib/gtk-2.0/include -I$(GTKROOT)/include/pango-1.0 -I$(GTKROOT)/include/atk-1.0 -I$(GTKROOT)/include 
GTKLIBS=gtk-win32-2.0.lib gdk_pixbuf-2.0.lib gdk-win32-2.0.lib  pango-1.0.lib atk-1.0.lib glib-2.0.lib gobject-2.0.lib #gthread-2.0.lib
GTKLIBPATH=-libpath:$(GTKROOT)/lib