1 SUBDIRS = filemanager man2hlp vfs viewer
15 noinst_LTLIBRARIES = libinternal.la
18 -DSYSCONFDIR=\""$(sysconfdir)/@PACKAGE@/"\" \
19 -DLIBEXECDIR=\""$(libexecdir)/@PACKAGE@/"\" \
20 -DDATADIR=\""$(pkgdatadir)/"\" \
21 -DLOCALEDIR=\""$(localedir)"\" \
22 -DEXTHELPERSDIR=\""@EXTHELPERSDIR@/"\"
26 AM_CPPFLAGS += -DSAVERDIR=\""$(pkglibexecdir)"\"
29 # required for textconf.c
32 AM_CPPFLAGS += $(LIBSSH_CFLAGS)
36 AM_CPPFLAGS += -I$(top_srcdir) $(GLIB_CFLAGS)
38 localedir = $(datadir)/locale
39 pkglibexecdir = $(libexecdir)/@PACKAGE@
44 EDITLIB = editor/libedit.la
48 DIFFLIB = diffviewer/libdiffviewer.la
52 SUBSHELLLIB = subshell/libsubshell.la
55 libinternal_la_LIBADD = \
56 filemanager/libmcfilemanager.la \
58 viewer/libmcviewer.la \
59 $(DIFFLIB) $(EDITLIB) $(SUBSHELLLIB)
65 libinternal_la_LIBADD += \
66 $(top_builddir)/lib/libmc.la
69 $(top_builddir)/lib/libmc.la
73 cons.handler.c consaver/cons.saver.h
78 libinternal_la_SOURCES = \
81 clipboard.c clipboard.h \
82 events_init.c events_init.h \
84 file_history.c file_history.h \
90 textconf.c textconf.h \
91 usermenu.c usermenu.h \
95 libinternal_la_SOURCES += selcodepage.c selcodepage.h
100 libinternal_la_SOURCES += background.c background.h
103 EXTRA_DIST = $(SRC_maintainer) $(SRC_charset)
105 # end of automated testing
108 $(MAKE) install_mcview
110 $(MAKE) install_mcedit
113 $(MAKE) install_mcdiff
117 # Make relative symlinks, but do the right thing if LN_S is `ln' or `cp'.
120 cd $(DESTDIR)$(bindir)/$(binprefix) && rm -f mcview && $(LN_S) mc mcview
123 cd $(DESTDIR)$(bindir)/$(binprefix) && rm -f mcedit && $(LN_S) mc mcedit
126 cd $(DESTDIR)$(bindir)/$(binprefix) && rm -f mcdiff && $(LN_S) mc mcdiff
129 rm -f $(DESTDIR)$(bindir)/$(binprefix)/mcview
131 rm -f $(DESTDIR)$(bindir)/$(binprefix)/mcedit
134 rm -f $(DESTDIR)$(bindir)/$(binprefix)/mcdiff