• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include $(top_srcdir)/Makefile.decl
2
3INCLUDES =					\
4	-I$(top_srcdir)				\
5	-I$(top_srcdir)/glib			\
6	-I$(top_srcdir)/gmodule			\
7	$(GLIB_DEBUG_FLAGS)
8
9libglib = $(top_builddir)/glib/libglib-2.0.la
10libgthread = $(top_builddir)/gthread/libgthread-2.0.la
11libgmodule = $(top_builddir)/gmodule/libgmodule-2.0.la
12libgobject = $(top_builddir)/gobject/libgobject-2.0.la
13
14LDADD = $(libglib) $(libgobject) $(libgthread) $(G_THREAD_LIBS)
15
16test_programs = 				\
17	closures				\
18	objects					\
19	objects2				\
20	properties				\
21	properties2				\
22	signal1					\
23	signal2					\
24	signal3
25
26
27
28signal1_SOURCES = signals.c
29signal1_CFLAGS = -DTESTNUM=1 $(AM_CFLAGS)
30signal2_SOURCES = signals.c
31signal2_CFLAGS = -DTESTNUM=2 $(AM_CFLAGS)
32signal3_SOURCES = signals.c
33signal3_CFLAGS = -DTESTNUM=3 $(AM_CFLAGS)
34
35check_PROGRAMS = $(test_programs)
36
37all: $(check_PROGRAMS)
38
39TESTS = $(test_programs)
40TESTS_ENVIRONMENT = srcdir=$(srcdir) \
41	LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset
42