Ticket #3020: segfault on creating new file in external editor
[midnight-commander.git] / tests / src / Makefile.am
blobf3698a9f8caa59f927cc08948f0a0cd2d0eda90a
1 SUBDIRS = . filemanager
3 if USE_EDIT
4 SUBDIRS += editor
5 endif
7 AM_CPPFLAGS = \
8         $(GLIB_CFLAGS) \
9         -I$(top_srcdir) \
10         -I$(top_srcdir)/lib/vfs \
11         @CHECK_CFLAGS@
13 AM_LDFLAGS = @TESTS_LDFLAGS@
15 LIBS=@CHECK_LIBS@  \
16         $(top_builddir)/src/libinternal.la \
17         $(top_builddir)/lib/libmc.la
19 if ENABLE_VFS_SMB
20 # this is a hack for linking with own samba library in simple way
21 LIBS += $(top_builddir)/src/vfs/smbfs/helpers/libsamba.a
22 endif
24 EXTRA_DIST = execute__common.c
26 TESTS = \
27         execute__execute_with_vfs_arg \
28         execute__execute_external_editor_or_viewer \
29         execute__execute_get_external_cmd_opts_from_config
31 check_PROGRAMS = $(TESTS)
33 execute__execute_with_vfs_arg_SOURCES = \
34         execute__execute_with_vfs_arg.c
37 execute__execute_external_editor_or_viewer_SOURCES = \
38         execute__execute_external_editor_or_viewer.c
41 execute__execute_get_external_cmd_opts_from_config_SOURCES = \
42         execute__execute_get_external_cmd_opts_from_config.c