Blame gobject/tests/Makefile.am

Packit ae235b
include $(top_srcdir)/glib-tap.mk
Packit ae235b
Packit ae235b
LDADD = ../libgobject-2.0.la $(top_builddir)/glib/libglib-2.0.la
Packit ae235b
AM_CPPFLAGS = -g $(gobject_INCLUDES) $(GLIB_DEBUG_FLAGS)
Packit ae235b
DEFS = -DG_LOG_DOMAIN=\"GLib-GObject\"
Packit ae235b
AM_CFLAGS = $(GLIB_WARN_CFLAGS)
Packit ae235b
Packit ae235b
# -----------------------------------------------------------------------------
Packit ae235b
Packit ae235b
test_programs = \
Packit ae235b
	qdata				\
Packit ae235b
	boxed				\
Packit ae235b
	enums				\
Packit ae235b
	param				\
Packit ae235b
	threadtests			\
Packit ae235b
	dynamictests			\
Packit ae235b
	binding				\
Packit ae235b
	properties			\
Packit ae235b
	reference			\
Packit ae235b
	value				\
Packit ae235b
	type				\
Packit ae235b
	private				\
Packit ae235b
	closure				\
Packit ae235b
	object				\
Packit ae235b
	signal-handler			\
Packit ae235b
	$(NULL)
Packit ae235b
Packit ae235b
# -----------------------------------------------------------------------------
Packit ae235b
Packit ae235b
test_programs += ifaceproperties
Packit ae235b
ifaceproperties_SOURCES = ifaceproperties.c testcommon.h
Packit ae235b
Packit ae235b
# -----------------------------------------------------------------------------
Packit ae235b
Packit ae235b
# The marshalers test requires running a binary, so we cannot build it when
Packit ae235b
# cross-compiling
Packit ae235b
Packit ae235b
glib_genmarshal = $(top_builddir)/gobject/glib-genmarshal
Packit ae235b
Packit ae235b
test_programs += signals
Packit ae235b
signals_SOURCES = signals.c
Packit ae235b
nodist_signals_SOURCES = marshalers.c marshalers.h
Packit ae235b
signals.o: marshalers.h
Packit ae235b
CLEANFILES += marshalers.h marshalers.c
Packit ae235b
EXTRA_DIST += marshalers.list
Packit ae235b
Packit ae235b
marshalers.h: $(srcdir)/marshalers.list Makefile.am
Packit ae235b
	$(AM_V_GEN) $(glib_genmarshal) \
Packit ae235b
		--prefix=test \
Packit ae235b
		--valist-marshallers \
Packit ae235b
		--output=$@ \
Packit ae235b
		--quiet \
Packit ae235b
		--header \
Packit ae235b
		$<
Packit ae235b
Packit ae235b
marshalers.c: $(srcdir)/marshalers.list marshalers.h Makefile.am
Packit ae235b
	$(AM_V_GEN) $(glib_genmarshal) \
Packit ae235b
		--prefix=test \
Packit ae235b
		--valist-marshallers \
Packit ae235b
		--include-header=marshalers.h \
Packit ae235b
		--output=$@ \
Packit ae235b
		--quiet \
Packit ae235b
		--body \
Packit ae235b
		$<