diff options
Diffstat (limited to 'src/gallium/auxiliary/Makefile.am')
-rw-r--r-- | src/gallium/auxiliary/Makefile.am | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/gallium/auxiliary/Makefile.am b/src/gallium/auxiliary/Makefile.am index e25e31b89ea..a64ead28e32 100644 --- a/src/gallium/auxiliary/Makefile.am +++ b/src/gallium/auxiliary/Makefile.am @@ -88,23 +88,24 @@ if NEED_GALLIUM_VL_WINSYS noinst_LTLIBRARIES += libgalliumvlwinsys.la -libgalliumvlwinsys_la_CFLAGS = \ - $(COMMON_VL_CFLAGS) +libgalliumvlwinsys_la_CFLAGS = $(COMMON_VL_CFLAGS) +libgalliumvlwinsys_la_SOURCES = $(VL_WINSYS_SOURCES) -libgalliumvlwinsys_la_SOURCES = \ - $(VL_WINSYS_SOURCES) +if HAVE_PLATFORM_X11 +libgalliumvlwinsys_la_SOURCES += $(VL_WINSYS_DRI2_SOURCES) if HAVE_DRI3 - -libgalliumvlwinsys_la_SOURCES += \ - $(VL_WINSYS_DRI3_SOURCES) - +libgalliumvlwinsys_la_SOURCES += $(VL_WINSYS_DRI3_SOURCES) endif - endif +if HAVE_PLATFORM_DRM +libgalliumvlwinsys_la_SOURCES += $(VL_WINSYS_DRM_SOURCES) endif +endif # NEED_GALLIUM_VL_WINSYS +endif # NEED_GALLIUM_VL + EXTRA_DIST = \ SConscript \ indices/u_indices.c \ |