summaryrefslogtreecommitdiff
path: root/otherlibs/labltk/support/Makefile.common.nt
blob: d31de99dc5a14ba1d7c4c9212ee66a25f283cacb (plain)
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
## Paths are relative to subdirectories
## Where you compiled Objective Caml
TOPDIR=../../..
## Where to find OCaml binaries
EXEDIR=$(TOPDIR)
## Path to the otherlibs subdirectory
OTHERS=../..

LIBNAME=labltk

include $(TOPDIR)/config/Makefile

INSTALLDIR=$(LIBDIR)/$(LIBNAME)
TKLINKOPT=$(STATIC)

## Tools from the Objective Caml distribution

CAMLRUN=$(EXEDIR)/boot/ocamlrun
CAMLC=$(CAMLRUN) $(TOPDIR)/ocamlc -I $(TOPDIR)/stdlib
CAMLCOMP=$(CAMLC) -c
CAMLYACC=$(EXEDIR)/boot/ocamlyacc -v
CAMLLEX=$(CAMLRUN) $(TOPDIR)/boot/ocamllex
CAMLLIBR=$(CAMLC) -a
CAMLDEP=$(CAMLRUN) $(TOPDIR)/tools/ocamldep
COMPFLAGS=
LINKFLAGS=

CAMLOPT=$(CAMLRUN) $(TOPDIR)/ocamlopt -I $(TOPDIR)/stdlib
CAMLOPTLIBR=$(CAMLOPT) -a