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

#include "../FWF.tmpl"

/* All subdirectories in four categories: */

#if HaveXpm && WantMotifVersions

SUBDIRS = Board Common Frame Group RadioGroup RowCol Toggle converters misc\
	  Button Label tabstring
#endif

#if HaveXpm && !WantMotifVersions

SUBDIRS = Board Common Frame Group RadioGroup RowCol Toggle converters misc\
	  Button Label tabstring 

#endif

#if !HaveXpm && WantMotifVersions

SUBDIRS = Board Common Frame Group RadioGroup RowCol Toggle converters misc\
	  Button Label tabstring

#endif

#if !HaveXpm && !WantMotifVersions

SUBDIRS = Board Common Frame Group RadioGroup RowCol Toggle converters misc\
	  Button Label tabstring

#endif


InitSubdirs($(SUBDIRS))
MakeObjectsSubdirs($(SUBDIRS))
MakeExecsSubdirs($(SUBDIRS))
GatherDescriptionSubdirs($(SUBDIRS))

distclean::
	make clean
	$(RM) Makefile Makefile.bak
	for i in $(SUBDIRS); do \
		$(RM) $$i/Makefile $$i/Makefile.bak; \
	done
 