# # Makefile for the SGML summarizers for the Harvest Indexer # # $Id: Makefile.in,v 2.3 1997/11/04 18:15:03 sxw Exp $ # srcdir = . prefix = INSTALL_BINDIR = $(prefix)/bin INSTALL_LIBDIR = $(prefix)/lib INSTALL_UTILDIR = $(INSTALL_LIBDIR)/gatherer INSTALL_MANDIR = $(prefix)/man CC = cc INSTALL = ../../ INSTALL_BIN = install -o root -g wheel -m 555 INSTALL_FILE = install -o root -g wheel -m 444 RANLIB = ranlib LN_S = ln -s XTRA_LIBS = -lresolv SUBDIRS = sgmls SCRIPTS = SGML.sum IMS-DOCUMENT.sum all: do-all clean: do-clean distclean: do-distclean this-distclean install: do-install this-install this-install: @for f in $(SCRIPTS); do \ echo $(INSTALL_BIN) $$f $(INSTALL_UTILDIR); \ $(INSTALL_BIN) $(srcdir)/$$f $(INSTALL_UTILDIR); \ done cp -rp $(srcdir)/sgmls-lib $(INSTALL_UTILDIR) this-distclean: -rm -f Makefile DO_X = do-clean do-distclean do-all do-install $(DO_X): @target=`echo $@ | sed -e 's/^do-//'`; \ for dir in $(SUBDIRS); do \ echo Making $$target in $$dir; \ if (cd $$dir; $(MAKE) $(MFLAGS) $${target}); \ then true; else exit 1; fi; \ done