Ticket #2129: fix build with static GLib.
[midnight-commander.git] / tests / src / filemanager / Makefile.am
blob78664d69251ffdcd3bf0fdb5fd6c7ca980dc8d4a
1 AM_CPPFLAGS = \
2         $(GLIB_CFLAGS) \
3         -I$(top_srcdir) \
4         -I$(top_srcdir)/lib/vfs \
5         -DTEST_SHARE_DIR=\"$(abs_srcdir)\" \
6         @CHECK_CFLAGS@
8 AM_LDFLAGS = @TESTS_LDFLAGS@
10 LIBS = @CHECK_LIBS@ \
11         $(top_builddir)/src/libinternal.la \
12         $(top_builddir)/lib/libmc.la \
13         $(GLIB_LIBS)
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 = hints/mc.hint
22 TESTS = \
23         do_cd_command \
24         examine_cd \
25         exec_get_export_variables_ext \
26         cmd__get_random_hint
28 check_PROGRAMS = $(TESTS)
30 do_cd_command_SOURCES = \
31         do_cd_command.c
33 examine_cd_SOURCES = \
34         examine_cd.c
36 exec_get_export_variables_ext_SOURCES = \
37         exec_get_export_variables_ext.c
39 cmd__get_random_hint_SOURCES = \
40         cmd__get_random_hint.c