# # EMULAB-COPYRIGHT # Copyright (c) 2000-2011 University of Utah and the Flux Group. # All rights reserved. # SRCDIR = @srcdir@ TESTBED_SRCDIR = @top_srcdir@ OBJDIR = @top_builddir@ SUBDIR = clientside SYSTEM := $(shell uname -s) include $(OBJDIR)/Makeconf SUBDIRS = event all: all-subdirs include $(TESTBED_SRCDIR)/GNUmakerules client: client-subdirs client-install: client client-install-subdirs control-install: @$(MAKE) -C event control-install post-install: @$(MAKE) -C event post-install clean: clean-subdirs distclean: distclean-subdirs # How to recursively descend into subdirectories to make general # targets such as `all'. %.MAKE: @$(MAKE) -C $(dir $@) $(basename $(notdir $@)) %-subdirs: $(addsuffix /%.MAKE,$(SUBDIRS)) ; .PHONY: $(SUBDIRS)