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