glib/gobject/tests/Makefile.am

45 lines
1.1 KiB
Makefile
Raw Normal View History

include $(top_srcdir)/Makefile.decl
AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"GLib-GObject\"
INCLUDES = -g $(gobject_INCLUDES) $(GLIB_DEBUG_FLAGS)
if CROSS_COMPILING
glib_genmarshal=$(GLIB_GENMARSHAL)
else
glib_genmarshal=$(top_builddir)/gobject/glib-genmarshal
endif
noinst_PROGRAMS = $(TEST_PROGS)
LDADD = ../libgobject-2.0.la $(top_builddir)/gthread/libgthread-2.0.la $(top_builddir)/glib/libglib-2.0.la
TEST_PROGS += \
qdata \
boxed \
enums \
param \
signals \
threadtests \
dynamictests \
binding \
properties \
reference \
ifaceproperties \
valuearray
2012-03-02 18:06:36 +01:00
signals_SOURCES = signals.c marshalers.c
2012-03-02 16:16:17 +01:00
2012-03-02 18:06:36 +01:00
marshalers.h: Makefile.am marshalers.list
$(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --header --valist-marshallers > marshalers.h
2012-03-02 16:16:17 +01:00
2012-03-02 18:06:36 +01:00
marshalers.c: Makefile.am marshalers.list
$(AM_V_GEN) $(glib_genmarshal) --prefix=test $(srcdir)/marshalers.list --body --valist-marshallers > marshalers.c
2012-03-02 16:16:17 +01:00
2012-03-02 18:06:36 +01:00
BUILT_SOURCES = marshalers.h marshalers.c
CLEANFILES = marshalers.h marshalers.c
ifaceproperties_SOURCES = ifaceproperties.c testcommon.h
2012-03-02 16:16:17 +01:00
2012-03-02 18:06:36 +01:00
EXTRA_DIST += marshalers.list