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