--- Makefile.config.orig Sun Aug 17 09:16:13 2003 +++ Makefile.config Sun Aug 17 09:15:43 2003 @@ -11,28 +11,28 @@ #CAMLOPT = ocamlopt.opt # 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 (ranlib required on MacOSX) -RANLIB = : -#RANLIB = ranlib +#RANLIB = : +RANLIB = ranlib ##### Uncomment these for windows #TKLIBS = tk83.lib tcl83.lib gdi32.lib user32.lib @@ -59,4 +59,4 @@ #TOGLDIR = Togl # C Compiler options -#COPTS = -c -O +COPTS = -c ${CFLAGS}