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-17 13:27:48 -08:00
|
|
|
LABLCOMP=$(LABLC) -label -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-17 13:27:48 -08:00
|
|
|
CAMLOPT=$(CAMLRUN) $(TOPDIR)/ocamlopt -I $(TOPDIR)/stdlib -label
|
1999-11-30 06:59:39 -08:00
|
|
|
CAMLOPTLIBR=$(CAMLOPT) -a
|