diff options
author | Dmitry Ermilov <dmitry.ermilov@intel.com> | 2012-06-07 19:37:21 +0400 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-09-26 11:49:51 +0200 |
commit | bbc66c8772ee6000f9a2421922259ff39b71a272 (patch) | |
tree | 9465aa13262cf09f5fcf1276ef48874da0196e20 /va/Makefile.am | |
parent | 1b5d7595866898071640760e7d405bfc87f45cc9 (diff) |
Allow build without VA/X11 API.
In this case, VA/GLX API is disabled and another backend shall be
built instead.
Signed-off-by: Dmitry Ermilov <dmitry.ermilov@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'va/Makefile.am')
-rw-r--r-- | va/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/va/Makefile.am b/va/Makefile.am index d681cbd..8178b9f 100644 --- a/va/Makefile.am +++ b/va/Makefile.am @@ -46,7 +46,6 @@ libva_source_h = \ va_dummy.h \ va_tpi.h \ va_version.h \ - va_x11.h \ $(NULL) libva_source_h_priv = \ @@ -69,13 +68,16 @@ libva_tpi_la_LDFLAGS = $(LDADD) -no-undefined libva_tpi_la_DEPENDENCIES = $(libvacorelib) libva_tpi_la_LIBADD = $(libvacorelib) -ldl +if USE_X11 SUBDIRS += x11 lib_LTLIBRARIES += libva-x11.la +libva_source_h += va_x11.h libva_x11_la_SOURCES = libva_x11_la_LDFLAGS = $(LDADD) libva_x11_la_DEPENDENCIES = $(libvacorelib) x11/libva_x11.la libva_x11_la_LIBADD = $(libvacorelib) x11/libva_x11.la \ $(LIBVA_LIBS) $(X11_LIBS) $(XEXT_LIBS) $(DRM_LIBS) $(XFIXES_LIBS) -ldl +endif if USE_DRM SUBDIRS += drm |