Add myself to the DOAP for GLib
[glib.git] / gobject / tests / Makefile.am
blob1cad19c5470a8a8200c6f9926bd0359a1ded25d3
1 include $(top_srcdir)/glib-tap.mk
3 LDADD = ../libgobject-2.0.la $(top_builddir)/glib/libglib-2.0.la
4 AM_CPPFLAGS = -g $(gobject_INCLUDES) $(GLIB_DEBUG_FLAGS)
5 DEFS = -DG_LOG_DOMAIN=\"GLib-GObject\"
6 AM_CFLAGS = $(GLIB_WARN_CFLAGS)
8 # -----------------------------------------------------------------------------
10 test_programs = \
11         qdata                           \
12         boxed                           \
13         enums                           \
14         param                           \
15         threadtests                     \
16         dynamictests                    \
17         binding                         \
18         properties                      \
19         reference                       \
20         value                           \
21         type                            \
22         private                         \
23         closure                         \
24         object                          \
25         signal-handler                  \
26         $(NULL)
28 # -----------------------------------------------------------------------------
30 test_programs += ifaceproperties
31 ifaceproperties_SOURCES = ifaceproperties.c testcommon.h
33 # -----------------------------------------------------------------------------
35 # The marshalers test requires running a binary, so we cannot build it when
36 # cross-compiling
38 glib_genmarshal = $(top_builddir)/gobject/glib-genmarshal
40 test_programs += signals
41 signals_SOURCES = signals.c
42 nodist_signals_SOURCES = marshalers.c marshalers.h
43 signals.o: marshalers.h
44 CLEANFILES += marshalers.h marshalers.c
45 EXTRA_DIST += marshalers.list
47 marshalers.h: $(srcdir)/marshalers.list Makefile.am
48         $(AM_V_GEN) $(glib_genmarshal) \
49                 --prefix=test \
50                 --valist-marshallers \
51                 --output=$@ \
52                 --quiet \
53                 --header \
54                 $<
56 marshalers.c: $(srcdir)/marshalers.list marshalers.h Makefile.am
57         $(AM_V_GEN) $(glib_genmarshal) \
58                 --prefix=test \
59                 --valist-marshallers \
60                 --include-header=marshalers.h \
61                 --output=$@ \
62                 --quiet \
63                 --body \
64                 $<