GNUmakefile.in 776 Bytes
Newer Older
Leigh B Stoller's avatar
Leigh B Stoller committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#
# 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		= $(subst $(TESTBED_SRCDIR)/,,$(SRCDIR))

include $(OBJDIR)/Makeconf

SUBDIRS		= pcapper

all:	all-subdirs

include $(TESTBED_SRCDIR)/GNUmakerules

client:		client-subdirs
client-install: client client-install-subdirs
control-install: control-install-subdirs
Leigh B Stoller's avatar
Leigh B Stoller committed
22 23
subboss:
subboss-install:
Leigh B Stoller's avatar
Leigh B Stoller committed
24 25 26 27 28 29 30 31 32 33 34
post-install:	post-install-subdirs
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)