1 include $(top_srcdir)/src/gallium/Automake.inc
4 $(GALLIUM_TARGET_CFLAGS)
6 vadir = $(VA_LIB_INSTALL_DIR)
7 va_LTLIBRARIES = gallium_drv_video.la
9 nodist_EXTRA_gallium_drv_video_la_SOURCES = dummy.cpp
10 gallium_drv_video_la_SOURCES =
12 gallium_drv_video_la_LDFLAGS = \
20 if HAVE_LD_VERSION_SCRIPT
21 gallium_drv_video_la_LDFLAGS += \
22 -Wl,--version-script=$(top_srcdir)/src/gallium/targets/va/va.sym
23 endif # HAVE_LD_VERSION_SCRIPT
25 # NOTE: gallium_drv_video does not use(link against) libva
26 gallium_drv_video_la_LIBADD = \
27 $(top_builddir)/src/gallium/state_trackers/va/libvatracker.la \
28 $(top_builddir)/src/gallium/auxiliary/libgalliumvlwinsys.la \
29 $(top_builddir)/src/gallium/auxiliary/libgalliumvl.la \
30 $(top_builddir)/src/gallium/auxiliary/libgallium.la \
31 $(top_builddir)/src/util/libmesautil.la \
34 $(GALLIUM_COMMON_LIB_DEPS)
36 EXTRA_gallium_drv_video_la_DEPENDENCIES = va.sym
39 if HAVE_GALLIUM_STATIC_TARGETS
45 include $(top_srcdir)/src/gallium/drivers/nouveau/Automake.inc
47 include $(top_srcdir)/src/gallium/drivers/r600/Automake.inc
48 include $(top_srcdir)/src/gallium/drivers/radeonsi/Automake.inc
50 gallium_drv_video_la_SOURCES += target.c
51 gallium_drv_video_la_CPPFLAGS = $(TARGET_CPPFLAGS)
52 gallium_drv_video_la_LIBADD += \
53 $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_static.la \
54 $(GALLIUM_PIPE_LOADER_WINSYS_LIBS) \
56 $(TARGET_RADEON_WINSYS) $(TARGET_RADEON_COMMON)
58 else # HAVE_GALLIUM_STATIC_TARGETS
60 gallium_drv_video_la_LIBADD += \
61 $(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader_dynamic.la
63 endif # HAVE_GALLIUM_STATIC_TARGETS
66 gallium_drv_video_la_LIBADD += $(LLVM_LIBS)
67 gallium_drv_video_la_LDFLAGS += $(LLVM_LDFLAGS)