blob: 2c9893a6d007f76e4922c45bf6978745a3216b97 (
plain) (
blame)
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
|
--- Makefile.config.orig Fri Aug 2 20:48:31 2002
+++ Makefile.config Fri Aug 2 20:52:28 2002
@@ -7,28 +7,28 @@
##### Adjust these always
# Where to put the lablgl script
-BINDIR = /usr/local/bin
+BINDIR = ${PREFIX}/bin
# Where to find X headers
-XINCLUDES = -I/usr/X11R6/include
+XINCLUDES = -I${X11BASE}/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
+TKINCLUDES = -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3
# Tcl/Tk libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0)
-#TKLIBS = -L/usr/local/lib -ltk83 -ltcl83
+TKLIBS = -L${LOCALBASE}/lib -ltk83 -ltcl83
# Where to find OpenGL/Mesa headers and libraries
GLINCLUDES =
-GLLIBS = -lGL -lGLU
+GLLIBS = -L${X11BASE}/lib -R${X11BASE}/lib -lGL -lGLU -lXmu -lXext
# 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 after installing (required on MacOSX)
-RANLIB = :
-#RANLIB = ranlib
+#RANLIB = :
+RANLIB = ranlib
##### Uncomment these for windows
#TKLIBS = tk83.lib tcl83.lib gdi32.lib user32.lib
@@ -55,4 +55,4 @@
#TOGLDIR = Togl
# C Compiler options
-#COPTS = -c -O
+COPTS = -c ${CFLAGS}
|