2008-07-22 18:50:54 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
|
|
|
NULL=
|
|
|
|
|
2010-10-25 16:01:11 +00:00
|
|
|
noinst_PROGRAMS = $(TEST_PROGS)
|
2008-07-22 18:50:54 +00:00
|
|
|
|
2013-06-15 18:23:22 +00:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
$(GDK_DEP_CFLAGS) \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)/gdk \
|
2008-07-22 18:50:54 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2013-06-15 18:23:22 +00:00
|
|
|
LDADD = \
|
|
|
|
$(GDK_DEP_LIBS) \
|
2011-02-10 19:41:02 +00:00
|
|
|
$(top_builddir)/gdk/libgdk-3.la \
|
2008-07-22 18:50:54 +00:00
|
|
|
$(NULL)
|
2008-08-04 10:20:16 +00:00
|
|
|
|
2010-10-25 16:01:11 +00:00
|
|
|
#TEST_PROGS += check-gdk-cairo
|
|
|
|
|
2013-06-15 18:23:22 +00:00
|
|
|
TEST_PROGS += \
|
2015-02-20 23:03:49 +00:00
|
|
|
cairo \
|
2013-06-15 18:23:22 +00:00
|
|
|
display \
|
2015-02-20 23:03:49 +00:00
|
|
|
encoding \
|
2013-06-15 18:23:22 +00:00
|
|
|
keysyms \
|
2016-03-28 23:54:55 +00:00
|
|
|
rectangle \
|
2015-02-20 23:03:49 +00:00
|
|
|
rgba \
|
2016-03-28 23:22:36 +00:00
|
|
|
seat \
|
2016-03-26 14:09:19 +00:00
|
|
|
visual \
|
2013-06-15 18:23:22 +00:00
|
|
|
$(NULL)
|
2013-04-19 23:28:09 +00:00
|
|
|
|
2013-05-28 22:08:42 +00:00
|
|
|
CLEANFILES = \
|
2008-08-04 10:20:16 +00:00
|
|
|
cairosurface.png \
|
2013-05-28 22:08:42 +00:00
|
|
|
gdksurface.png \
|
|
|
|
$(NULL)
|
|
|
|
|
2019-03-30 19:06:25 +00:00
|
|
|
EXTRA_DIST += \
|
|
|
|
meson.build
|
|
|
|
|
2013-05-15 04:14:18 +00:00
|
|
|
if BUILDOPT_INSTALL_TESTS
|
2014-05-31 04:16:07 +00:00
|
|
|
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)
|
2013-05-15 04:14:18 +00:00
|
|
|
insttest_PROGRAMS = $(TEST_PROGS)
|
|
|
|
|
2013-06-15 18:23:22 +00:00
|
|
|
%.test: %$(EXEEXT) Makefile
|
|
|
|
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
|
|
|
|
echo 'Type=session' >> $@.tmp; \
|
2016-01-30 15:29:06 +00:00
|
|
|
echo 'Output=TAP' >> $@.tmp; \
|
|
|
|
echo 'Exec=$(insttestdir)/$< --tap' >> $@.tmp; \
|
2013-06-15 18:23:22 +00:00
|
|
|
mv $@.tmp $@)
|
2013-05-15 04:14:18 +00:00
|
|
|
|
2013-06-15 18:23:22 +00:00
|
|
|
test_files = $(TEST_PROGRS:=.test)
|
2013-05-15 04:14:18 +00:00
|
|
|
|
2013-07-11 16:57:06 +00:00
|
|
|
DISTCLEANFILES = $(test_files)
|
|
|
|
|
2013-05-15 04:14:18 +00:00
|
|
|
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
|
|
|
|
testmeta_DATA = $(test_files)
|
|
|
|
endif
|
|
|
|
|
2009-05-04 00:08:11 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|