# $Id: Makefile.in,v 1.26 1999/05/18 18:19:06 lha Exp $

srcdir		= @srcdir@
VPATH		= @srcdir@

SHELL		= /bin/sh

SUBDIRS		= include lib util ydr lwp rx rxdef lib/ko lib/bufdir \
		  @RXKAD@ xfs arlad conf appl

all:
		SUBDIRS='$(SUBDIRS)'; \
		for i in $$SUBDIRS; \
		do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit 1; done

clean:
		SUBDIRS='$(SUBDIRS)'; \
		 for i in $$SUBDIRS; \
		do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit 1; done

realclean:
		SUBDIRS='$(SUBDIRS)'; \
		for i in $$SUBDIRS; \
		do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit 1; done

distclean:
		SUBDIRS='$(SUBDIRS)'; \
		for i in $$SUBDIRS; \
		do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit 1; done

mostlyclean:
		SUBDIRS='$(SUBDIRS)'; \
		for i in $$SUBDIRS; \
		do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit 1; done

install:
		SUBDIRS='$(SUBDIRS)'; \
		for i in $$SUBDIRS; \
		do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit 1; done

uninstall:
		SUBDIRS='$(SUBDIRS)'; \
		for i in $$SUBDIRS; \
		do (cd $$i && $(MAKE) $(MFLAGS) $@) || exit 1; done

Makefile:	Makefile.in config.status
		$(SHELL) config.status

config.status:	configure
		$(SHELL) config.status --recheck

.PHONY: all clean realclean distclean mostlyclean install uninstall
