build: Fix rules for marshalers.[ch]
[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 noinst_PROGRAMS  = $(TEST_PROGS)
6 LDADD = ../libgobject-2.0.la $(top_builddir)/gthread/libgthread-2.0.la $(top_builddir)/glib/libglib-2.0.la
7
8 TEST_PROGS +=           \
9         boxed           \
10         enums           \
11         param           \
12         signals         \
13         threadtests     \
14         dynamictests    \
15         binding         \
16         properties      \
17         reference       \
18         ifaceproperties \
19         valuearray
20
21 signals_SOURCES = signals.c marshalers.c
22
23 marshalers.h: Makefile.am marshalers.list
24         $(AM_V_GEN) ../glib-genmarshal --prefix=test $(srcdir)/marshalers.list --header --valist-marshallers > marshalers.h
25
26 marshalers.c: Makefile.am marshalers.list
27         $(AM_V_GEN) ../glib-genmarshal --prefix=test $(srcdir)/marshalers.list --body --valist-marshallers > marshalers.c
28
29 BUILT_SOURCES = marshalers.h marshalers.c
30 CLEANFILES = marshalers.h marshalers.c
31
32 ifaceproperties_SOURCES = ifaceproperties.c testcommon.h
33
34 EXTRA_DIST += marshalers.list