[Mesa-dev] [PATCH 22/37] x86-64: add symlink to ../x86/gen_matypes.c

Emil Velikov emil.l.velikov at gmail.com
Sat Nov 2 12:00:52 PDT 2013


Make automake's subdir-object work.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/mesa/x86-64/Makefile.am   | 2 +-
 src/mesa/x86-64/gen_matypes.c | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 120000 src/mesa/x86-64/gen_matypes.c

diff --git a/src/mesa/x86-64/Makefile.am b/src/mesa/x86-64/Makefile.am
index b62387d..1a6066f 100644
--- a/src/mesa/x86-64/Makefile.am
+++ b/src/mesa/x86-64/Makefile.am
@@ -29,7 +29,7 @@ AM_CPPFLAGS = \
 
 noinst_PROGRAMS = gen_matypes
 
-gen_matypes_SOURCES = ../x86/gen_matypes.c
+gen_matypes_SOURCES = gen_matypes.c
 BUILT_SOURCES = matypes.h
 CLEANFILES = matypes.h
 
diff --git a/src/mesa/x86-64/gen_matypes.c b/src/mesa/x86-64/gen_matypes.c
new file mode 120000
index 0000000..ef83df6
--- /dev/null
+++ b/src/mesa/x86-64/gen_matypes.c
@@ -0,0 +1 @@
+../x86/gen_matypes.c
\ No newline at end of file
-- 
1.8.4.2



More information about the mesa-dev mailing list