r300: add symlink to ralloc.c and register_allocate.c
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 26 Oct 2013 17:11:36 +0000 (18:11 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 16 Nov 2013 14:02:15 +0000 (14:02 +0000)
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>
src/gallium/drivers/r300/Makefile.am
src/gallium/drivers/r300/ralloc.c [new symlink]
src/gallium/drivers/r300/register_allocate.c [new symlink]

index 14aaf035a975dc4e2005709e10df980dbd22e9d8..524df241743c04d263a123c49bad3cb8f9b5a9bb 100644 (file)
@@ -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 (symlink)
index 0000000..c5402db
--- /dev/null
@@ -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 (symlink)
index 0000000..2117950
--- /dev/null
@@ -0,0 +1 @@
+../../../mesa/program/register_allocate.c
\ No newline at end of file