Move matrix.[ch] to shared

This means it can be used for the calibration tool.
This commit is contained in:
Rob Bradford 2012-12-03 19:44:14 +00:00 committed by Kristian Høgsberg
parent 80137f3afe
commit 4a822495fa
7 changed files with 7 additions and 7 deletions

View file

@ -7,7 +7,9 @@ libshared_la_SOURCES = \
option-parser.c \
config-parser.h \
os-compatibility.c \
os-compatibility.h
os-compatibility.h \
matrix.c \
matrix.h
libshared_cairo_la_CFLAGS = \
$(GCC_CFLAGS) \

View file

@ -32,8 +32,6 @@ weston_SOURCES = \
workspaces-protocol.c \
workspaces-server-protocol.h \
util.c \
matrix.c \
matrix.h \
gl-renderer.h \
gl-renderer.c \
noop-renderer.c \

View file

@ -28,7 +28,7 @@
#include <xkbcommon/xkbcommon.h>
#include <wayland-server.h>
#include "matrix.h"
#include "../shared/matrix.h"
#include "../shared/config-parser.h"
#define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0])

View file

@ -36,8 +36,8 @@ noinst_PROGRAMS = $(setbacklight) matrix-test
matrix_test_SOURCES = \
matrix-test.c \
$(top_srcdir)/src/matrix.c \
$(top_srcdir)/src/matrix.h
$(top_srcdir)/shared/matrix.c \
$(top_srcdir)/shared/matrix.h
matrix_test_LDADD = -lm -lrt
setbacklight_SOURCES = \

View file

@ -27,7 +27,7 @@
#include <signal.h>
#include <time.h>
#include "matrix.h"
#include "../shared/matrix.h"
struct inverse_matrix {
double LU[16]; /* column-major */