mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-06-02 06:38:23 +02:00
... minus test/ttmtest. The latter is not really hooked up with the actual build. This will give us 66 warnings on a distribution build of which - 12 -Wunused-variable - 11 -Wunused-function - 19 -Wmissing-prototypes and a few -Wswitch-enum, -Wtype-limits etc. Adding the CFLAGS gives some exposure to these so that we can fix them. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
23 lines
331 B
Makefile
23 lines
331 B
Makefile
AM_CFLAGS = \
|
|
$(WARN_CFLAGS)\
|
|
-I$(top_srcdir)/include/drm \
|
|
-I$(top_srcdir)/libkms/ \
|
|
-I$(top_srcdir)
|
|
|
|
if HAVE_INSTALL_TESTS
|
|
bin_PROGRAMS = \
|
|
kmstest
|
|
else
|
|
noinst_PROGRAMS = \
|
|
kmstest
|
|
endif
|
|
|
|
kmstest_SOURCES = \
|
|
main.c
|
|
|
|
kmstest_LDADD = \
|
|
$(top_builddir)/libdrm.la \
|
|
$(top_builddir)/libkms/libkms.la
|
|
|
|
run: kmstest
|
|
./kmstest
|