ab5dd94c93
Another case of missing wayland-util.h, as we didn't pass any libwayland CFLAGS. This is triggerable on a system, where libwayland is installed in a custom prefix, and pixman, cairo, libpng, and webp are either not installed or are installed in the standard path. COMPOSITOR_CFLAGS contains more than just the libwayland CFLAGS, though. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
43 lines
873 B
Makefile
43 lines
873 B
Makefile
noinst_LTLIBRARIES = libshared.la libshared-cairo.la
|
|
|
|
libshared_la_CFLAGS = $(GCC_CFLAGS) $(COMPOSITOR_CFLAGS)
|
|
|
|
libshared_la_SOURCES = \
|
|
config-parser.c \
|
|
option-parser.c \
|
|
config-parser.h \
|
|
os-compatibility.c \
|
|
os-compatibility.h
|
|
|
|
libshared_cairo_la_CFLAGS = \
|
|
$(GCC_CFLAGS) \
|
|
$(COMPOSITOR_CFLAGS) \
|
|
$(PIXMAN_CFLAGS) \
|
|
$(CAIRO_CFLAGS) \
|
|
$(PNG_CFLAGS) \
|
|
$(WEBP_CFLAGS)
|
|
|
|
libshared_cairo_la_LIBADD = \
|
|
$(PIXMAN_LIBS) \
|
|
$(CAIRO_LIBS) \
|
|
$(PNG_LIBS) \
|
|
$(WEBP_LIBS) \
|
|
$(JPEG_LIBS)
|
|
|
|
libshared_cairo_la_SOURCES = \
|
|
$(libshared_la_SOURCES) \
|
|
image-loader.c \
|
|
image-loader.h \
|
|
cairo-util.c \
|
|
cairo-util.h
|
|
|
|
TESTS = config-parser-test
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
config_parser_test_LDADD = $(COMPOSITOR_LIBS)
|
|
config_parser_test_SOURCES = \
|
|
config-parser.c \
|
|
config-parser.h \
|
|
config-parser-test.c
|