summaryrefslogtreecommitdiff
path: root/lib/libGLU
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 11:21:14 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-26 11:21:14 +0000
commit4b8bf60405abe982535576d52f46be8e3fae5279 (patch)
tree007558a121ca02d94ddb01c6cd2357a5b4c65232 /lib/libGLU
parent145a665014b2aa230b81b582689c8ec17ef9968e (diff)
Build infrastructure for GL libs
Diffstat (limited to 'lib/libGLU')
-rw-r--r--lib/libGLU/Makefile135
-rw-r--r--lib/libGLU/shlib_version2
2 files changed, 137 insertions, 0 deletions
diff --git a/lib/libGLU/Makefile b/lib/libGLU/Makefile
new file mode 100644
index 000000000..9c2c7a10b
--- /dev/null
+++ b/lib/libGLU/Makefile
@@ -0,0 +1,135 @@
+# $Xenocara$
+
+LIB= GLU
+
+DIST= ${.CURDIR}/../../dist/Mesa
+GLU= ${DIST}/src/glu/sgi
+
+# libutil
+SRCS= \
+ error.c \
+ glue.c \
+ mipmap.c \
+ project.c \
+ quad.c \
+ registry.c \
+
+# libtess
+SRCS+= \
+ dict.c \
+ geom.c \
+ memalloc.c \
+ mesh.c \
+ normal.c \
+ priorityq.c \
+ render.c \
+ sweep.c \
+ tess.c \
+ tessmono.c
+
+# libnurbs/interface
+SRCS+= \
+ bezierEval.cc \
+ bezierPatch.cc \
+ bezierPatchMesh.cc \
+ glcurveval.cc \
+ glinterface.cc \
+ glrenderer.cc \
+ glsurfeval.cc \
+ incurveeval.cc \
+ insurfeval.cc \
+
+# libnurbs/internals
+SRCS+= \
+ arc.cc \
+ arcsorter.cc \
+ arctess.cc \
+ backend.cc \
+ basiccrveval.cc \
+ basicsurfeval.cc \
+ bin.cc \
+ bufpool.cc \
+ cachingeval.cc \
+ ccw.cc \
+ coveandtiler.cc \
+ curve.cc \
+ curvelist.cc \
+ curvesub.cc \
+ dataTransform.cc \
+ displaylist.cc \
+ flist.cc \
+ flistsorter.cc \
+ hull.cc \
+ intersect.cc \
+ knotvector.cc \
+ mapdesc.cc \
+ mapdescv.cc \
+ maplist.cc \
+ mesher.cc \
+ monoTriangulationBackend.cc \
+ monotonizer.cc \
+ mycode.cc \
+ nurbsinterfac.cc \
+ nurbstess.cc \
+ patch.cc \
+ patchlist.cc \
+ quilt.cc \
+ reader.cc \
+ renderhints.cc \
+ slicer.cc \
+ sorter.cc \
+ splitarcs.cc \
+ subdivider.cc \
+ tobezier.cc \
+ trimline.cc \
+ trimregion.cc \
+ trimvertpool.cc \
+ uarray.cc \
+ varray.cc
+
+# libnurbs/nurbtess
+SRCS+= \
+ directedLine.cc \
+ gridWrap.cc \
+ monoChain.cc \
+ monoPolyPart.cc \
+ monoTriangulation.cc \
+ partitionX.cc \
+ partitionY.cc \
+ polyDBG.cc \
+ polyUtil.cc \
+ primitiveStream.cc \
+ quicksort.cc \
+ rectBlock.cc \
+ sampleComp.cc \
+ sampleCompBot.cc \
+ sampleCompRight.cc \
+ sampleCompTop.cc \
+ sampleMonoPoly.cc \
+ sampledLine.cc \
+ searchTree.cc
+
+CPPFLAGS+= -I${DIST}/include \
+ -I${GLU}/include \
+ -I${GLU}/internals \
+ -I${GLU}/libnurbs/internals \
+ -I${GLU}/libnurbs/interface \
+ -I${GLU}/libnurbs/nurbtess \
+ -DLIBRARYBUILD -D_EXTENSIONS_
+
+
+
+.include <bsd.lib.mk>
+.include <bsd.xorg.mk>
+
+includes:
+ @cmp -s ${DIST}/include/GL/glu.h \
+ ${DESTDIR}${X11BASE}/include/GL/glu.h \
+ || ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${DIST}/include/GL/glu.h ${DESTDIR}${X11BASE}/include/GL
+
+.PATH: ${GLU}/libutil
+.PATH: ${GLU}/libtess
+.PATH: ${GLU}/libnurbs/interface
+.PATH: ${GLU}/libnurbs/internals
+.PATH: ${GLU}/libnurbs/nurbtess
diff --git a/lib/libGLU/shlib_version b/lib/libGLU/shlib_version
new file mode 100644
index 000000000..5b844bbf4
--- /dev/null
+++ b/lib/libGLU/shlib_version
@@ -0,0 +1,2 @@
+major=7
+minor=0