2011-08-26 14:15:36 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
2013-05-21 10:37:49 +00:00
|
|
|
NULL =
|
|
|
|
|
2015-12-29 12:44:53 +00:00
|
|
|
SUBDIRS = parser nodes style
|
2011-08-26 14:15:36 +00:00
|
|
|
|
|
|
|
check_PROGRAMS = $(TEST_PROGS)
|
2013-05-21 10:37:49 +00:00
|
|
|
test_in_files =
|
2011-08-26 14:15:36 +00:00
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
-I$(top_srcdir)/gdk \
|
|
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
|
|
-DGTK_DISABLE_DEPRECATED \
|
|
|
|
-DGTK_VERSION=\"$(GTK_VERSION)\"\
|
|
|
|
$(GTK_DEBUG_FLAGS) \
|
|
|
|
$(GTK_DEP_CFLAGS)
|
|
|
|
|
|
|
|
LDADD = \
|
|
|
|
$(top_builddir)/gdk/libgdk-3.la \
|
|
|
|
$(top_builddir)/gtk/libgtk-3.la \
|
|
|
|
$(GTK_DEP_LIBS)
|
|
|
|
|
2013-05-28 22:08:42 +00:00
|
|
|
TEST_PROGS += api
|
2013-05-21 10:37:49 +00:00
|
|
|
test_in_files += api.test.in
|
|
|
|
|
2013-05-28 22:08:42 +00:00
|
|
|
EXTRA_DIST += $(test_in_files)
|
|
|
|
|
2013-05-21 10:37:49 +00:00
|
|
|
if BUILDOPT_INSTALL_TESTS
|
2014-05-31 04:16:07 +00:00
|
|
|
insttestdir=$(libexecdir)/installed-tests/$(PACKAGE)/css
|
2013-05-21 10:37:49 +00:00
|
|
|
insttest_PROGRAMS = $(TEST_PROGS)
|
|
|
|
|
|
|
|
substitutions = \
|
2014-05-31 04:16:07 +00:00
|
|
|
-e s,@libexecdir\@,$(libexecdir),g \
|
2013-05-21 10:37:49 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
test_files = $(test_in_files:.test.in=.test)
|
|
|
|
|
|
|
|
$(test_files): %.test: %.test.in
|
|
|
|
$(AM_V_GEN) sed $(substitutions) $< > $@.tmp && mv $@.tmp $@
|
|
|
|
|
2013-07-11 16:57:06 +00:00
|
|
|
DISTCLEANFILES = $(test_files)
|
|
|
|
|
2013-05-21 10:37:49 +00:00
|
|
|
testmetadir = $(datadir)/installed-tests/$(PACKAGE)/css
|
|
|
|
testmeta_DATA = $(test_files)
|
|
|
|
endif
|
2013-01-24 22:35:30 +00:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|