Commit 6b4b6141 authored by Robert Ricci's avatar Robert Ricci

Added a GNUmakefile for the tools directory.

First, gives us a handy way to build all the tools, if there
is ever more than one.

Second, it's a workaround for a really annoying problem with
configure. Since there was nothing in the tools/ directory itself,
it wasn't getting created, so configure could not make
tools/pcapper (since the parent directory didn't exist.)
parent 5a0143dd
......@@ -1239,6 +1239,7 @@ outfiles="$outfiles Makeconf GNUmakefile \
vis/top2png vis/render \
rc.d/GNUmakefile rc.d/2.mysql-server.sh rc.d/3.testbed.sh \
rc.d/cvsupd.sh rc.d/2.elvind.sh \
tools/GNUmakefile \
tools/pcapper/GNUmakefile \
$eventfiles \
apache/GNUmakefile apache/apache.conf "
......
......@@ -311,6 +311,7 @@ outfiles="$outfiles Makeconf GNUmakefile \
vis/top2png vis/render \
rc.d/GNUmakefile rc.d/2.mysql-server.sh rc.d/3.testbed.sh \
rc.d/cvsupd.sh rc.d/2.elvind.sh \
tools/GNUmakefile \
tools/pcapper/GNUmakefile \
$eventfiles \
apache/GNUmakefile apache/apache.conf "
......
#
# Insert Copyright Here.
#
SRCDIR = @srcdir@
TESTBED_SRCDIR = @top_srcdir@
OBJDIR = ..
SUBDIR = utils
include $(OBJDIR)/Makeconf
SUBDIRS = pcapper
all: all-subdirs
include $(TESTBED_SRCDIR)/GNUmakerules
# How to recursively descend into subdirectories to make general
# targets such as `all'.
%.MAKE:
@$(MAKE) -C $(dir $@) $(basename $(notdir $@))
%-subdirs: $(addsuffix /%.MAKE,$(SUBDIRS)) ;
clean:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment