gtk2/testsuite/gdk/Makefile.am

69 lines
1.3 KiB
Makefile
Raw Normal View History

include $(top_srcdir)/Makefile.decl
NULL=
2010-10-25 16:01:11 +00:00
noinst_PROGRAMS = $(TEST_PROGS)
2010-10-25 16:01:11 +00:00
AM_CPPFLAGS = \
$(GDK_DEP_CFLAGS) \
-I$(top_srcdir) \
-I$(top_builddir)/gdk \
$(NULL)
2010-10-25 16:01:11 +00:00
progs_ldadd = \
$(GDK_DEP_LIBS) \
$(top_builddir)/gdk/libgdk-3.la \
$(NULL)
2010-10-25 16:01:11 +00:00
#TEST_PROGS += check-gdk-cairo
#check_gdk_cairo_SOURCES = check-gdk-cairo.c
#check_gdk_cairo_LDADD = $(progs_ldadd)
2010-10-25 16:01:11 +00:00
TEST_PROGS += rgba
rgba_SOURCES = rgba.c
rgba_LDADD = $(progs_ldadd)
2010-10-25 16:01:11 +00:00
TEST_PROGS += encoding
encoding_SOURCES = encoding.c
encoding_LDADD = $(progs_ldadd)
TEST_PROGS += display
display_SOURCES = display.c
display_LDADD = $(progs_ldadd)
TEST_PROGS += keysyms
keysyms_SOURCES = keysyms.c
keysyms_LDADD = $(progs_ldadd)
CLEANFILES = \
cairosurface.png \
gdksurface.png
2013-05-15 04:14:18 +00:00
if BUILDOPT_INSTALL_TESTS
insttestdir=$(pkglibexecdir)/installed-tests
insttest_PROGRAMS = $(TEST_PROGS)
substitutions = \
-e s,@pkglibexecdir\@,$(pkglibexecdir),g \
$(NULL)
test_in_files = \
rgba.test.in \
encoding.test.in \
display.test.in \
keysyms.test.in \
$(NULL)
test_files = $(test_in_files:.test.in=.test)
$(test_files): %.test: %.test.in
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
EXTRA_DIST += $(test_in_files)
testmetadir = $(datadir)/installed-tests/$(PACKAGE)
testmeta_DATA = $(test_files)
endif
-include $(top_srcdir)/git.mk