summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-11-06 23:18:37 -0800
committerChad Versace <[email protected]>2012-11-12 15:52:42 -0800
commit34d4216e64101a692d5ffb3936e7261a1732953a (patch)
tree8467cac96a7bec8aa4fd3363f898340bc782ffd2 /src
parente9e8e194e2c607f14cbf3c3df6d5daeb1890603b (diff)
automake: Merge per-type *_FILES variables in intel drivers.
Reviewed-by: Chad Versace <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i915/Makefile.am5
-rw-r--r--src/mesa/drivers/dri/i915/Makefile.sources2
-rw-r--r--src/mesa/drivers/dri/i965/Android.mk4
-rw-r--r--src/mesa/drivers/dri/i965/Makefile.am4
-rw-r--r--src/mesa/drivers/dri/i965/Makefile.sources61
5 files changed, 33 insertions, 43 deletions
diff --git a/src/mesa/drivers/dri/i915/Makefile.am b/src/mesa/drivers/dri/i915/Makefile.am
index 32986d1c87b..677eba84760 100644
--- a/src/mesa/drivers/dri/i915/Makefile.am
+++ b/src/mesa/drivers/dri/i915/Makefile.am
@@ -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 \
diff --git a/src/mesa/drivers/dri/i915/Makefile.sources b/src/mesa/drivers/dri/i915/Makefile.sources
index 9da2f396269..183a1dae1ed 100644
--- a/src/mesa/drivers/dri/i915/Makefile.sources
+++ b/src/mesa/drivers/dri/i915/Makefile.sources
@@ -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 \
diff --git a/src/mesa/drivers/dri/i965/Android.mk b/src/mesa/drivers/dri/i965/Android.mk
index fbc6fc0e1db..c4637e5f1af 100644
--- a/src/mesa/drivers/dri/i965/Android.mk
+++ b/src/mesa/drivers/dri/i965/Android.mk
@@ -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)
diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
index 2cdfb515f53..f5ca12b581b 100644
--- a/src/mesa/drivers/dri/i965/Makefile.am
+++ b/src/mesa/drivers/dri/i965/Makefile.am
@@ -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 = \
diff --git a/src/mesa/drivers/dri/i965/Makefile.sources b/src/mesa/drivers/dri/i965/Makefile.sources
index f226fc25ea0..a71d8b71da9 100644
--- a/src/mesa/drivers/dri/i965/Makefile.sources
+++ b/src/mesa/drivers/dri/i965/Makefile.sources
@@ -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 \
+ $()