# This file is part of the FreeType project.

RMF = @RM@ -f

MAKEFILE = arch/unix/Makefile

FTLIBDIR = lib
FTTESTDIR = test
FTPODIR = po

all: ttlib tttest ttpo

debug: ttlibdebug tttest ttpo

# we can't use the target names 'lib', 'test', etc.
# because make will believe that the directories are
# the targets and are up-to-date! Grrr... >:-(

ttlib:
	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) all

ttlibdebug:
	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) debug

tttest:
	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) all

ttpo:
	cd $(FTPODIR); $(MAKE) all

install: 
	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) install
	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) install
	cd $(FTPODIR); $(MAKE) install

uninstall:
	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) uninstall
	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) uninstall
	cd $(FTPODIR); $(MAKE) uninstall

clean:
	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) clean
	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) clean
	cd $(FTPODIR); $(MAKE) clean

distclean:
	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) distclean
	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) distclean
	cd $(FTPODIR); $(MAKE) distclean
	$(RMF) config.cache config.log config.status Makefile \
               MakeSub ft_conf.h libtool

check:
	@echo This package does not yet have a validation suite

depend:
	cd $(FTLIBDIR); $(MAKE) -f $(MAKEFILE) depend
	cd $(FTTESTDIR); $(MAKE) -f $(MAKEFILE) depend

# end of Makefile.in
