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 AM_CPPFLAGS += -I$(top_srcdir) $(GLIB_CFLAGS)
31 localedir = $(datadir)/locale
32 pkglibexecdir = $(libexecdir)/@PACKAGE@
37 EDITLIB = editor/libedit.la
41 DIFFLIB = diffviewer/libdiffviewer.la
45 SUBSHELLLIB = subshell/libsubshell.la
48 libinternal_la_LIBADD = \
49 filemanager/libmcfilemanager.la \
51 viewer/libmcviewer.la \
52 $(DIFFLIB) $(EDITLIB) $(SUBSHELLLIB)
56 $(top_builddir)/lib/libmc.la
59 # this is a hack for linking with own samba library in simple way
60 mc_LDADD += vfs/smbfs/helpers/libsamba.a
64 cons.handler.c consaver/cons.saver.h
69 libinternal_la_SOURCES = \
72 clipboard.c clipboard.h \
73 events_init.c events_init.h \
77 keybind-defaults.c keybind-defaults.h \
80 textconf.c textconf.h \
81 usermenu.c usermenu.h \
85 libinternal_la_SOURCES += selcodepage.c selcodepage.h
90 libinternal_la_SOURCES += background.c background.h
93 EXTRA_DIST = $(SRC_maintainer) $(SRC_charset)
95 # end of automated testing
98 $(MAKE) install_mcview
100 $(MAKE) install_mcedit
103 $(MAKE) install_mcdiff
107 # Make relative symlinks, but do the right thing if LN_S is `ln' or `cp'.
110 cd $(DESTDIR)$(bindir)/$(binprefix) && rm -f mcview && $(LN_S) mc mcview
113 cd $(DESTDIR)$(bindir)/$(binprefix) && rm -f mcedit && $(LN_S) mc mcedit
116 cd $(DESTDIR)$(bindir)/$(binprefix) && rm -f mcdiff && $(LN_S) mc mcdiff
119 rm -f $(DESTDIR)$(bindir)/$(binprefix)/mcview
121 rm -f $(DESTDIR)$(bindir)/$(binprefix)/mcedit
124 rm -f $(DESTDIR)$(bindir)/$(binprefix)/mcdiff