Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
+include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
noinst_LTLIBRARIES = libi915sw.la
-libi915sw_la_SOURCES = \
- i915_sw_batchbuffer.c \
- i915_sw_buffer.c \
- i915_sw_fence.c \
- i915_sw_winsys.c
+libi915sw_la_SOURCES = $(C_SOURCES)
--- /dev/null
+C_SOURCES := \
+ i915_sw_batchbuffer.c \
+ i915_sw_buffer.c \
+ i915_sw_fence.c \
+ i915_sw_winsys.c
env = env.Clone()
-i915_sw_sources = [
- 'i915_sw_batchbuffer.c',
- 'i915_sw_buffer.c',
- 'i915_sw_winsys.c',
- 'i915_sw_fence.c',
-]
+i915_sw_sources = env.ParseSourceList('Makefile.sources', 'C_SOURCES')
i915sw = env.ConvenienceLibrary(
target ='i915sw',