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=../..
|
|
|
|
|
|
|
|
include $(TOPDIR)/config/Makefile
|
|
|
|
|
|
|
|
LABLTKDIR=$(LIBDIR)/labltk
|
2000-03-12 05:11:26 -08:00
|
|
|
TKLINKOPT=$(STATIC) \
|
|
|
|
-ccopt -L../support -ccopt -L$(OTHERS)/str -ccopt -L$(OTHERS)/unix
|
|
|
|
|
1999-11-30 06:59:39 -08:00
|
|
|
|
|
|
|
## Tools from the Objective Caml distribution
|
|
|
|
|
|
|
|
CAMLRUN=$(TOPDIR)/boot/ocamlrun
|
|
|
|
LABLC=$(CAMLRUN) $(TOPDIR)/ocamlc -I $(TOPDIR)/stdlib
|
2000-03-24 11:31:25 -08:00
|
|
|
LABLCOMP=$(LABLC) -labels -c
|
1999-11-30 06:59:39 -08:00
|
|
|
LABLYACC=$(TOPDIR)/boot/ocamlyacc -v
|
|
|
|
LABLLEX=$(CAMLRUN) $(TOPDIR)/boot/ocamllex
|
|
|
|
LABLLIBR=$(LABLC) -a
|
|
|
|
LABLDEP=$(CAMLRUN) $(TOPDIR)/tools/ocamldep
|
|
|
|
COMPFLAGS=
|
|
|
|
LINKFLAGS=
|
|
|
|
|
2000-03-24 11:31:25 -08:00
|
|
|
CAMLOPT=$(CAMLRUN) $(TOPDIR)/ocamlopt -I $(TOPDIR)/stdlib -labels
|
1999-11-30 06:59:39 -08:00
|
|
|
CAMLOPTLIBR=$(CAMLOPT) -a
|