diff options
Diffstat (limited to 'radeon/Makefile.am')
-rw-r--r-- | radeon/Makefile.am | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/radeon/Makefile.am b/radeon/Makefile.am index 9b2fbcf..554f67e 100644 --- a/radeon/Makefile.am +++ b/radeon/Makefile.am @@ -8,17 +8,33 @@ radeon_dri_la_LDFLAGS = -module -noprefix -avoid-version -lm -ldl \ $(DRM_LIBS) $(DRI_LIBS) radeon_dri_ladir = @libdir@/dri radeon_dri_la_SOURCES = \ + radeon_bo_legacy.c \ + radeon_common_context.c \ + radeon_common.c \ + radeon_cs_legacy.c \ + radeon_dma.c \ + radeon_debug.c \ + radeon_fbo.c \ + radeon_lock.c \ + radeon_mipmap_tree.c \ + radeon_queryobj.c \ + radeon_span.c \ + radeon_texture.c \ radeon_context.c \ radeon_ioctl.c \ - radeon_lock.c \ radeon_screen.c \ radeon_state.c \ radeon_state_init.c \ radeon_tex.c \ - radeon_texmem.c \ radeon_texstate.c \ radeon_tcl.c \ radeon_swtcl.c \ - radeon_span.c \ radeon_maos.c \ radeon_sanity.c + +if HAVE_LIBDRM_RADEON +radeon_dri_la_CFLAGS += -DHAVE_LIBDRM_RADEON=1 $(LIBDRM_RADEON_CFLAGS) +radeon_dri_la_LDFLAGS += $(LIBDRM_RADEON_LIBS) +radeon_dri_la_SOURCES += \ + radeon_cs_space_drm.c +endif |