source: project/release/3/glut/glut.setup @ 7700

Last change on this file since 7700 was 6960, checked in by felix winkelmann, 13 years ago

various fixes of the use of _callback [reported by Salmonella]

File size: 843 bytes
Line 
1;;;; opengl.setup -*- Scheme -*-
2
3(cond
4 ((eq? (software-version) 'macosx)
5  (make (("glut.so" ("glut.scm") (run (csc -s glut.scm -O2 -d0 -FGLUT -FOpenGL -framework GLUT -framework OpenGL -framework Foundation))) )
6    "glut.so") )
7 ((and (eq? (software-type) 'windows) (eq? (build-platform) 'msvc))
8  (make (("glut.dll" ("glut.scm") (run (csc -s glut.scm -O2 -d0 -lglut32 -C "/Iglprocs"))))
9    "glut.dll") )
10 ((eq? (software-type) 'windows)
11  (make (("glut.so" ("glut.scm") (run (csc -s -feature cygwin glut.scm -O2 -d0 -lopengl32 -lglu32 -lglut32))) )
12    "glut.so") )
13 (else
14  (make (("glut.so" ("glut.scm") (run (csc -s glut.scm -O2 -d0 -L "\"-L/usr/X11R6/lib -L/usr/X11/lib -lglut -LX11 -lXmu\""))) )
15    "glut.so") ) )
16
17(install-extension 
18 'gl
19 '("glut.so")
20 '((version 1.14)
21   (examples "gears.scm")
22   (documentation "glut.html")))
Note: See TracBrowser for help on using the repository browser.