# Top-level Makefile for GNU Findutils under DJGPP v2.0

# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

all: config.h lib find locate xargs

config.h: config.dj
	configur

lib: FRC
	@echo Making ALL in lib...
	cd lib
	$(MAKE)
	cd ..

find: FRC
	@echo Making ALL in find...
	cd find
	$(MAKE)	
	cd ..

locate: FRC
	@echo Making ALL in locate...
	cd locate
	$(MAKE)
	cd ..

xargs: FRC
	@echo Making ALL in xargs...
	cd xargs
	$(MAKE)
	cd ..

info:
	@echo Making $@ in doc...
	cd doc
	$(MAKE) info
	cd ..

dvi:
	@echo Making $@ in doc...
	cd doc
	$(MAKE) dvi
	cd ..

tests: find locate xargs
	@echo Making tests...
	cd testsuit
	@echo You cannot test Findutils under DJGPP yet...
	cd ..

clean mostlyclean realclean: FCLEAN
	@echo Making $@ in lib...
	cd lib
	$(MAKE) $@
	cd ..
	@echo Making $@ in find...
	cd find
	$(MAKE) $@
	cd ..
	@echo Making $@ in xargs...
	cd xargs
	$(MAKE) $@
	cd ..
	@echo Making $@ in locate...
	cd locate
	$(MAKE) $@
	cd ..
	@echo Making $@ in doc...
	cd doc
	$(MAKE) $@
	cd ..

FRC:


FCLEAN:


