From: Emil Velikov Date: Thu, 21 Apr 2016 00:20:10 +0000 (+0100) Subject: anv: cosmetic makefile changes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f235adf99305293f31b5cd87f0d2bd675f88128;p=mesa.git anv: cosmetic makefile changes Signed-off-by: Emil Velikov Acked-by: Jason Ekstrand --- diff --git a/src/intel/vulkan/Makefile.am b/src/intel/vulkan/Makefile.am index d5adc4d93f6..bdb68341099 100644 --- a/src/intel/vulkan/Makefile.am +++ b/src/intel/vulkan/Makefile.am @@ -23,9 +23,9 @@ include Makefile.sources vulkan_includedir = $(includedir)/vulkan -vulkan_include_HEADERS = \ - $(top_srcdir)/include/vulkan/vk_platform.h \ - $(top_srcdir)/include/vulkan/vulkan.h \ +vulkan_include_HEADERS = \ + $(top_srcdir)/include/vulkan/vk_platform.h \ + $(top_srcdir)/include/vulkan/vulkan.h \ $(top_srcdir)/include/vulkan/vulkan_intel.h lib_LTLIBRARIES = libvulkan_intel.la @@ -64,16 +64,6 @@ AM_CPPFLAGS = \ AM_CFLAGS = -Wno-override-init -msse2 -VULKAN_SOURCES = \ - $(VULKAN_GENERATED_FILES) \ - $(VULKAN_FILES) - -VULKAN_LIB_DEPS = - -BUILT_SOURCES = \ - $(VULKAN_GENERATED_FILES) - - libanv_gen7_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=70 libanv_gen7_la_SOURCES = $(GEN7_FILES) @@ -87,6 +77,13 @@ libanv_gen9_la_CFLAGS = $(AM_CFLAGS) -DGEN_VERSIONx10=90 libanv_gen9_la_SOURCES = $(GEN9_FILES) +VULKAN_SOURCES = \ + $(VULKAN_GENERATED_FILES) \ + $(VULKAN_FILES) + +VULKAN_LIB_DEPS = + + if HAVE_PLATFORM_X11 AM_CPPFLAGS += \ $(XCB_DRI3_CFLAGS) \ @@ -132,6 +129,7 @@ anv_entrypoints.h : anv_entrypoints_gen.py $(vulkan_include_HEADERS) anv_entrypoints.c : anv_entrypoints_gen.py $(vulkan_include_HEADERS) $(AM_V_GEN) cat $(vulkan_include_HEADERS) | $(CPP) $(AM_CPPFLAGS) - | $(PYTHON2) $< code > $@ +BUILT_SOURCES = $(VULKAN_GENERATED_FILES) CLEANFILES = $(BUILT_SOURCES) libvulkan_intel_la_LIBADD = $(VULKAN_LIB_DEPS)