1 include $(top_srcdir)/Makefile.decl
5 -DG_LOG_DOMAIN=\"GLib-GObject\" \
9 AM_CFLAGS = $(GLIB_WARN_CFLAGS)
12 glib_genmarshal=$(GLIB_GENMARSHAL)
14 glib_genmarshal=$(top_builddir)/gobject/glib-genmarshal
17 noinst_PROGRAMS = $(TEST_PROGS)
18 LDADD = ../libgobject-2.0.la $(top_builddir)/gthread/libgthread-2.0.la $(top_builddir)/glib/libglib-2.0.la
34 signals_SOURCES = signals.c marshalers.c
36 marshalers.h: Makefile.am marshalers.list
37 $(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --header --valist-marshallers > marshalers.h
39 marshalers.c: Makefile.am marshalers.list
40 $(AM_V_GEN) (echo "#include \"marshalers.h\""; $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --body --valist-marshallers) > $@.tmp && mv $@.tmp $@
42 BUILT_SOURCES = marshalers.h marshalers.c
43 CLEANFILES = marshalers.h marshalers.c
45 ifaceproperties_SOURCES = ifaceproperties.c testcommon.h
47 EXTRA_DIST += marshalers.list
49 if BUILDOPT_INSTALL_TESTS
50 insttestdir = $(pkglibexecdir)/installed-tests
51 insttest_PROGRAMS = $(TEST_PROGS)
53 testmetadir = $(datadir)/installed-tests/$(PACKAGE)
54 testmeta_DATA = $(TEST_PROGS:=.test)
56 %.test: %$(EXEEXT) Makefile
57 $(AM_V_GEN) (echo '[Test]' > $@.tmp; \
58 echo 'Type=session' >> $@.tmp; \
59 echo 'Exec=env G_TEST_DATA=$(pkglibexecdir)/installed-tests $(pkglibexecdir)/installed-tests/$<' >> $@.tmp; \