/* $NCDId: @(#)Imakefile,v 1.2 1993/06/10 00:21:24 mkm Exp $ */

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

SUBDIRS = config Xremote

MakeSubdirs($(SUBDIRS))

World::
	@echo ""
	@echo "Building NCD host-side Xremote software for NCDware 2.4."; date
	@echo ""
	cd $(IMAKESRC); $(MAKE) $(MFLAGS) -f Makefile.ini clean; $(MAKE) $(MFLAGS) -f Makefile.ini BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"
	./config/imake -I./config -DUseInstalled
	$(MAKE) $(MFLAGS) Makefile
	$(MAKE) $(MFLAGS) Makefiles
	$(MAKE) $(MFLAGS) clean
	$(MAKE) $(MFLAGS) includes
	$(MAKE) $(MFLAGS) depend
	$(MAKE) $(MFLAGS) $(WORLDOPTS)
	@echo ""
	@echo "Done building NCD host-side application software."; date
	@echo ""

DependSubdirs($(SUBDIRS))
