# Sandstorm/Common/GLUtils/Makefile

SRC_MODULE = GLUtils
SUPPORT_MAKEFILES = maketools/fltk.mk

include $(UTILS_DIR)/include/maketools/MakeDefs

HEADERS = gl2ps.h \
	gl_object.h \
	glut_window.h \
	GlutDisplay.h \
	GL_Annulus.h \
	GL_Cylinder.h \
	GL_Box.h \
	GL_Quadrangle.h \
	GL_PointList.h \
	GL_HeightMap.h \
	GL_TextureMap.h \
	GL_TexturedHeightMap.h \
	GL_Lozenge.h \
	GL_VectorField.h

OBJS = gl2ps.o \
	gl_object.o \
	glut_window.o \
	GlutDisplay.o  \
	GL_TextureMap.o \
	GL_TexturedHeightMap.o \
	GL_Lozenge.o 

EXTRA_SUPPORT_LIBS = -L/usr/X11R6/lib \
         -lfltk_gl -lfltk -lGLU -lGL -lglut -lXmu -lXi \
	 -lpthread 

BUILD_TESTS = test_gl_utils \
	      	test_texture \
		test_textureHeightMap \
		test_lozenge

# test_gl_utils is not suitable for automated testing
# so no execution is done here. Do it by hand: 	./test_gl_utils

include $(UTILS_DIR)/include/maketools/MakeTail
