1
0
Fork 0
mutter-performance-source/cogl/tesselator/Makefile.am
Neil Roberts b86e330957 cogl: Pull in the code for GLU tesselator from Mesa/SGI
This copies the files for the GLU tesselator from Mesa. The Mesa code
is based on the original SGI code and is released under a BSD license.

The memalloc.h header has been replaced with one that forces the code
to use g_malloc and friends. The rest of the files are not altered
from the original so it should be possible to later upgrade the files
by simply overwriting them.

There is a tesselator.h header which is expected to be included by
rest of Cogl to use the tesselator. This contains a trimmed down
version of glu.h that only includes parts that pertain to the
tesselator. There is also a stub glu.h in the GL directory which is
just provided so that the tesselator code can include <GL/gl.h>
without depending on the system header. It just redirects to
tesselator.h
2010-06-29 20:37:13 +01:00

41 lines
700 B
Makefile

AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
noinst_LTLIBRARIES = libtesselator.la
INCLUDES = \
-I$(top_srcdir)/clutter/cogl \
-I$(srcdir)/winsys \
-I$(srcdir)/driver/$(COGL_DRIVER) \
-I$(srcdir)/clutter/cogl/cogl/tesselator \
-I$(top_builddir)/clutter/cogl
libtesselator_la_SOURCES = \
dict-list.h \
dict.c \
dict.h \
geom.c \
geom.h \
gluos.h \
memalloc.h \
mesh.c \
mesh.h \
normal.c \
normal.h \
priorityq-heap.h \
priorityq-sort.h \
priorityq.c \
priorityq.h \
render.c \
render.h \
sweep.c \
sweep.h \
tess.c \
tess.h \
tesselator.h \
tessmono.c \
tessmono.h \
GL/glu.h
EXTRA_DIST = \
README \
priorityq-heap.c