Merge remote-tracking branch 'gvdb/master'
[platform/upstream/glib.git] / tests / refcount / Makefile.am
1 include $(top_srcdir)/Makefile.decl
2
3 INCLUDES =                                      \
4         $(gmodule_INCLUDES)                     \
5         $(GLIB_DEBUG_FLAGS)
6
7 libglib = $(top_builddir)/glib/libglib-2.0.la
8 libgthread = $(top_builddir)/gthread/libgthread-2.0.la
9 libgmodule = $(top_builddir)/gmodule/libgmodule-2.0.la
10 libgobject = $(top_builddir)/gobject/libgobject-2.0.la
11
12 LDADD = $(libglib) $(libgobject) $(libgthread) $(G_THREAD_LIBS)
13
14 test_programs =                                 \
15         closures                                \
16         objects                                 \
17         objects2                                \
18         properties                              \
19         properties2                             \
20         properties3                             \
21         properties4                             \
22         signal1                                 \
23         signal2                                 \
24         signal3
25
26
27
28 signal1_SOURCES = signals.c
29 signal1_CFLAGS = -DTESTNUM=1 $(AM_CFLAGS)
30 signal2_SOURCES = signals.c
31 signal2_CFLAGS = -DTESTNUM=2 $(AM_CFLAGS)
32 signal3_SOURCES = signals.c
33 signal3_CFLAGS = -DTESTNUM=3 $(AM_CFLAGS)
34
35 check_PROGRAMS = $(test_programs)
36
37 all: $(check_PROGRAMS)
38
39 TESTS = $(test_programs)
40 TESTS_ENVIRONMENT = srcdir=$(srcdir) \
41         LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset