mclibdir   = $(libdir)/mc
suppbindir = $(mclibdir)/bin
tidir      = $(mclibdir)/term
confdir    = $(sysconfdir)

if CHARSET
LIBFILES_ADD = mc.charsets
else
LIBFILES_ADD =
endif

LOCALIZED_HELP = mc.hlp.hu
LIBFILES_OUT = mc.ext
LIBFILES_CONST = mc.hint mc.hint.cs mc.hint.es mc.hint.hu mc.hint.it \
	mc.hint.nl mc.hint.pl mc.hint.ru mc.hint.uk mc.hint.zh mc.lib \
	mc.menu cedit.menu edit.indent.rc edit.spell.rc

noinst_DATA = \
	xnc.hlp			\
	mcserv.init 		\
	mcserv.pamd 		\
	mc.global

noinst_SCRIPTS = tdiff

conf_DATA = mc.global
suppbin_SCRIPTS = mc.csh mc.sh
ti_DATA = README.xterm linux.ti xterm.ad xterm.ti ansi.ti vt100.ti xterm.tcap

mclib_DATA = $(LIBFILES_CONST) $(LIBFILES_ADD) $(LIBFILES_OUT) $(LOCALIZED_HELP)

# Files processed by configure don't need to be here
EXTRA_DIST = \
	$(LIBFILES_CONST) \
	$(LOCALIZED_HELP) \
	$(conf_DATA) \
	$(ti_DATA) \
	$(noinst_DATA) \
	$(noinst_SCRIPTS) \
	mc.charsets

