#
# $Id: Makefile.in,v 1.27 1998/04/05 10:27:59 assar Exp $
#

srcdir		= @srcdir@
VPATH		= @srcdir@

SHELL		= /bin/sh

@SET_MAKE@

SUBDIRS		= roken com_err des krb kdb kadm acl kafs auth editline sl @LIB_SUBDIRS@

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

check:		all
		for i in $(SUBDIRS); \
		do (cd $$i && $(MAKE) $(MFLAGS) check); 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 config.status *~

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

.PHONY: all Wall install uninstall check clean mostlyclean distclean realclean
