gobject/tests: use g_test_expect_messages()
[platform/upstream/glib.git] / gobject / tests / Makefile.am
1 include $(top_srcdir)/Makefile.decl
2
3 AM_CPPFLAGS =                                   \
4         -DG_LOG_DOMAIN=\"GLib-GObject\"
5
6 INCLUDES = -g $(gobject_INCLUDES) $(GLIB_DEBUG_FLAGS)
7
8 if CROSS_COMPILING
9   glib_genmarshal=$(GLIB_GENMARSHAL)
10 else
11   glib_genmarshal=$(top_builddir)/gobject/glib-genmarshal
12 endif
13
14 noinst_PROGRAMS  = $(TEST_PROGS)
15 LDADD = ../libgobject-2.0.la $(top_builddir)/gthread/libgthread-2.0.la $(top_builddir)/glib/libglib-2.0.la
16
17 TEST_PROGS +=           \
18         qdata           \
19         boxed           \
20         enums           \
21         param           \
22         signals         \
23         threadtests     \
24         dynamictests    \
25         binding         \
26         properties      \
27         reference       \
28         ifaceproperties \
29         valuearray
30
31 signals_SOURCES = signals.c marshalers.c
32
33 marshalers.h: Makefile.am marshalers.list
34         $(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --header --valist-marshallers > marshalers.h
35
36 marshalers.c: Makefile.am marshalers.list
37         $(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --body --valist-marshallers > marshalers.c
38
39 BUILT_SOURCES = marshalers.h marshalers.c
40 CLEANFILES = marshalers.h marshalers.c
41
42 ifaceproperties_SOURCES = ifaceproperties.c testcommon.h
43
44 EXTRA_DIST += marshalers.list