summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-01-31 11:07:21 +0100
committerXiang, Haihao <haihao.xiang@intel.com>2018-02-01 09:24:11 +0800
commitfc20e7c1bd71feaee46624220daf48bae817a19e (patch)
treeaff1d049181989b9c6c1fb4ad0d4bbc45e177ac4
parent4c03865d1eb01ee1f4a7f8f917d0ce37b353f61a (diff)
downloadlibva-fc20e7c1bd71feaee46624220daf48bae817a19e.tar.gz
build: enable out-of-source building
-rw-r--r--configure.ac2
-rw-r--r--doc/Makefile.am2
-rw-r--r--va/wayland/Makefile.am2
3 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index ad53d0a..9738ff9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,7 +90,7 @@ AC_INIT([libva],
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_MACRO_DIR([m4])
-AM_INIT_AUTOMAKE([dist-bzip2])
+AM_INIT_AUTOMAKE([dist-bzip2 subdir-objects -Wno-portability])
AC_CONFIG_HEADERS([config.h])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
diff --git a/doc/Makefile.am b/doc/Makefile.am
index b6b6f3e..70f7bc3 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -46,7 +46,7 @@ VA_HEADER_FILES = \
$(VA_HEADER_DIR)/va_vpp.h \
$(NULL)
-VA_HTML_FOOTER = va_footer.html
+VA_HTML_FOOTER = $(top_srcdir)/doc/va_footer.html
Doxyfile: Doxyfile.in $(VA_HEADER_FILES) $(VA_HTML_FOOTER)
$(AM_V_GEN) $(SED) \
diff --git a/va/wayland/Makefile.am b/va/wayland/Makefile.am
index 6acbe89..705efa3 100644
--- a/va/wayland/Makefile.am
+++ b/va/wayland/Makefile.am
@@ -31,7 +31,7 @@ source_c = \
va_wayland.c \
va_wayland_drm.c \
va_wayland_emgd.c \
- $(top_srcdir)/va/drm/va_drm_utils.c \
+ ../drm/va_drm_utils.c \
$(NULL)
source_h = \