Home | History | Annotate | Line # | Download | only in libGLU
Makefile revision 1.2.6.2
      1  1.2.6.2  haad #	$NetBSD: Makefile,v 1.2.6.2 2008/10/19 22:41:08 haad Exp $
      2  1.2.6.2  haad 
      3  1.2.6.2  haad NOLINT=		1	# XTODO: tess.ln SIGSEGVs lint :(
      4  1.2.6.2  haad 
      5  1.2.6.2  haad .include <bsd.own.mk>
      6  1.2.6.2  haad 
      7  1.2.6.2  haad LIB=		GLU
      8  1.2.6.2  haad 
      9  1.2.6.2  haad GLUDIR=		${X11SRCDIR.MesaLib}/src/glu/sgi
     10  1.2.6.2  haad 
     11  1.2.6.2  haad SRCS.libutil=	error.c glue.c mipmap.c project.c quad.c registry.c
     12  1.2.6.2  haad .PATH:		${GLUDIR}/libutil
     13  1.2.6.2  haad 
     14  1.2.6.2  haad SRCS.libtess=	dict.c geom.c memalloc.c mesh.c normal.c priorityq.c \
     15  1.2.6.2  haad 		render.c sweep.c tess.c tessmono.c
     16  1.2.6.2  haad .PATH:		${GLUDIR}/libtess
     17  1.2.6.2  haad 
     18  1.2.6.2  haad SRCS.interface=	bezierEval.cc bezierPatch.cc bezierPatchMesh.cc \
     19  1.2.6.2  haad 		glcurveval.cc glinterface.cc glrenderer.cc \
     20  1.2.6.2  haad 		glsurfeval.cc incurveeval.cc insurfeval.cc
     21  1.2.6.2  haad .PATH:		${GLUDIR}/libnurbs/interface
     22  1.2.6.2  haad .for fn in ${SRCS.interface}
     23  1.2.6.2  haad CPPFLAGS.${fn}+=-I${GLUDIR}/libnurbs/internals \
     24  1.2.6.2  haad 		-I${GLUDIR}/libnurbs/nurbtess \
     25  1.2.6.2  haad 		-DLIBRARYBUILD
     26  1.2.6.2  haad .endfor
     27  1.2.6.2  haad 
     28  1.2.6.2  haad SRCS.internals=	arc.cc arcsorter.cc arctess.cc backend.cc \
     29  1.2.6.2  haad 		basiccrveval.cc basicsurfeval.cc bin.cc bufpool.cc \
     30  1.2.6.2  haad 		cachingeval.cc ccw.cc coveandtiler.cc curve.cc \
     31  1.2.6.2  haad 		curvelist.cc curvesub.cc dataTransform.cc displaylist.cc \
     32  1.2.6.2  haad 		flist.cc flistsorter.cc hull.cc intersect.cc \
     33  1.2.6.2  haad 		knotvector.cc mapdesc.cc mapdescv.cc maplist.cc \
     34  1.2.6.2  haad 		mesher.cc monoTriangulationBackend.cc monotonizer.cc \
     35  1.2.6.2  haad 		mycode.cc nurbsinterfac.cc nurbstess.cc patch.cc \
     36  1.2.6.2  haad 		patchlist.cc quilt.cc reader.cc renderhints.cc \
     37  1.2.6.2  haad 		slicer.cc sorter.cc splitarcs.cc subdivider.cc \
     38  1.2.6.2  haad 		tobezier.cc trimline.cc trimregion.cc trimvertpool.cc \
     39  1.2.6.2  haad 		uarray.cc varray.cc
     40  1.2.6.2  haad .PATH:		${GLUDIR}/libnurbs/internals
     41  1.2.6.2  haad .for fn in ${SRCS.internals}
     42  1.2.6.2  haad CPPFLAGS.${fn}+=-I${GLUDIR}/libnurbs/internals \
     43  1.2.6.2  haad 		-I${GLUDIR}/libnurbs/nurbtess \
     44  1.2.6.2  haad 		-I${GLUDIR}/libutil \
     45  1.2.6.2  haad 		-DLIBRARYBUILD -D_EXTENSIONS_
     46  1.2.6.2  haad .endfor
     47  1.2.6.2  haad 
     48  1.2.6.2  haad SRCS.nurbtess=	directedLine.cc gridWrap.cc monoChain.cc monoPolyPart.cc \
     49  1.2.6.2  haad 		monoTriangulation.cc partitionX.cc partitionY.cc \
     50  1.2.6.2  haad 		polyDBG.cc polyUtil.cc primitiveStream.cc quicksort.cc \
     51  1.2.6.2  haad 		rectBlock.cc sampleComp.cc sampleCompBot.cc \
     52  1.2.6.2  haad 		sampleCompRight.cc sampleCompTop.cc sampleMonoPoly.cc \
     53  1.2.6.2  haad 		sampledLine.cc searchTree.cc
     54  1.2.6.2  haad .PATH:		${GLUDIR}/libnurbs/nurbtess
     55  1.2.6.2  haad .for fn in ${SRCS.nurbtess}
     56  1.2.6.2  haad CPPFLAGS.${fn}+=-I${GLUDIR}/libnurbs/internals \
     57  1.2.6.2  haad 		-I${GLUDIR}/libnurbs/nurbtess \
     58  1.2.6.2  haad 		-DLIBRARYBUILD
     59  1.2.6.2  haad .endfor
     60  1.2.6.2  haad 
     61  1.2.6.2  haad CPPFLAGS+=	-I${GLUDIR}/include
     62  1.2.6.2  haad CPPFLAGS+=	-DPTHREADS -DUSE_XSHM -DHZ=100 -DNDEBUG -DLIBRARYBUILD
     63  1.2.6.2  haad 
     64  1.2.6.2  haad SRCS=		${SRCS.libutil} ${SRCS.libtess} \
     65  1.2.6.2  haad 		${SRCS.interface} ${SRCS.internals} ${SRCS.nurbtess}
     66  1.2.6.2  haad 
     67  1.2.6.2  haad CFLAGS+=	-fno-strict-aliasing -fvisibility=hidden -pthread
     68  1.2.6.2  haad 
     69  1.2.6.2  haad .PATH:		${X11SRCDIR.MesaLib}/include/GL
     70  1.2.6.2  haad INCS=	glu.h glu_mangle.h
     71  1.2.6.2  haad INCSDIR=${X11INCDIR}/GL
     72  1.2.6.2  haad 
     73  1.2.6.2  haad LIBDPLIBS=	Xext	${.CURDIR}/../libXext \
     74  1.2.6.2  haad 		X11	${.CURDIR}/../libX11/dynamic \
     75  1.2.6.2  haad 		GL	${.CURDIR}/../libGL \
     76  1.2.6.2  haad 		Xxf86vm	${.CURDIR}/../libXxf86vm \
     77  1.2.6.2  haad 		Xfixes	${.CURDIR}/../libXfixes \
     78  1.2.6.2  haad 		Xdamage	${.CURDIR}/../libXdamage \
     79  1.2.6.2  haad 		drm	${.CURDIR}/../libdrm
     80  1.2.6.2  haad 
     81  1.2.6.2  haad LDADD+=		-lstdc++ -lm
     82  1.2.6.2  haad DPADD+=		${LIBSTDCXX} ${LIBM}
     83  1.2.6.2  haad 
     84  1.2.6.2  haad PKGCONFIG=	glu
     85  1.2.6.2  haad PKGDIST.glu=	${X11SRCDIR.MesaLib}/src/glu
     86  1.2.6.2  haad PKGCONFIG_VERSION.glu=	7.0.3
     87  1.2.6.2  haad 
     88  1.2.6.2  haad .include <bsd.x11.mk>
     89  1.2.6.2  haad .include <bsd.lib.mk>
     90