mc/edit/Makefile.in
Pavel Roskin 0c08ee1fdd * edit/Makefile.in: Make edit.o depend on edit_key_translator.c.
* edit/edit_key_translator.c (cooledit_key_map): Add support
for bracket matching on Alt-B.
* gtkedit/gtkeditkey.c: Likewise.
From Steef Boerrigter <sxmboer@sci.kun.nl>
2001-07-10 15:05:55 +00:00

89 lines
1.7 KiB
Makefile

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
top_builddir = ..
@MCF@
CFLAGS = $(XCFLAGS)
CPPFLAGS = $(XCPPFLAGS) -I$(top_srcdir) -I$(top_srcdir)/edit \
-I$(top_srcdir)/gtkedit
LDFLAGS = $(XLDFLAGS)
DEFS = $(XDEFS)
LIBS = @SHADOWLIB@ $(XLIBS) @TERMNET@ @PAMLIBS@ $(XLIB)
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
AR = @AR@
#
# Distribution variables
#
EDITSRC = edit_key_translator.c
EDITLINKS = edit.c editcmd.c editwidget.c editdraw.c editmenu.c wordproc.c \
syntax.c editoptions.c bookmark.c
EDITOBJS = edit.o editcmd.o editwidget.o editdraw.o editmenu.o wordproc.o \
syntax.o editoptions.o bookmark.o
DIST = Makefile.in $(EDITSRC)
all: @LIBEDIT_A@
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && CONFIG_FILES=edit/Makefile CONFIG_HEADERS= $(SHELL) ./config.status
.c.o:
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) -DMIDNIGHT $<
edit.o: edit_key_translator.c
check:
@echo no tests are supplied.
$(EDITLINKS):
for i in $(EDITLINKS); do \
$(LN_S) $(top_srcdir)/gtkedit/$$i . || exit 1; \
done
libedit.a: $(EDITOBJS)
rm -f libedit.a
$(AR) cr libedit.a $(EDITOBJS)
-$(RANLIB) libedit.a
mcedit:
rm -f $(DESTDIR)$(bindir)/$(binprefix)mcedit
$(LN_S) mc $(DESTDIR)$(bindir)/$(binprefix)mcedit
TAGS: $(EDITSRC)
etags $(EDITSRC)
mostlyclean:
rm -f *.o core a.out
clean: mostlyclean
rm -f libedit.a
distclean: clean
rm -f $(EDITLINKS)
rm -f TAGS
rm -f *~
rm -f Makefile
install:
uninstall:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
distdir:
for I in $(DIST); \
do cp -p $(srcdir)/$$I $(distdir) || exit 1; \
done
depend: