# Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore)
# Copyright(c) 1995-99 Andrew Lister
# Copyright  1999, 2000, 2001, 2002 by the LessTif Developers
#
# $Id: Imakefile,v 1.5 2002/03/10 22:45:42 amai Exp $

#include "Xbae.tmpl"

#define IHaveSubdirs
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'

       SUBDIRS = src include examples 
       DSUBDIRS = src examples 

MakeSubdirs($(SUBDIRS))
DependSubdirs($(DSUBDIRS))

World::
	$(MAKE) $(MFLAGS) Makefiles
	$(MAKE) $(MFLAGS) clean
	$(MAKE) $(MFLAGS) includes
	$(MAKE) $(MFLAGS) depend
	$(MAKE) $(MFLAGS)

XCOMM clean out link tree (for distribution)
distclean::
	$(MAKE) -k clean
	find . \( -type l -or -name .depend -or -name Makefile -or \	@@\
		-name Makefile.in \) -exec rm {} \;

XCOMM list all files (good to generate tar listings for cpio)
listfiles::
	find . -type f -print
