Add tests for coverage the bug.
[midnight-commander.git] / tests / src / Makefile.am
blob92b045c309f40d224818bfac69396172e7dc35a3
1 SUBDIRS = . editor filemanager
3 AM_CPPFLAGS = \
4         $(GLIB_CFLAGS) \
5         -I$(top_srcdir) \
6         -I$(top_srcdir)/lib/vfs \
7         @CHECK_CFLAGS@
9 AM_LDFLAGS = @TESTS_LDFLAGS@
11 LIBS=@CHECK_LIBS@  \
12         $(top_builddir)/src/libinternal.la \
13         $(top_builddir)/lib/libmc.la
15 if ENABLE_VFS_SMB
16 # this is a hack for linking with own samba library in simple way
17 LIBS += $(top_builddir)/src/vfs/smbfs/helpers/libsamba.a
18 endif
20 EXTRA_DIST = execute__common.c
22 TESTS = \
23         execute__execute_with_vfs_arg \
24         execute__execute_external_editor_or_viewer \
25         execute__execute_get_external_cmd_opts_from_config
27 check_PROGRAMS = $(TESTS)
29 execute__execute_with_vfs_arg_SOURCES = \
30         execute__execute_with_vfs_arg.c
33 execute__execute_external_editor_or_viewer_SOURCES = \
34         execute__execute_external_editor_or_viewer.c
37 execute__execute_get_external_cmd_opts_from_config_SOURCES = \
38         execute__execute_get_external_cmd_opts_from_config.c