cff096de50f31a14dc72f5623b03659642cdb51d
[midnight-commander.git] / tests / src / Makefile.am
blobcff096de50f31a14dc72f5623b03659642cdb51d
1 SUBDIRS = . 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
26 check_PROGRAMS = $(TESTS)
28 execute__execute_with_vfs_arg_SOURCES = \
29         execute__execute_with_vfs_arg.c
32 execute__execute_external_editor_or_viewer_SOURCES = \
33         execute__execute_external_editor_or_viewer.c