include_directories(
	${GLEXT_INCLUDE_DIR}
	${OPENGL_INCLUDE_PATH}
	${piglit_SOURCE_DIR}/tests/util
)

link_libraries (
	piglitutil_${piglit_target_api}
	${OPENGL_gl_LIBRARY}
)

piglit_add_executable (arb_texture_buffer_object-bufferstorage bufferstorage.c)
piglit_add_executable (arb_texture_buffer_object-data-sync data-sync.c)
piglit_add_executable (arb_texture_buffer_object-dlist dlist.c)
piglit_add_executable (arb_texture_buffer_object-formats formats.c)
piglit_add_executable (arb_texture_buffer_object-get get.c)
piglit_add_executable (arb_texture_buffer_object-max-size max-size.c)
piglit_add_executable (arb_texture_buffer_object-minmax minmax.c)
piglit_add_executable (arb_texture_buffer_object-negative-bad-bo negative-bad-bo.c)
piglit_add_executable (arb_texture_buffer_object-negative-bad-format negative-bad-format.c)
piglit_add_executable (arb_texture_buffer_object-negative-bad-target negative-bad-target.c)
piglit_add_executable (arb_texture_buffer_object-negative-unsupported negative-unsupported.c)
piglit_add_executable (arb_texture_buffer_object-render-no-bo render-no-bo.c)
piglit_add_executable (arb_texture_buffer_object-subdata-sync subdata-sync.c)
piglit_add_executable (arb_texture_buffer_object-unused-name unused-name.c)
piglit_add_executable (arb_texture_buffer_object-fetch-outside-bounds fetch-outside-bounds.c)
piglit_add_executable (arb_texture_buffer_object-indexed indexed.c)
piglit_add_executable (arb_texture_buffer_object-re-init re-init.c)
