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)
58 libinternal_la_LIBADD += \
59 $(top_builddir)/lib/libmc.la
62 $(top_builddir)/lib/libmc.la
66 cons.handler.c consaver/cons.saver.h
71 libinternal_la_SOURCES = \
74 clipboard.c clipboard.h \
75 events_init.c events_init.h \
77 file_history.c file_history.h \
83 textconf.c textconf.h \
84 usermenu.c usermenu.h \
88 libinternal_la_SOURCES += selcodepage.c selcodepage.h
93 libinternal_la_SOURCES += background.c background.h
96 EXTRA_DIST = $(SRC_maintainer) $(SRC_charset)
98 # end of automated testing
101 $(MAKE) install_mcview
103 $(MAKE) install_mcedit
106 $(MAKE) install_mcdiff
110 # Make relative symlinks, but do the right thing if LN_S is `ln' or `cp'.
113 cd $(DESTDIR)$(bindir)/$(binprefix) && rm -f mcview && $(LN_S) mc mcview
116 cd $(DESTDIR)$(bindir)/$(binprefix) && rm -f mcedit && $(LN_S) mc mcedit
119 cd $(DESTDIR)$(bindir)/$(binprefix) && rm -f mcdiff && $(LN_S) mc mcdiff
122 rm -f $(DESTDIR)$(bindir)/$(binprefix)/mcview
124 rm -f $(DESTDIR)$(bindir)/$(binprefix)/mcedit
127 rm -f $(DESTDIR)$(bindir)/$(binprefix)/mcdiff