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