Commit 9370f608 authored by Gwenole Beauchesne's avatar Gwenole Beauchesne Committed by Austin Yuan

Fix out-of-source builds.

parent 0d571c86
......@@ -20,13 +20,12 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
dummy_drv_video_la_LTLIBRARIES = dummy_drv_video.la
dummy_drv_video_ladir = @LIBVA_DRIVERS_PATH@
dummy_drv_video_la_LDFLAGS = -module -avoid-version -no-undefined -Wl,--no-undefined
dummy_drv_video_la_LIBADD = $(top_builddir)/va/$(libvabackendlib)
dummy_drv_video_la_DEPENDENCIES = $(top_builddir)/va/$(libvabackendlib)
INCLUDES = -I$(top_srcdir)
AM_CFLAGS = -I$(top_srcdir)/va -I$(top_srcdir)/../../include/external/ -I$(top_srcdir)/../../include/kmd
dummy_drv_video_la_SOURCES = dummy_drv_video.c object_heap.c
noinst_HEADERS = dummy_drv_video.h object_heap.h
dummy_drv_video_la_LTLIBRARIES = dummy_drv_video.la
dummy_drv_video_ladir = $(LIBVA_DRIVERS_PATH)
dummy_drv_video_la_LDFLAGS = -module -avoid-version -no-undefined -Wl,--no-undefined
dummy_drv_video_la_LIBADD = $(top_builddir)/va/$(libvabackendlib)
dummy_drv_video_la_DEPENDENCIES = $(top_builddir)/va/$(libvabackendlib)
dummy_drv_video_la_SOURCES = dummy_drv_video.c object_heap.c
noinst_HEADERS = dummy_drv_video.h object_heap.h
......@@ -22,7 +22,7 @@
bin_PROGRAMS = mpeg2vldemo
AM_CFLAGS = -I$(top_srcdir)/va -I$(top_srcdir)/src/x11
INCLUDES = -I$(top_srcdir)
TEST_LIBS = $(top_builddir)/va/$(libvabackendlib)
......
......@@ -22,7 +22,7 @@
bin_PROGRAMS = h264encode avcenc
AM_CFLAGS = -I$(top_srcdir)/va -I$(top_srcdir)/src/x11
INCLUDES = -I$(top_srcdir)
TEST_LIBS = $(top_builddir)/va/$(libvabackendlib)
......
......@@ -22,7 +22,7 @@
bin_PROGRAMS = putsurface
AM_CFLAGS = -I$(top_srcdir)/va -I$(top_srcdir)/src/x11
INCLUDES = -I$(top_srcdir)
TEST_LIBS = $(top_builddir)/va/$(libvabackendlib) -lpthread
......
......@@ -23,7 +23,7 @@
bin_PROGRAMS = vainfo
AM_CFLAGS = -I$(top_srcdir)/va -I$(top_srcdir)/test/basic -I$(top_srcdir)/src/x11
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/test/basic
vainfo_LDADD = $(top_builddir)/va/$(libvacorelib) $(top_builddir)/va/$(libvabackendlib)
vainfo_DEPENDENCIES = $(top_builddir)/va/$(libvacorelib) $(top_builddir)/va/$(libvabackendlib)
......
......@@ -23,7 +23,9 @@
SUBDIRS =
INCLUDES = \
$(LIBVA_CFLAGS) -I$(top_srcdir)/va/x11 \
$(LIBVA_CFLAGS) \
-I$(top_srcdir) \
-I$(top_srcdir)/va/x11 \
-DVA_DRIVERS_PATH="\"$(LIBVA_DRIVERS_PATH)\""
LDADD = \
......
......@@ -20,7 +20,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
AM_CFLAGS = -DLINUX -I$(top_srcdir)/va -I$(top_srcdir)/va/x11
INCLUDES = -DLINUX -I$(top_srcdir) -I$(top_srcdir)/va -I$(top_srcdir)/va/x11
source_c = \
va_egl.c
......
......@@ -20,7 +20,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
AM_CFLAGS = -DLINUX -I$(top_srcdir)/va -I$(top_srcdir)/va/x11
INCLUDES = -DLINUX -I$(top_srcdir) -I$(top_srcdir)/va -I$(top_srcdir)/va/x11
source_c = \
va_glx.c \
......
......@@ -20,7 +20,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
AM_CFLAGS = -DLINUX -I$(top_srcdir)/va $(DRM_CFLAGS)
INCLUDES = -DLINUX -I$(top_srcdir) -I$(top_srcdir)/va $(DRM_CFLAGS)
source_c = \
dri1_util.c \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment