#include "imake.defs"

SUBDIRS=htool master mkwrap
SHARDIRS=Imakefile READ-ME Compiling demo[0-9] htool icons master mkwrap \
	imake.defs
SHAR=/src/obj/shar-3.24/shar -S
FILTERS=-e '/.*[-~]$$/d' \
        -e '/.*\.o$$/d' \
        -e '/^demo[0-9]*\/[cf]w_.*\.[ch]$$/d' \
	-e '/^demo[0-9]*\/fmain\.f$$/d' \
	-e '/\.Z$$/d' \
	-e '/Makefile.bak$$/d' \
	-e '/Makefile$$/d' \
	-e '/core$$/d' \
	-e '/\.rej$$/d' \
	-e '/\/\.[^\/]*$$/d'

AllTarget($(SUBDIRS))

NamedTargetSubdirs($(SUBDIRS),$(SUBDIRS),"making" all, ,all)

CleanSubdirs($(SUBDIRS))

InstallSubdirs($(SUBDIRS))

MakefileSubdirs($(SUBDIRS))

DependSubdirs($(SUBDIRS))

shar:
	@echo Did you do a "make clean" first'?'
	sleep 10
	find $(SHARDIRS) -type f -print | sort | sed $(FILTERS) | $(SHAR) | compress > HeNCE.sh.Z
