# $Id: Makefile.in,v 1.12 1999/03/10 19:01:11 joda Exp $

srcdir		= @srcdir@
top_srcdir	= @top_srcdir@
VPATH		= @srcdir@

SHELL		= /bin/sh

@SET_MAKE@

CC 	= @CC@
RANLIB 	= @RANLIB@
DEFS 	= @DEFS@
CFLAGS 	= @CFLAGS@ $(WFLAGS)
WFLAGS = @WFLAGS@

INSTALL = @INSTALL@

prefix 	= @prefix@

SUBDIRS=common ftp ftpd

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

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

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

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

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

.PHONY: all install uninstall clean cleandir distclean
