#define IHaveSubdirs
#define PassCDebugFlags
#include "../Imake.cds"

#ifdef NeedAt
#ifdef BuildAt
AT = At
#endif
#endif

#ifdef NeedCm
#ifdef BuildCm
CM = Cm
#endif
#endif

#ifdef NeedRegex
REGEX = regex
#endif

#ifdef NeedVprintf
VPRINTF = vprintf
#endif

SUBDIRS = $(AT) $(CM) $(REGEX) $(VPRINTF)

#ifdef BuildExpect
EXPECT_SUBDIR = expect
NamedTargetSubdirs(all,$(EXPECT_SUBDIR),\
	"making" libexpect.a,PassCDebugFlags,libexpect.a)
#endif

clean::
	$(RM) expect/?*.o expect/?*.a


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