# $Id: Makefile.in,v 1.27 1997/05/20 18:58:37 bg Exp $

srcdir		= @srcdir@
VPATH		= @srcdir@

SHELL		= /bin/sh

@SET_MAKE@

SUBDIRS		= sample kauth bsd movemail afsutil \
		  kpopper xnlock kx otp @APPL_KIP_DIR@ ftp telnet

all:
	for i in $(SUBDIRS); \
	do (cd $$i && $(MAKE) $(MFLAGS) all); done

Wall:
	make CFLAGS="-g -Wall -Wno-comment -Wmissing-prototypes -Wmissing-declarations -D__USE_FIXED_PROTOTYPES__"

install:
	for i in $(SUBDIRS); \
	do (cd $$i && $(MAKE) $(MFLAGS) install); done

uninstall:
	for i in $(SUBDIRS); \
	do (cd $$i && $(MAKE) $(MFLAGS) uninstall); done

clean:
	for i in $(SUBDIRS); \
	do (cd $$i && $(MAKE) $(MFLAGS) clean); done

mostlyclean:	clean

distclean:
	for i in $(SUBDIRS);\
	do (cd $$i && $(MAKE) $(MFLAGS) distclean); done
	rm -f Makefile *~

realclean:
	for i in $(SUBDIRS); \
	do (cd $$i && $(MAKE) $(MFLAGS) realclean); done

.PHONY: all install uninstall clean distclean realclean mostlyclean
