Bug 505361 - gunixinputstream.c assumes poll() available
[platform/upstream/glib.git] / gio / tests / Makefile.am
1 include $(top_srcdir)/Makefile.decl
2
3 INCLUDES =                      \
4         -g                      \
5         -I$(top_srcdir)         \
6         -I$(top_srcdir)/glib    \
7         -I$(top_srcdir)/gmodule \
8         -I$(top_srcdir)/gobject \
9         -I$(top_srcdir)/gio     \
10         $(GLIB_DEBUG_FLAGS)
11
12 noinst_PROGRAMS = $(TEST_PROGS)
13 progs_ldadd     =                                       \
14         $(top_builddir)/glib/libglib-2.0.la             \
15         $(top_builddir)/gobject/libgobject-2.0.la       \
16         $(top_builddir)/gio/libgio-2.0.la
17
18
19 TEST_PROGS +=                   \
20         memory-input-stream     \
21         memory-output-stream    \
22         g-file                  \
23         g-file-info             \
24         data-input-stream       \
25         data-output-stream
26
27 if OS_UNIX
28 TEST_PROGS += live-g-file unix-streams
29 endif
30
31 memory_input_stream_SOURCES       = memory-input-stream.c
32 memory_input_stream_LDADD         = $(progs_ldadd)
33
34 memory_output_stream_SOURCES      = memory-output-stream.c
35 memory_output_stream_LDADD        = $(progs_ldadd)
36
37 g_file_SOURCES    = g-file.c
38 g_file_LDADD      = $(progs_ldadd)
39
40 g_file_info_SOURCES     = g-file-info.c
41 g_file_info_LDADD       = $(progs_ldadd)
42
43 data_input_stream_SOURCES       = data-input-stream.c
44 data_input_stream_LDADD         = $(progs_ldadd)
45
46 data_output_stream_SOURCES      = data-output-stream.c
47 data_output_stream_LDADD        = $(progs_ldadd)
48
49 live_g_file_SOURCES       = live-g-file.c
50 live_g_file_LDADD         = $(progs_ldadd)
51
52 unix_streams_SOURCES      = unix-streams.c
53 unix_streams_LDADD        = $(progs_ldadd) \
54         $(top_builddir)/gthread/libgthread-2.0.la
55