Make automake's subdir-objects work.
Update includes.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
AM_CFLAGS = \
-I$(top_srcdir)/src/gallium/drivers \
AM_CFLAGS = \
-I$(top_srcdir)/src/gallium/drivers \
- -I$(top_srcdir)/include \
+ -I$(top_srcdir)/src/mesa/program \
-I$(top_srcdir)/src/mesa \
-I$(top_srcdir)/src/glsl \
-I$(top_srcdir)/src/mapi \
-I$(top_srcdir)/src/mesa \
-I$(top_srcdir)/src/glsl \
-I$(top_srcdir)/src/mapi \
# Solve this by building them into a separate helper library that can be linked
# in place of libmesagallium.
libr300_helper_la_SOURCES = \
# Solve this by building them into a separate helper library that can be linked
# in place of libmesagallium.
libr300_helper_la_SOURCES = \
- $(top_srcdir)/src/glsl/ralloc.c \
- $(top_srcdir)/src/mesa/program/register_allocate.c
+ ralloc.c \
+ register_allocate.c
--- /dev/null
+../../../glsl/ralloc.c
\ No newline at end of file
--- /dev/null
+../../../mesa/program/register_allocate.c
\ No newline at end of file