X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fgobject%2FMakefile.am;h=d81c7e75312ab3a16d199ec6b41d0e1f7f78a429;hb=ab747103864d3fdee161e014857dae1c81a7fdf8;hp=b66876685453cf0132d712ba6fda65208c70ea5a;hpb=4ec041d593b91392b42129aab433554ef5d3596d;p=platform%2Fupstream%2Fglib.git diff --git a/tests/gobject/Makefile.am b/tests/gobject/Makefile.am index b668766..d81c7e7 100644 --- a/tests/gobject/Makefile.am +++ b/tests/gobject/Makefile.am @@ -16,7 +16,9 @@ noinst_LTLIBRARIES = libtestgobject.la libtestgobject_la_SOURCES = \ testcommon.h \ testmarshal.h \ - testmarshal.c + testmarshal.c \ + testmodule.c \ + testmodule.h if CROSS_COMPILING glib_genmarshal=$(GLIB_GENMARSHAL) @@ -37,35 +39,51 @@ testmarshal.c: @REBUILD@ testmarshal.list $(glib_genmarshal) && rm -f xgen-gmc xgen-gmc~ BUILT_SOURCES = testmarshal.h testmarshal.c +CLEANFILES = stamp-testmarshal.h ######################################################################## -LDADD = $(libgobject) libtestgobject.la +LDADD = libtestgobject.la $(libgobject) test_programs = \ + deftype \ + gvalue-test \ + paramspec-test \ accumulator \ + defaultiface \ + dynamictype \ + ifacecheck \ ifaceinit \ - override + ifaceinherit \ + ifaceproperties \ + override \ + singleton \ + references check_PROGRAMS = $(test_programs) TESTS = $(test_programs) TESTS_ENVIRONMENT = srcdir=$(srcdir) \ - LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset + LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset \ + MALLOC_CHECK_=2 \ + MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) ######################################################################## +EXTRA_DIST = \ + testmarshal.list + BUILT_EXTRA_DIST = \ testmarshal.h \ testmarshal.c -dist-hook: $(BUILT_EXTRA_DIST) \ +dist-hook: $(BUILT_EXTRA_DIST) files='$(BUILT_EXTRA_DIST)'; \ for f in $$files; do \ if test -f $$f; then d=.; else d=$(srcdir); fi; \ cp $$d/$$f $(distdir) || exit 1; done -distclean-local: \ +distclean-local: if test $(srcdir) = .; then :; else \ rm -f $(BUILT_EXTRA_DIST); \ fi