summaryrefslogtreecommitdiff
blob: b1373bd6d7742054da4c3667c8e6b74ad14fbdf3 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#	LablGL and Togl configuration file
#
# Please have a look at the config/Makefile in the Objective Caml distribution,
# or at the labltklink script to get the information needed here
#

##### Adjust these always

# Where to put the lablgl script
BINDIR = /usr/bin

# Where to find X headers
XINCLUDES = -I/usr/X11R6/include
# X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11

# Where to find Tcl/Tk headers
# This must the same version as for LablTk
#TKINCLUDES = -I/usr/local/include
# Tcl/Tk libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
#TKLIBS = -L/usr/local/lib -ltk83 -ltcl83

# Where to find OpenGL/Mesa headers and libraries
GLINCLUDES =
GLLIBS = -lGL -lGLU
# The following libraries may be required (try to add them one at a time)
# GLLIBS = -lGL -lGLU -lXmu -lXext -lpthread

# How to index a library
RANLIB = ranlib
#RANLIB = :

##### Adjust these if non standard

# The Objective Caml library directory
LIBDIR = `ocamlc -where`

# Where is LablTk (standard)
LABLTKDIR = $(LIBDIR)/labltk

# Where to put LablGL (standard)
INSTALLDIR = $(LIBDIR)/lablGL

# Where is Togl (default)
TOGLDIR = Togl

# C Compiler options
COPTS = -c -O

###### No need to change these

# Where to find tcl.h, tk.h, OpenGL/Mesa headers, etc:
INCLUDES = $(TKINCLUDES) $(GLINCLUDES) $(XINCLUDES)

# Libraries to link with:
LIBS = $(TKLIBS) $(GLLIBS) $(XLIBS)

# Leave this empty
LIBDIRS =