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 g-icon \ 27 buffered-input-stream \ 28 sleepy-stream \ 29 filter-streams \ 30 simple-async-result 31 32 if OS_UNIX 33 TEST_PROGS += live-g-file unix-streams desktop-app-info 34 endif 35 36 memory_input_stream_SOURCES = memory-input-stream.c 37 memory_input_stream_LDADD = $(progs_ldadd) 38 39 memory_output_stream_SOURCES = memory-output-stream.c 40 memory_output_stream_LDADD = $(progs_ldadd) 41 42 g_file_SOURCES = g-file.c 43 g_file_LDADD = $(progs_ldadd) 44 45 g_file_info_SOURCES = g-file-info.c 46 g_file_info_LDADD = $(progs_ldadd) 47 48 data_input_stream_SOURCES = data-input-stream.c 49 data_input_stream_LDADD = $(progs_ldadd) 50 51 data_output_stream_SOURCES = data-output-stream.c 52 data_output_stream_LDADD = $(progs_ldadd) 53 54 g_icon_SOURCES = g-icon.c 55 g_icon_LDADD = $(progs_ldadd) 56 57 buffered_input_stream_SOURCES = buffered-input-stream.c 58 buffered_input_stream_LDADD = $(progs_ldadd) 59 60 live_g_file_SOURCES = live-g-file.c 61 live_g_file_LDADD = $(progs_ldadd) 62 63 desktop_app_info_SOURCES = desktop-app-info.c 64 desktop_app_info_LDADD = $(progs_ldadd) 65 66 unix_streams_SOURCES = unix-streams.c 67 unix_streams_LDADD = $(progs_ldadd) \ 68 $(top_builddir)/gthread/libgthread-2.0.la 69 70 simple_async_result_SOURCES = simple-async-result.c 71 simple_async_result_LDADD = $(progs_ldadd) 72 73 sleepy_stream_SOURCES = sleepy-stream.c 74 sleepy_stream_LDADD = $(progs_ldadd) 75 76 filter_streams_SOURCES = filter-streams.c 77 filter_streams_LDADD = $(progs_ldadd) 78 79 DISTCLEAN_FILES = applications/mimeinfo.cache 80