Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
+include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
noinst_LTLIBRARIES = libfreedreno.la
SUBDIRS = a2xx a3xx
-libfreedreno_la_SOURCES = \
- freedreno_util.c \
- freedreno_fence.c \
- freedreno_resource.c \
- freedreno_surface.c \
- freedreno_draw.c \
- freedreno_state.c \
- freedreno_texture.c \
- freedreno_context.c \
- freedreno_screen.c \
- freedreno_gmem.c
+libfreedreno_la_SOURCES = $(C_SOURCES)
libfreedreno_la_LIBADD = \
a3xx/libfd3xx.la \
--- /dev/null
+C_SOURCES := \
+ freedreno_util.c \
+ freedreno_fence.c \
+ freedreno_resource.c \
+ freedreno_surface.c \
+ freedreno_draw.c \
+ freedreno_state.c \
+ freedreno_texture.c \
+ freedreno_context.c \
+ freedreno_screen.c \
+ freedreno_gmem.c
+include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
noinst_LTLIBRARIES = libfd2xx.la
$(FREEDRENO_CFLAGS) \
$(VISIBILITY_CFLAGS)
-libfd2xx_la_SOURCES = \
- fd2_blend.c \
- fd2_compiler.c \
- fd2_context.c \
- fd2_draw.c \
- fd2_emit.c \
- fd2_gmem.c \
- fd2_program.c \
- fd2_rasterizer.c \
- fd2_screen.c \
- fd2_texture.c \
- fd2_util.c \
- fd2_zsa.c \
- disasm-a2xx.c \
- ir-a2xx.c
+libfd2xx_la_SOURCES = $(C_SOURCES)
--- /dev/null
+C_SOURCES := \
+ fd2_blend.c \
+ fd2_compiler.c \
+ fd2_context.c \
+ fd2_draw.c \
+ fd2_emit.c \
+ fd2_gmem.c \
+ fd2_program.c \
+ fd2_rasterizer.c \
+ fd2_screen.c \
+ fd2_texture.c \
+ fd2_util.c \
+ fd2_zsa.c \
+ disasm-a2xx.c \
+ ir-a2xx.c
+include Makefile.sources
include $(top_srcdir)/src/gallium/Automake.inc
noinst_LTLIBRARIES = libfd3xx.la
$(FREEDRENO_CFLAGS) \
$(VISIBILITY_CFLAGS)
-libfd3xx_la_SOURCES = \
- fd3_blend.c \
- fd3_compiler.c \
- fd3_context.c \
- fd3_draw.c \
- fd3_emit.c \
- fd3_gmem.c \
- fd3_program.c \
- fd3_rasterizer.c \
- fd3_screen.c \
- fd3_texture.c \
- fd3_util.c \
- fd3_zsa.c \
- disasm-a3xx.c \
- ir-a3xx.c
+libfd3xx_la_SOURCES = $(C_SOURCES)
--- /dev/null
+C_SOURCES := \
+ fd3_blend.c \
+ fd3_compiler.c \
+ fd3_context.c \
+ fd3_draw.c \
+ fd3_emit.c \
+ fd3_gmem.c \
+ fd3_program.c \
+ fd3_rasterizer.c \
+ fd3_screen.c \
+ fd3_texture.c \
+ fd3_util.c \
+ fd3_zsa.c \
+ disasm-a3xx.c \
+ ir-a3xx.c