• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include Makefile.sources
2
3AM_CFLAGS = $(filter-out -Wpointer-arith, $(WARN_CFLAGS))
4
5AM_CFLAGS += \
6	-I$(top_srcdir)/include/drm \
7	-I$(top_srcdir)/libkms/ \
8	-I$(top_srcdir)
9
10PLANETEST_COMMON_LDADD = \
11	$(top_builddir)/libdrm.la \
12	$(top_builddir)/libkms/libkms.la \
13	-lpthread
14
15if HAVE_INSTALL_TESTS
16bin_PROGRAMS = \
17	atomictest \
18	planetest
19else
20noinst_PROGRAMS = \
21	atomictest \
22	planetest
23endif
24
25atomictest_CFLAGS=-DUSE_ATOMIC_API ${AM_CFLAGS}
26atomictest_SOURCES=${PLANETEST_COMMON_FILES} ${ATOMICTEST_FILES}
27planetest_SOURCES=${PLANETEST_COMMON_FILES} ${PLANETEST_FILES}
28
29atomictest_LDADD=${PLANETEST_COMMON_LDADD}
30planetest_LDADD=${PLANETEST_COMMON_LDADD}
31