(mc_search_run): document the return value.
[midnight-commander.git] / tests / src / Makefile.am
blob74eecf6122dd91773e514ff75e0fd700ce5bbe9d
1 PACKAGE_STRING = "/src"
3 SUBDIRS = . filemanager
5 if USE_INTERNAL_EDIT
6 SUBDIRS += editor
7 endif
9 AM_CPPFLAGS = \
10         $(GLIB_CFLAGS) \
11         -I$(top_srcdir) \
12         -I$(top_srcdir)/lib/vfs \
13         @CHECK_CFLAGS@
15 AM_LDFLAGS = @TESTS_LDFLAGS@
17 LIBS=@CHECK_LIBS@  \
18         $(top_builddir)/src/libinternal.la \
19         $(top_builddir)/lib/libmc.la
21 if ENABLE_VFS_SMB
22 # this is a hack for linking with own samba library in simple way
23 LIBS += $(top_builddir)/src/vfs/smbfs/helpers/libsamba.a
24 endif
26 EXTRA_DIST = execute__common.c
28 TESTS = \
29         execute__execute_with_vfs_arg \
30         execute__execute_external_editor_or_viewer \
31         execute__execute_get_external_cmd_opts_from_config
33 check_PROGRAMS = $(TESTS)
35 execute__execute_with_vfs_arg_SOURCES = \
36         execute__execute_with_vfs_arg.c
39 execute__execute_external_editor_or_viewer_SOURCES = \
40         execute__execute_external_editor_or_viewer.c
43 execute__execute_get_external_cmd_opts_from_config_SOURCES = \
44         execute__execute_get_external_cmd_opts_from_config.c