16e569e3a6
(CPPFLAGS): Remove reference to gtkedit.
81 строка
1.6 KiB
Makefile
81 строка
1.6 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
|
|
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 editcmddef.h edit.h edit-widget.h
|
|
|
|
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.
|
|
|
|
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 TAGS
|
|
rm -f *~
|
|
rm -f Makefile
|
|
|
|
install: all
|
|
|
|
uninstall:
|
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
distdir:
|
|
for I in $(DIST); \
|
|
do cp -p $(srcdir)/$$I $(distdir) || exit 1; \
|
|
done
|
|
|
|
depend:
|
|
|