automake: Merge per-type *_FILES variables in intel drivers.
authorEric Anholt <eric@anholt.net>
Wed, 7 Nov 2012 07:18:37 +0000 (23:18 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Mon, 12 Nov 2012 23:52:42 +0000 (15:52 -0800)
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i915/Makefile.am
src/mesa/drivers/dri/i915/Makefile.sources
src/mesa/drivers/dri/i965/Android.mk
src/mesa/drivers/dri/i965/Makefile.am
src/mesa/drivers/dri/i965/Makefile.sources

index 32986d1c87b2eef2fae8ea8baf8cba9bbd35ca85..677eba8476046a502aeedfdc162978e3400a9757 100644 (file)
@@ -46,10 +46,7 @@ if HAVE_I915_DRI
 dri_LTLIBRARIES = i915_dri.la
 endif
 
-i915_dri_la_SOURCES = \
-       $(i915_C_FILES) \
-       $(i915_CXX_FILES)
-
+i915_dri_la_SOURCES = $(i915_FILES)
 i915_dri_la_LDFLAGS = -module -avoid-version -shared
 i915_dri_la_LIBADD = \
        ../common/libdricommon.la \
index 9da2f396269e337d6a49690f5f03d9b5c9099d02..183a1dae1ed0bb566d88a4306b8511d1046d4664 100644 (file)
@@ -2,7 +2,7 @@
 i915_INCLUDES = \
        src/mesa/drivers/dri/intel
 
-i915_C_FILES = \
+i915_FILES = \
        i830_context.c \
        i830_state.c \
        i830_texblend.c \
index fbc6fc0e1db877357a6469da913b9ee3b3c63cef..c4637e5f1af9c483775eca5e1bab0606b92df6e4 100644 (file)
@@ -41,9 +41,7 @@ LOCAL_C_INCLUDES := \
        $(DRM_TOP)/intel
 
 LOCAL_SRC_FILES := \
-       $(i965_C_FILES) \
-       $(i965_CXX_FILES) \
-       $(i965_ASM_FILES)
+       $(i965_FILES)
 
 LOCAL_WHOLE_STATIC_LIBRARIES := \
        $(MESA_DRI_WHOLE_STATIC_LIBRARIES)
index 2cdfb515f53e968e0e1a80bf07461e1ec69c1849..f5ca12b581b350576b8065972f910bb427b5840e 100644 (file)
@@ -48,9 +48,7 @@ dridir = $(DRI_DRIVER_INSTALL_DIR)
 noinst_LTLIBRARIES = libi965_dri.la
 dri_LTLIBRARIES = i965_dri.la
 
-libi965_dri_la_SOURCES = \
-       $(i965_C_FILES) \
-       $(i965_CXX_FILES)
+libi965_dri_la_SOURCES = $(i965_FILES)
 
 # list of libs to be linked against by i965_dri.so and i965 test programs.
 COMMON_LIBS = \
index f226fc25ea05c35d34c2997021894ae44330becd..a71d8b71da9f0838718ab9ede55c49ba55f0be3c 100644 (file)
@@ -2,7 +2,7 @@ i965_INCLUDES = \
        $(MESA_TOP)/src \
        $(MESA_TOP)/src/mesa/drivers/dri/intel
 
-i965_C_FILES = \
+i965_FILES = \
        intel_batchbuffer.c \
        intel_blit.c \
        intel_buffer_objects.c \
@@ -29,7 +29,10 @@ i965_C_FILES = \
        intel_tex_layout.c \
        intel_tex_subimage.c \
        intel_tex_validate.c \
+       brw_blorp.cpp \
+       brw_blorp_blit.cpp \
        brw_cc.c \
+       brw_cfg.cpp \
        brw_clear.c \
        brw_clip.c \
        brw_clip_line.c \
@@ -39,6 +42,7 @@ i965_C_FILES = \
        brw_clip_unfilled.c \
        brw_clip_util.c \
        brw_context.c \
+       brw_cubemap_normalize.cpp \
        brw_curbe.c \
        brw_disasm.c \
        brw_draw.c \
@@ -48,9 +52,21 @@ i965_C_FILES = \
        brw_eu_debug.c \
        brw_eu_emit.c \
        brw_eu_util.c \
+       brw_fs.cpp \
+       brw_fs_channel_expressions.cpp \
+       brw_fs_copy_propagation.cpp \
+       brw_fs_cse.cpp \
+       brw_fs_emit.cpp \
+       brw_fs_fp.cpp \
+       brw_fs_live_variables.cpp \
+       brw_fs_reg_allocate.cpp \
+       brw_fs_schedule_instructions.cpp \
+       brw_fs_vector_splitting.cpp \
+       brw_fs_visitor.cpp \
        brw_gs.c \
        brw_gs_emit.c \
        brw_gs_state.c \
+       brw_lower_texture_gradients.cpp \
        brw_misc_state.c \
        brw_optimize.c \
        brw_program.c \
@@ -59,6 +75,7 @@ i965_C_FILES = \
        brw_sf.c \
        brw_sf_emit.c \
        brw_sf_state.c \
+       brw_shader.cpp \
        brw_state_batch.c \
        brw_state_cache.c \
        brw_state_dump.c \
@@ -67,6 +84,13 @@ i965_C_FILES = \
        brw_tex_layout.c \
        brw_urb.c \
        brw_util.c \
+       brw_vec4.cpp \
+       brw_vec4_copy_propagation.cpp \
+       brw_vec4_emit.cpp \
+       brw_vec4_live_variables.cpp \
+       brw_vec4_reg_allocate.cpp \
+       brw_vec4_visitor.cpp \
+       brw_vec4_vp.cpp \
        brw_vs.c \
        brw_vs_constval.c \
        brw_vs_state.c \
@@ -77,6 +101,7 @@ i965_C_FILES = \
        brw_wm_sampler_state.c \
        brw_wm_state.c \
        brw_wm_surface_state.c \
+       gen6_blorp.cpp \
        gen6_cc.c \
        gen6_clip_state.c \
        gen6_depthstencil.c \
@@ -90,6 +115,7 @@ i965_C_FILES = \
        gen6_viewport_state.c \
        gen6_vs_state.c \
        gen6_wm_state.c \
+       gen7_blorp.cpp \
        gen7_cc_state.c \
        gen7_clip_state.c \
        gen7_disable.c \
@@ -101,34 +127,5 @@ i965_C_FILES = \
        gen7_viewport_state.c \
        gen7_vs_state.c \
        gen7_wm_state.c \
-       gen7_wm_surface_state.c
-
-i965_CXX_FILES = \
-       brw_blorp.cpp \
-       brw_blorp_blit.cpp \
-       brw_cfg.cpp \
-       brw_cubemap_normalize.cpp \
-       brw_fs.cpp \
-       brw_fs_cse.cpp \
-       brw_fs_copy_propagation.cpp \
-       brw_fs_emit.cpp \
-       brw_fs_fp.cpp \
-       brw_fs_live_variables.cpp \
-       brw_fs_visitor.cpp \
-       brw_fs_channel_expressions.cpp \
-       brw_fs_reg_allocate.cpp \
-       brw_fs_schedule_instructions.cpp \
-       brw_fs_vector_splitting.cpp \
-       brw_lower_texture_gradients.cpp \
-       brw_shader.cpp \
-       brw_vec4.cpp \
-       brw_vec4_emit.cpp \
-       brw_vec4_copy_propagation.cpp \
-       brw_vec4_live_variables.cpp \
-       brw_vec4_reg_allocate.cpp \
-       brw_vec4_visitor.cpp \
-       brw_vec4_vp.cpp \
-       gen6_blorp.cpp \
-       gen7_blorp.cpp
-
-i965_ASM_FILES =
+       gen7_wm_surface_state.c \
+        $()