#
#  Makefile for the Gatherer example directory
#
#  $Id: Makefile.in,v 1.9 1995/03/14 22:18:34 wessels Exp $
#

prefix = /rd/beach/hardy/BUILD/harvest-1.2/sparc-sun-sunos4.1.3_u1
INSTALL_TOPDIR	= $(prefix)
INSTALL_BINDIR	= $(prefix)/bin
INSTALL_LIBDIR	= $(prefix)/lib
INSTALL_MANDIR 	= $(prefix)/man

CC		= gcc -static
INSTALL		= /bin/install -c
INSTALL_BIN 	= /bin/install -s -m 755
INSTALL_FILE 	= ${INSTALL} -m 644
RANLIB		= ranlib

all:
	chmod 755 gatherers/*/RunGatherer

# copy the example gatherers into the libdir
install:
#	cp -rp gatherers $(INSTALL_TOPDIR)
#	find $(INSTALL_TOPDIR)/gatherers -name "*.in" -print -exec rm -f {} \;
	find . -name '*.in' -prune -o -type f -print | cpio -pd $(INSTALL_TOPDIR) 2>/dev/null

clean:

realclean:
	rm -f Makefile
