modetest: move sources lists to makefiles.sources

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
main
Emil Velikov 2014-09-07 18:20:03 +01:00
parent a3dfd6d40d
commit fea3831133
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,5 @@
include Makefile.sources
AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS)) AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS))
AM_CFLAGS += \ AM_CFLAGS += \
@ -13,10 +15,7 @@ noinst_PROGRAMS = \
modetest modetest
endif endif
modetest_SOURCES = \ modetest_SOURCES = $(MODETEST_FILES)
buffers.c buffers.h \
cursor.c cursor.h \
modetest.c
modetest_LDADD = \ modetest_LDADD = \
$(top_builddir)/libdrm.la \ $(top_builddir)/libdrm.la \

View File

@ -0,0 +1,6 @@
MODETEST_FILES := \
buffers.c \
buffers.h \
cursor.c \
cursor.h \
modetest.c