gtk2/testsuite/gdk/Makefile.am

49 lines
876 B
Makefile
Raw Normal View History

include $(top_srcdir)/Makefile.decl
NULL=
2010-10-25 16:01:11 +00:00
noinst_PROGRAMS = $(TEST_PROGS)
AM_CPPFLAGS = \
$(GDK_DEP_CFLAGS) \
-I$(top_srcdir) \
-I$(top_builddir)/gdk \
$(NULL)
LDADD = \
$(GDK_DEP_LIBS) \
$(top_builddir)/gdk/libgdk-3.la \
$(NULL)
2010-10-25 16:01:11 +00:00
#TEST_PROGS += check-gdk-cairo
TEST_PROGS += \
rgba \
encoding \
display \
keysyms \
$(NULL)
CLEANFILES = \
cairosurface.png \
gdksurface.png \
$(NULL)
2013-05-15 04:14:18 +00:00
if BUILDOPT_INSTALL_TESTS
insttestdir=$(pkglibexecdir)/installed-tests
insttest_PROGRAMS = $(TEST_PROGS)
%.test: %$(EXEEXT) Makefile
$(AM_V_GEN) (echo '[Test]' > $@.tmp; \
echo 'Type=session' >> $@.tmp; \
echo 'Exec=$(insttestdir)/$<' >> $@.tmp; \
mv $@.tmp $@)
2013-05-15 04:14:18 +00:00
test_files = $(TEST_PROGRS:=.test)
2013-05-15 04:14:18 +00:00
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
testmeta_DATA = $(test_files)
endif
-include $(top_srcdir)/git.mk