1999-11-30 06:59:39 -08:00
|
|
|
## Paths are relative to subdirectories
|
|
|
|
## Where you compiled Objective Caml
|
|
|
|
TOPDIR=../../..
|
|
|
|
## Path to the otherlibs subdirectory
|
|
|
|
OTHERS=../..
|
|
|
|
|
2002-04-26 05:16:26 -07:00
|
|
|
LIBNAME=labltk
|
|
|
|
|
1999-11-30 06:59:39 -08:00
|
|
|
include $(TOPDIR)/config/Makefile
|
|
|
|
|
2002-04-26 05:16:26 -07:00
|
|
|
INSTALLDIR=$(LIBDIR)/$(LIBNAME)
|
1999-11-30 06:59:39 -08:00
|
|
|
|
|
|
|
## Tools from the Objective Caml distribution
|
|
|
|
|
|
|
|
CAMLRUN=$(TOPDIR)/boot/ocamlrun
|
2002-04-26 05:16:26 -07:00
|
|
|
CAMLC=$(CAMLRUN) $(TOPDIR)/ocamlc -I $(TOPDIR)/stdlib
|
|
|
|
CAMLCOMP=$(CAMLC) -c -warn-error A
|
|
|
|
CAMLYACC=$(TOPDIR)/boot/ocamlyacc -v
|
|
|
|
CAMLLEX=$(CAMLRUN) $(TOPDIR)/boot/ocamllex
|
|
|
|
CAMLLIBR=$(CAMLC) -a
|
|
|
|
CAMLDEP=$(CAMLRUN) $(TOPDIR)/tools/ocamldep
|
1999-11-30 06:59:39 -08:00
|
|
|
COMPFLAGS=
|
|
|
|
LINKFLAGS=
|
2002-04-26 05:16:26 -07:00
|
|
|
DLLPATH=`if $(SUPPORTS_SHARED_LIBRARIES); then echo -dllpath $(INSTALLDIR); fi`
|
1999-11-30 06:59:39 -08:00
|
|
|
|
2002-01-03 23:41:29 -08:00
|
|
|
CAMLOPT=$(CAMLRUN) $(TOPDIR)/ocamlopt -I $(TOPDIR)/stdlib
|
1999-11-30 06:59:39 -08:00
|
|
|
CAMLOPTLIBR=$(CAMLOPT) -a
|
2001-11-08 02:32:24 -08:00
|
|
|
MKLIB=$(CAMLRUN) $(TOPDIR)/tools/ocamlmklib
|