mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-06-03 04:48:25 +02:00
Enable all standard automake warnings except for -Wpointer-arith (as the test pattern generation code uses void pointer arithmetics) and fix them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
26 lines
459 B
Makefile
26 lines
459 B
Makefile
AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS))
|
|
|
|
AM_CFLAGS += \
|
|
-I$(top_srcdir)/include/drm \
|
|
-I$(top_srcdir)/libkms/ \
|
|
-I$(top_srcdir)
|
|
|
|
if HAVE_INSTALL_TESTS
|
|
bin_PROGRAMS = \
|
|
modetest
|
|
else
|
|
noinst_PROGRAMS = \
|
|
modetest
|
|
endif
|
|
|
|
modetest_SOURCES = \
|
|
buffers.c modetest.c buffers.h
|
|
|
|
modetest_LDADD = \
|
|
$(top_builddir)/libdrm.la \
|
|
$(top_builddir)/libkms/libkms.la
|
|
|
|
if HAVE_CAIRO
|
|
AM_CFLAGS += $(CAIRO_CFLAGS)
|
|
modetest_LDADD += $(CAIRO_LIBS)
|
|
endif
|