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
|
|
|
|
2010-10-25 16:01:11 +00:00
|
|
|
AM_CPPFLAGS = \
|
2008-07-22 18:50:54 +00:00
|
|
|
$(GDK_DEP_CFLAGS) \
|
2008-08-08 22:22:26 +00:00
|
|
|
-I$(top_srcdir) \
|
2008-07-22 18:50:54 +00:00
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-25 16:01:11 +00:00
|
|
|
progs_ldadd = \
|
2008-07-22 18:50:54 +00:00
|
|
|
$(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
|
2011-01-03 15:55:23 +00:00
|
|
|
#check_gdk_cairo_SOURCES = check-gdk-cairo.c
|
|
|
|
#check_gdk_cairo_LDADD = $(progs_ldadd)
|
2010-10-25 16:01:11 +00:00
|
|
|
|
2012-01-08 00:02:48 +00:00
|
|
|
TEST_PROGS += rgba
|
|
|
|
rgba_SOURCES = rgba.c
|
|
|
|
rgba_LDADD = $(progs_ldadd)
|
2010-10-25 16:01:11 +00:00
|
|
|
|
2010-12-24 21:27:31 +00:00
|
|
|
TEST_PROGS += encoding
|
2011-01-18 14:36:24 +00:00
|
|
|
encoding_SOURCES = encoding.c
|
|
|
|
encoding_LDADD = $(progs_ldadd)
|
|
|
|
|
|
|
|
TEST_PROGS += display
|
|
|
|
display_SOURCES = display.c
|
|
|
|
display_LDADD = $(progs_ldadd)
|
2010-12-24 21:27:31 +00:00
|
|
|
|
2013-04-19 23:28:09 +00:00
|
|
|
TEST_PROGS += keysyms
|
|
|
|
keysyms_SOURCES = keysyms.c
|
|
|
|
keysyms_LDADD = $(progs_ldadd)
|
|
|
|
|
2008-08-04 10:20:16 +00:00
|
|
|
CLEANFILES = \
|
|
|
|
cairosurface.png \
|
|
|
|
gdksurface.png
|
2009-05-04 00:08:11 +00:00
|
|
|
|
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
|
|
|
|
|
2009-05-04 00:08:11 +00:00
|
|
|
-include $(top_srcdir)/git.mk
|