This means it can be used for the calibration tool.
@ -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) \
@ -32,8 +32,6 @@ weston_SOURCES = \
workspaces-protocol.c \
workspaces-server-protocol.h \
util.c \
matrix.h \
gl-renderer.h \
gl-renderer.c \
noop-renderer.c \
@ -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])
@ -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 = \
@ -27,7 +27,7 @@
#include <signal.h>
#include <time.h>
struct inverse_matrix {
double LU[16]; /* column-major */