Import('*')

env = env.Clone()

env.ParseConfig('pkg-config --cflags libdrm')

i915drm_sources = [
    'i915_drm_batchbuffer.c',
    'i915_drm_buffer.c',
    'i915_drm_fence.c',
    'i915_drm_winsys.c',
]

i915drm = env.ConvenienceLibrary(
    target ='i915drm',
    source = i915drm_sources,
)

Export('i915drm')
