summaryrefslogtreecommitdiff
path: root/va/Makefile.am
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2012-01-02 17:28:45 +0100
committerXiang, Haihao <haihao.xiang@intel.com>2013-06-05 09:38:35 +0800
commit6febbcadc81a5c4c0d877c450814fa222ff704f9 (patch)
tree85e6b64c04894c85e14678425673a7445e0bb085 /va/Makefile.am
parente1d3569778a6662a2d8b97180c790e862a3926be (diff)
API: add compat glue for older vaCreateSurfaces().
Diffstat (limited to 'va/Makefile.am')
-rw-r--r--va/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/va/Makefile.am b/va/Makefile.am
index d6a47a7..59b6c64 100644
--- a/va/Makefile.am
+++ b/va/Makefile.am
@@ -31,6 +31,7 @@ LDADD = \
libva_source_c = \
va.c \
+ va_compat.c \
va_fool.c \
va_trace.c \
$(NULL)
@@ -40,6 +41,7 @@ libva_source_h = \
va_backend.h \
va_backend_tpi.h \
va_backend_vpp.h \
+ va_compat.h \
va_dec_jpeg.h \
va_drmcommon.h \
va_enc_h264.h \
@@ -55,12 +57,18 @@ libva_source_h_priv = \
va_trace.h \
$(NULL)
+libva_ldflags = \
+ $(LDADD) -no-undefined \
+ -Wl,-version-script,libva.syms \
+ $(NULL)
+
lib_LTLIBRARIES = libva.la
libvaincludedir = ${includedir}/va
libvainclude_HEADERS = $(libva_source_h)
noinst_HEADERS = $(libva_source_h_priv)
libva_la_SOURCES = $(libva_source_c)
-libva_la_LDFLAGS = $(LDADD) -no-undefined
+libva_la_LDFLAGS = $(libva_ldflags)
+libva_la_DEPENDENCIES = libva.syms
libva_la_LIBADD = $(LIBVA_LIBS) -ldl
lib_LTLIBRARIES += libva-tpi.la