1
1
mc/edit/Makefile.in

82 строки
1.6 KiB
Makefile
Исходник Обычный вид История

1998-02-27 07:54:42 +03:00
srcdir = @srcdir@
top_srcdir = @top_srcdir@
1998-02-27 07:54:42 +03:00
VPATH = @srcdir@
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
top_builddir = ..
1998-02-27 07:54:42 +03:00
@MCF@
1998-02-27 07:54:42 +03:00
CFLAGS = $(XCFLAGS)
CPPFLAGS = $(XCPPFLAGS) -I$(top_srcdir) -I$(top_srcdir)/edit \
-I$(top_srcdir)/gtkedit
1998-02-27 07:54:42 +03:00
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 edit.c editcmd.c editwidget.c \
editdraw.c editmenu.c wordproc.c syntax.c editoptions.c \
bookmark.c
1998-02-27 07:54:42 +03:00
EDITOBJS = edit.o editcmd.o editwidget.o editdraw.o editmenu.o wordproc.o \
1999-03-21 04:57:34 +03:00
syntax.o editoptions.o bookmark.o
1998-02-27 07:54:42 +03:00
1998-09-18 23:45:27 +04:00
DIST = Makefile.in $(EDITSRC)
1998-02-27 07:54:42 +03:00
all: @LIBEDIT_A@
1998-02-27 07:54:42 +03:00
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && CONFIG_FILES=edit/Makefile CONFIG_HEADERS= $(SHELL) ./config.status
1998-02-27 07:54:42 +03:00
.c.o:
$(CC) -c $(CPPFLAGS) $(DEFS) $(CFLAGS) -DMIDNIGHT $<
edit.o: edit_key_translator.c
1998-02-27 07:54:42 +03:00
check:
@echo no tests are supplied.
libedit.a: $(EDITOBJS)
rm -f libedit.a
$(AR) cr libedit.a $(EDITOBJS)
-$(RANLIB) libedit.a
1998-02-27 07:54:42 +03:00
mcedit:
rm -f $(DESTDIR)$(bindir)/$(binprefix)mcedit
1998-02-27 07:54:42 +03:00
$(LN_S) mc $(DESTDIR)$(bindir)/$(binprefix)mcedit
TAGS: $(EDITSRC)
etags $(EDITSRC)
mostlyclean:
rm -f *.o core a.out
1998-02-27 07:54:42 +03:00
clean: mostlyclean
rm -f libedit.a
1998-02-27 07:54:42 +03:00
distclean: clean
rm -f TAGS
rm -f *~
rm -f Makefile
1998-02-27 07:54:42 +03:00
install: all
1998-02-27 07:54:42 +03:00
uninstall:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
distdir:
for I in $(DIST); \
do cp -p $(srcdir)/$$I $(distdir) || exit 1; \
done
1998-02-27 07:54:42 +03:00
depend:
1998-02-27 07:54:42 +03:00