1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/graphics/py-opengl/files/Setup.base
Thomas Gellekum bd0a312b72 Fix recent breakage caused by py-numeric update.
PR:		18575
Submitted by:	Randall Hopper <aa8vb@ipass.net>
2000-05-16 09:07:56 +00:00

81 lines
2.8 KiB
Plaintext

*shared*
###
#
# This is the Setup file for the PyOpenGL extensions.
#
# It should work with OpenGL 1.0, 1.1, or the corresponding versions
# of Mesa.
#
# This module provides most of the interfaces to the standard OpenGL API
_opengl _openglmodule.c -IX11BASE/include -LX11BASE/lib -lGL -lXext -lX11
# Some convenience functions contributed by users.
openglutil openglutil.c -IX11BASE/include -LX11BASE/lib -lGL -lXext -lX11
#
# If you have the Numeric extensions installed, make sure the
# following two modules are uncommented. If you don't, make sure
# they're commented out.
#
# These modules provide a few more features than the two modules
# above, and significantly more speed in some circumstances
#
# (( Will these guys ever decide on "one" include directory name?! ))
_opengl_num _opengl_nummodule.c -DNUMERIC \
-ILOCALBASE/include/python1.5/numerical \
-ILOCALBASE/include/python1.5/Numeric \
-IX11BASE/include -LX11BASE/lib -lGL -lXext -lX11
openglutil_num openglutil_num.c -DNUMERIC \
-ILOCALBASE/include/python1.5/numerical \
-ILOCALBASE/include/python1.5/Numeric \
-IX11BASE/include -LX11BASE/lib -lGL -lXext -lX11
# NOTES:
# - The -lX11 for _opengl_num and openglutil_num is a hack around
# XFree86 4.0 libGL.so's undeclared dependence on libX11 (e.g. XFreePixmap).
# - The -lXext for _opengl_num and opengl_num is a hack around
# XFree86 4.0 libGL.so's undeclared depdnence on libXext
# (e.g. XextAddDisplay)
# The GLU utility library -- part of most standard OpenGL setups
_glu _glumodule.c \
-IX11BASE/include -LX11BASE/lib -lGLU -lGL -lXext -lX11
# The GLUT toolkit interface
_glut \
# You'll definitely need this one:
-lglut \
# You'll definitely need these (or maybe edit them for MesaGL/MesaGLU:
-IX11BASE/include -LX11BASE/lib \
-lGLU -lGL \
# Various combinations of these depending on your platform:
-lXi -lXmu -lXext -lX11 \
# on SGI IRIX 6, uncomment the following
# -lcvt \
_glutmodule.c # putting this at the end for \ reasons
## #
## # TOGL 1.5b3
## # This is a Tk widget module that lets PyOpenGL draw into a Tkinter window.
## # If you don't want/have togl, comment out all of the following lines
## #
## togl \
## # This must match the name of the Togl source directory
## -I./Togl-1.5 \
## # These must match the version you have installed
## -ILOCALBASE/include/tcl8.2 -ILOCALBASE/include/tk8.2 \
## -LLOCALBASE/lib -ltk82 -ltcl82 \
## # You'll definitely need these (or maybe edit them for MesaGL/MesaGLU:
## -IX11BASE/include -LX11BASE/lib \
## -lGLU -lGL \
## # Various combinations of these depending on your platform:
## -lX11 -lXmu -lXext -lXt \
## # If you don't have this, something is really wrong!
## -lm \
## # for Linux only?
## # -ldl \
## togl.c # putting this at the end for \ reasons