Merge branch '4524_cleanup'
[midnight-commander.git] / tests / src / Makefile.am
blob798f4f38322fb0fc23366564268c7574b5db9ad4
1 PACKAGE_STRING = "/src"
3 SUBDIRS = . filemanager vfs
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_MCLIB
22 LIBS += $(GLIB_LIBS)
23 endif
25 EXTRA_DIST = execute__common.c
27 TESTS = \
28         execute__execute_with_vfs_arg \
29         execute__execute_external_editor_or_viewer \
30         execute__execute_get_external_cmd_opts_from_config
32 check_PROGRAMS = $(TESTS)
34 execute__execute_with_vfs_arg_SOURCES = \
35         execute__execute_with_vfs_arg.c
38 execute__execute_external_editor_or_viewer_SOURCES = \
39         execute__execute_external_editor_or_viewer.c
42 execute__execute_get_external_cmd_opts_from_config_SOURCES = \
43         execute__execute_get_external_cmd_opts_from_config.c