summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2013-10-26 18:11:36 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2013-11-16 14:02:15 +0000
commit2c1bb79213a50480baba3805df228b4d311bda28 (patch)
treeaa00035e880dbaf34c83015b4bb4ffd6c4926e77
parentb3c60ff5d04128820263e7212152f81377ab6db5 (diff)
r300: add symlink to ralloc.c and register_allocate.c
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>
-rw-r--r--src/gallium/drivers/r300/Makefile.am6
l---------src/gallium/drivers/r300/ralloc.c1
l---------src/gallium/drivers/r300/register_allocate.c1
3 files changed, 5 insertions, 3 deletions
diff --git a/src/gallium/drivers/r300/Makefile.am b/src/gallium/drivers/r300/Makefile.am
index 14aaf035a97..524df241743 100644
--- a/src/gallium/drivers/r300/Makefile.am
+++ b/src/gallium/drivers/r300/Makefile.am
@@ -8,7 +8,7 @@ TESTS = r300_compiler_tests
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 \
@@ -40,5 +40,5 @@ libr300_la_SOURCES = $(C_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
diff --git a/src/gallium/drivers/r300/ralloc.c b/src/gallium/drivers/r300/ralloc.c
new file mode 120000
index 00000000000..c5402db8e3f
--- /dev/null
+++ b/src/gallium/drivers/r300/ralloc.c
@@ -0,0 +1 @@
+../../../glsl/ralloc.c \ No newline at end of file
diff --git a/src/gallium/drivers/r300/register_allocate.c b/src/gallium/drivers/r300/register_allocate.c
new file mode 120000
index 00000000000..21179507e02
--- /dev/null
+++ b/src/gallium/drivers/r300/register_allocate.c
@@ -0,0 +1 @@
+../../../mesa/program/register_allocate.c \ No newline at end of file