2000-01-31 21:43:25 -08:00
|
|
|
## Paths are relative to subdirectories
|
|
|
|
## Where you compiled Objective Caml
|
|
|
|
TOPDIR=../../..
|
|
|
|
## Where to find OCaml binaries
|
2002-06-07 02:49:45 -07:00
|
|
|
EXEDIR=$(TOPDIR)
|
2000-01-31 21:43:25 -08:00
|
|
|
## Path to the otherlibs subdirectory
|
|
|
|
OTHERS=../..
|
|
|
|
|
2002-06-24 04:59:08 -07:00
|
|
|
LIBNAME=labltk
|
2002-04-26 05:16:26 -07:00
|
|
|
|
2002-06-07 02:49:45 -07:00
|
|
|
include $(TOPDIR)/config/Makefile
|
2000-01-31 21:43:25 -08:00
|
|
|
|
2002-06-07 02:49:45 -07:00
|
|
|
INSTALLDIR=$(LIBDIR)/$(LIBNAME)
|
2000-03-16 05:35:20 -08:00
|
|
|
TKLINKOPT=$(STATIC)
|
2000-01-31 21:43:25 -08:00
|
|
|
|
|
|
|
## Tools from the Objective Caml distribution
|
|
|
|
|
2002-06-07 02:49:45 -07:00
|
|
|
CAMLRUN=$(EXEDIR)/boot/ocamlrun
|
2002-04-26 05:16:26 -07:00
|
|
|
CAMLC=$(CAMLRUN) $(TOPDIR)/ocamlc -I $(TOPDIR)/stdlib
|
2002-07-03 02:45:44 -07:00
|
|
|
CAMLCOMP=$(CAMLC) -c
|
2002-06-07 02:49:45 -07:00
|
|
|
CAMLYACC=$(EXEDIR)/boot/ocamlyacc -v
|
2002-04-26 05:16:26 -07:00
|
|
|
CAMLLEX=$(CAMLRUN) $(TOPDIR)/boot/ocamllex
|
|
|
|
CAMLLIBR=$(CAMLC) -a
|
|
|
|
CAMLDEP=$(CAMLRUN) $(TOPDIR)/tools/ocamldep
|
2000-01-31 21:43:25 -08:00
|
|
|
COMPFLAGS=
|
|
|
|
LINKFLAGS=
|
|
|
|
|
2002-07-03 02:45:44 -07:00
|
|
|
CAMLOPT=$(CAMLRUN) $(TOPDIR)/ocamlopt -I $(TOPDIR)/stdlib
|
2000-01-31 21:43:25 -08:00
|
|
|
CAMLOPTLIBR=$(CAMLOPT) -a
|