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 $< 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 showlibdep: @echo 'OBJS="$(EDITOBJS)"' TAGS: $(EDITSRC) etags $(EDITSRC) mostlyclean: rm -f *.o core a.out clean: mostlyclean rm -f libedit.a distclean: clean rm -f $(EDITLINKS) rm -f .depend 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 dep: mcdep fastdeploc: # ***Dependencies***Do not edit*** @DOTDEPEND@ # ***End of dependencies***