###############################################################################
#   Instructions to Make, for compilation of other ISODE programs
###############################################################################

###############################################################################
#
# $Header: /a/vulcan/xtel/isode/isode-master/others/RCS/Makefile,v 8.0 91/07/17 13:07:18 isode Rel $
#
#
# $Log:	Makefile,v $
# Revision 8.0  91/07/17  13:07:18  isode
# Release 7.0
# 
# 
###############################################################################

###############################################################################
#
#				 NOTICE
#
#    Acquisition, use, and distribution of this module and related
#    materials are subject to the restrictions of a license agreement.
#    Consult the Preface in the User's Manual for the full terms of
#    this agreement.
#
###############################################################################


DIRS	=	quipu/photo quipu/image mosy tsbridge

OTHERS	=	callback idist listen lookup ntp osilookup pingpong quipu rfa \
			rtf tp0bridge 


##################################################################
# Here it is...
##################################################################

all:;		@for i in $(DIRS); \
		    do (echo "cd $$i; $(MAKE) all"; \
			      cd $$i; $(MAKE) all); \
		    done
		cd quipu/photo; $(MAKE) Xphoto xfax
		cd quipu; $(MAKE) pilot

inst-all:;	@for i in $(DIRS); \
		    do (echo "cd $$i; $(MAKE) inst-all"; \
			      cd $$i; $(MAKE) inst-all); \
		    done
		cd quipu; $(MAKE) inst-pilot

install:;	@for i in $(DIRS); \
		    do (echo "cd $$i; $(MAKE) install"; \
			      cd $$i; $(MAKE) install); \
		    done

lint:;		@for i in $(DIRS); \
		    do (echo "cd $$i; $(MAKE) lint"; \
			      cd $$i; $(MAKE) lint); \
		    done

clean:;		rm -f _*
		@for i in $(DIRS) $(OTHERS); \
		    do (echo "cd $$i; $(MAKE) clean"; \
			      cd $$i; $(MAKE) clean); \
		    done

grind:;		@for i in $(DIRS); \
		    do (echo "cd $$i; $(MAKE) grind"; \
			      cd $$i; $(MAKE) grind); \
		    done
