TOPDIR=.
MODDIR=.

SUBDIRS = inst/pre \
		make \
		doc \
		debug misc slog platform \
		devutil \
		hash \
		hexdump \
		lbuffer \
		debug \
		cfgfile gtopts \
		lock sigsync shmem \
		usrv uclnt statecheck msgfmt \
		YMisc YError \
		YThread YMutex YEvent YCbContr contr/Y2WayMap \
		YTimeB YStopWatch YStopWatchList YStopWatchQueue YStopWatchThreadList \
		lib include bin \
		inst/post

ifneq ($(wildcard $(MODDIR)/make/ytools.mk),)

all:
	echo hallo
	$(make_subdirs_target)

clean distclean:
	rm -rf $(CLEAN) $(DISTCLEAN)
	$(make_subdirs_target)

install: all
	$(make_subdirs_target)
	make $(INSTALLED_VERSION_FILE)

include $(MODDIR)/make/ytools.mk

include $(MODDIR)/make/defs.mk
include $(MODDIR)/make/rules.mk
include $(MODDIR)/make/rpmdist.mk

endif

include $(MODDIR)/make/autoconf.mk


