1998-02-27 07:54:42 +03:00
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
rootdir = $(srcdir)/..
|
|
|
|
@MCFG@@MCF@
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
|
|
|
|
#
|
|
|
|
# Distribution variables
|
|
|
|
#
|
|
|
|
|
1998-12-04 03:48:50 +03:00
|
|
|
LIBFILES_IN = mc.ext.in mc-gnome.ext.in
|
1999-09-23 02:04:45 +04:00
|
|
|
LIBFILES_OUT = mc.ext mc-gnome.ext mc.csh mc.sh
|
1999-12-13 17:34:07 +03:00
|
|
|
LIBFILES_CONST = mc.hint mc.hint.es mc.hint.cs mc.hint.ru mc.lib mc.menu
|
1999-09-23 02:04:45 +04:00
|
|
|
SUPPBIN_IN = mc.csh.in mc.sh.in
|
|
|
|
SUPPBIN_OUT = mc.csh mc.sh
|
1999-03-20 21:08:52 +03:00
|
|
|
DESKTOP_FILES = startup.links README.desktop
|
1998-06-26 12:37:16 +04:00
|
|
|
TIFILES = README.xterm linux.ti xterm.ad xterm.ti ansi.ti vt100.ti xterm.tcap
|
1999-03-20 21:08:52 +03:00
|
|
|
|
|
|
|
DISTLIB = \
|
|
|
|
$(LIBFILES_IN) \
|
|
|
|
$(LIBFILES_CONST) \
|
1999-09-23 02:04:45 +04:00
|
|
|
$(SUPPBIN_IN) \
|
1999-03-20 21:08:52 +03:00
|
|
|
$(TIFILES) \
|
|
|
|
$(DESKTOP_FILES) \
|
|
|
|
Makefile.in tdiff \
|
|
|
|
xnc.hlp ncurses.h \
|
|
|
|
mc.sh mc.csh \
|
|
|
|
mcserv.init \
|
|
|
|
mcserv.pamd \
|
|
|
|
tkmc.wmconfig \
|
|
|
|
mc.ext.in.qnx.diff \
|
|
|
|
mc.global
|
1998-02-27 07:54:42 +03:00
|
|
|
|
1999-02-25 07:26:39 +03:00
|
|
|
all: Makefile
|
|
|
|
|
1999-03-20 21:08:52 +03:00
|
|
|
Makefile: ../config.status Makefile.in
|
1999-02-25 07:26:39 +03:00
|
|
|
(cd ..; CONFIG_FILES=lib/Makefile CONFIG_HEADERS= ./config.status)
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
check:
|
|
|
|
@echo no tests are supplied.
|
|
|
|
|
|
|
|
TAGS:
|
|
|
|
|
|
|
|
cross:
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
|
|
|
realclean:
|
|
|
|
|
|
|
|
distclean:
|
|
|
|
$(RMF) $(srcdir)/*~ $(srcdir)/Makefile
|
1998-06-26 12:37:16 +04:00
|
|
|
for I in $(LIBFILES_OUT); do $(RMF) $(srcdir)/$$I; done
|
1999-09-23 02:04:45 +04:00
|
|
|
for I in $(SUPPBIN_OUT); do $(RMF) $(srcdir)/$$I; done
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
install:
|
1998-12-13 17:23:37 +03:00
|
|
|
for I in $(LIBFILES_CONST); \
|
1999-03-26 19:18:41 +03:00
|
|
|
do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(mclibdir)/$$I; done
|
1998-12-13 17:23:37 +03:00
|
|
|
for I in $(LIBFILES_OUT); \
|
1999-03-26 19:18:41 +03:00
|
|
|
do $(INSTALL_DATA) $(builddir)/lib/$$I $(DESTDIR)$(mclibdir)/$$I; done
|
1999-09-23 02:04:45 +04:00
|
|
|
for I in $(SUPPBIN_OUT); \
|
|
|
|
do $(INSTALL_PROGRAM) -m 755 $(builddir)/lib/$$I $(DESTDIR)$(suppbindir)//$$I; done
|
1998-06-26 12:37:16 +04:00
|
|
|
for I in $(TIFILES); \
|
|
|
|
do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(tidir)/$$I; done
|
1999-02-28 23:02:15 +03:00
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(confdir)
|
1999-02-25 07:26:39 +03:00
|
|
|
$(INSTALL_DATA) $(srcdir)/mc.global $(DESTDIR)$(confdir)
|
1999-03-20 21:08:52 +03:00
|
|
|
$(MKINSTALLDIRS) $(DESTDIR)$(desktopdir)
|
|
|
|
for I in $(DESKTOP_FILES); \
|
|
|
|
do $(INSTALL_DATA) $(srcdir)/$$I $(DESTDIR)$(desktopdir)/$$I; done
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
uninstall:
|
1998-06-26 12:37:16 +04:00
|
|
|
for I in $(LIBFILES_OUT) $(LIBFILES_CONST); \
|
1999-03-26 19:18:41 +03:00
|
|
|
do $(RMF) $(DESTDIR)$(mclibdir)/$$I; done
|
1998-06-26 12:37:16 +04:00
|
|
|
for I in $(TIFILES); \
|
|
|
|
do $(RMF) $(DESTDIR)$(tidir)/$$I; done
|
|
|
|
-rmdir $(DESTDIR)$(tidir)
|
1999-03-26 19:18:41 +03:00
|
|
|
-rmdir $(DESTDIR)$(mclibdir)
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
distcopy:
|
1999-08-20 00:17:40 +04:00
|
|
|
for I in $(DISTLIB); do $(CP) $(top_srcdir)/lib/$$I $(top_srcdir)/mc-$(VERSION)/lib; done
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
depend dep:
|