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_sync-client-wait-errors ClientWaitSync-errors.c)
piglit_add_executable (arb_sync-delete DeleteSync.c)
piglit_add_executable (arb_sync-fence-sync-errors FenceSync-errors.c)
piglit_add_executable (arb_sync-get-sync-errors GetSynciv-errors.c)
piglit_add_executable (arb_sync-is-sync IsSync.c)
piglit_add_executable (arb_sync-repeat-wait repeat-wait.c)
piglit_add_executable (arb_sync-sync-initialize sync-initialize.c)
piglit_add_executable (arb_sync-timeout-zero timeout-zero.c)
piglit_add_executable (arb_sync-WaitSync-errors WaitSync-errors.c)
piglit_add_executable (arb_sync-ClientWaitSync-timeout ClientWaitSync-timeout.c)
