include_directories(
       ${GLEXT_INCLUDE_DIR}
       ${OPENGL_INCLUDE_PATH}
)

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

piglit_add_executable (arb_program_interface_query-resource-location resource-location.c)
piglit_add_executable (arb_program_interface_query-resource-query resource-query.c)
piglit_add_executable (arb_program_interface_query-getprograminterfaceiv getprograminterfaceiv.c)
piglit_add_executable (arb_program_interface_query-getprogramresourceindex getprogramresourceindex.c)
piglit_add_executable (arb_program_interface_query-getprogramresourcename getprogramresourcename.c)
piglit_add_executable (arb_program_interface_query-getprogramresourceiv getprogramresourceiv.c)
piglit_add_executable (arb_program_interface_query-compare-with-shader-subroutine compare-with-shader-subroutine.c)
