summaryrefslogtreecommitdiff
path: root/va
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@gmail.com>2010-04-16 06:57:13 +0800
committerAustin Yuan <shengquan.yuan@gmail.com>2010-04-16 06:57:13 +0800
commitc27fe40c82dc95d8a63c6d17726096699bb42de7 (patch)
treee5dd054152e9de803763150a77976a41fb70cec3 /va
parent77ab23d77aa90fb53419dbc404423fcff1552b0a (diff)
save
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Diffstat (limited to 'va')
-rw-r--r--va/Makefile.am16
l---------va/dummy1
2 files changed, 12 insertions, 5 deletions
diff --git a/va/Makefile.am b/va/Makefile.am
index 1e14c1a..508cf7e 100644
--- a/va/Makefile.am
+++ b/va/Makefile.am
@@ -29,8 +29,7 @@ LDADD = \
lib_LTLIBRARIES = \
libva.la \
- libva-x11.la \
- libva-dummy.la
+ libva-x11.la
libva_ladir = $(libdir)
libva_la_LDFLAGS = $(LDADD) -no-undefined
@@ -41,12 +40,19 @@ libva_x11_la_LIBADD = $(libvacorelib) x11/libva_x11.la $(LIBVA_LIBS) $(X11_LIBS
libva_x11_la_LDFLAGS = $(LDADD)
libva_x11_la_DEPENDENCIES = $(libvacorelib) x11/libva_x11.la
+
+SUBDIRS = x11
+
+if BUILD_DUMMY_BACKEND
+lib_LTLIBRARIES += libva-dummy.la
+
libva_dummy_la_SOURCES =
-libva_dummy_la_LIBADD = $(libvacorelib) android/libva_dummy.la $(LIBVA_LIBS) $(DRM_LIBS)
+libva_dummy_la_LIBADD = $(libvacorelib) dummy/libva_dummy.la $(LIBVA_LIBS) $(DRM_LIBS)
libva_dummy_la_LDFLAGS = $(LDADD)
-libva_dummy_la_DEPENDENCIES = $(libvacorelib) android/libva_dummy.la
+libva_dummy_la_DEPENDENCIES = $(libvacorelib) dummy/libva_dummy.la
-SUBDIRS = x11 android
+SUBDIRS += dummy
+endif
libva_la_SOURCES = va.c va_trace.c
diff --git a/va/dummy b/va/dummy
new file mode 120000
index 0000000..1fd74d1
--- /dev/null
+++ b/va/dummy
@@ -0,0 +1 @@
+android \ No newline at end of file