Update to version 2.33.1
[profile/ivi/glib2.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         boxed           \
16         enums           \
17         param           \
18         signals         \
19         threadtests     \
20         dynamictests    \
21         binding         \
22         properties      \
23         reference       \
24         ifaceproperties \
25         valuearray
26
27 signals_SOURCES = signals.c marshalers.c
28
29 marshalers.h: Makefile.am marshalers.list
30         $(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --header --valist-marshallers > marshalers.h
31
32 marshalers.c: Makefile.am marshalers.list
33         $(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --body --valist-marshallers > marshalers.c
34
35 BUILT_SOURCES = marshalers.h marshalers.c
36 CLEANFILES = marshalers.h marshalers.c
37
38 ifaceproperties_SOURCES = ifaceproperties.c testcommon.h
39
40 EXTRA_DIST += marshalers.list