X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=tests%2Fgobject%2FMakefile.am;h=62395c0270ddecb7930405ac9687a560a4ac8e13;hb=f4d9789fcfc4c9be497414d6c65476adb9d20236;hp=e1d0a2d726bfb9bf87014b36e170fc36a09d3b0d;hpb=256730535409341336f6bc492453b83b4d14a87c;p=platform%2Fupstream%2Fglib.git diff --git a/tests/gobject/Makefile.am b/tests/gobject/Makefile.am index e1d0a2d..62395c0 100644 --- a/tests/gobject/Makefile.am +++ b/tests/gobject/Makefile.am @@ -1,3 +1,5 @@ +include $(top_srcdir)/Makefile.decl + INCLUDES = \ -I$(top_srcdir) \ -I$(top_srcdir)/glib \ @@ -39,36 +41,55 @@ 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 \ + performance \ + performance-threaded \ + singleton \ + references + +performance_LDADD = $(libgobject) $(libgthread) +performance_threaded_LDADD = $(libgobject) $(libgthread) 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