Dist assert-msg-test.gdb
[platform/upstream/glib.git] / tests / Makefile.am
index 9938c8d..a5af03a 100644 (file)
@@ -2,8 +2,9 @@ include $(top_srcdir)/Makefile.decl
 
 SUBDIRS=gobject refcount
 
-AM_CPPFLAGS =                          \
-       $(gmodule_INCLUDES)             \
+AM_CPPFLAGS = \
+       $(gmodule_INCLUDES)                     \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS     \
        $(GLIB_DEBUG_FLAGS)
 
 AM_CFLAGS = -g
@@ -23,7 +24,7 @@ no_undefined = -no-undefined
 module_test_exp = module-test.exp
 
 module-test.exp: module-test.o
-       dlltool --output-exp module-test.exp module-test.o
+       $(DLLTOOL) --output-exp module-test.exp module-test.o
 
 spawn_test_win32_gui = spawn-test-win32-gui
 
@@ -40,7 +41,8 @@ EXTRA_DIST +=                                 \
        gen-casemap-txt.pl                      \
        iochannel-test-infile                   \
        utf8.txt                                \
-       timeloop-basic.c                
+       timeloop-basic.c                        \
+       assert-msg-test.gdb
 
 BUILT_EXTRA_DIST =                             \
        makefile.msc
@@ -62,9 +64,9 @@ noinst_PROGRAMS = $(TEST_PROGS)       \
        unicode-normalize       \
        unicode-collate         \
        $(timeloop)             \
-       errorcheck-mutex-test   \
        assert-msg-test         \
-       datetime
+       datetime                \
+       testgobject
 
 TEST_PROGS             += testglib
 testglib_SOURCES         = testglib.c
@@ -75,13 +77,13 @@ testgdate_LDADD = $(libglib)
 testgdateparser_LDADD = $(libglib)
 unicode_normalize_LDADD = $(libglib)
 unicode_collate_LDADD = $(libglib)
-errorcheck_mutex_test_LDADD = $(libglib) $(libgthread) $(G_THREAD_LIBS) 
 assert_msg_test_LDADD = $(libglib)
 if ENABLE_TIMELOOP
 timeloop_LDADD = $(libglib)
 timeloop_closure_LDADD = $(libglib) $(libgobject)
 endif
 datetime_LDADD = $(libglib)
+testgobject_LDADD = $(libglib) $(libgobject)
 
 test_programs =                                        \
        atomic-test                             \
@@ -105,6 +107,7 @@ test_programs =                                     \
        slice-color                             \
        slice-concurrent                        \
        slice-threadinit                        \
+       sources                                 \
        spawn-test                              \
        $(spawn_test_win32_gui)                 \
        thread-test                             \
@@ -154,6 +157,7 @@ slice_concurrent_SOURCES = slice-concurrent.c
 slice_concurrent_LDADD = $(thread_ldadd)
 slice_threadinit_SOURCES = slice-threadinit.c
 slice_threadinit_LDADD = $(thread_ldadd)
+sources_LDADD = $(progs_ldadd)
 spawn_test_LDADD = $(progs_ldadd)
 thread_test_LDADD = $(thread_ldadd)
 threadpool_test_LDADD = $(thread_ldadd)