1 include $(top_srcdir)/glib.mk
3 LDADD = ../libgobject-2.0.la $(top_builddir)/glib/libglib-2.0.la
4 AM_CPPFLAGS = -g $(gobject_INCLUDES) $(GLIB_DEBUG_FLAGS)
5 DEFS = -DG_LOG_DOMAIN=\"GLib-GObject\"
6 AM_CFLAGS = $(GLIB_WARN_CFLAGS)
8 # -----------------------------------------------------------------------------
25 # -----------------------------------------------------------------------------
27 test_programs += ifaceproperties
28 ifaceproperties_SOURCES = ifaceproperties.c testcommon.h
30 # -----------------------------------------------------------------------------
32 test_programs += signals
33 signals_SOURCES = signals.c
34 nodist_signals_SOURCES = marshalers.c marshalers.h
35 signals.o: marshalers.h
36 CLEANFILES += marshalers.h marshalers.c
37 EXTRA_DIST += marshalers.list
40 glib_genmarshal=$(GLIB_GENMARSHAL)
42 glib_genmarshal=$(top_builddir)/gobject/glib-genmarshal
45 marshalers.h: Makefile.am marshalers.list
46 $(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --header --valist-marshallers > marshalers.h
48 marshalers.c: Makefile.am marshalers.h marshalers.list
49 $(AM_V_GEN) (echo "#include \"marshalers.h\""; $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --body --valist-marshallers) > $@.tmp && mv $@.tmp $@