aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-16 13:53:10 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-16 13:53:10 +0100
commit0512d8f50ab13febdd1a8ef992efab3b5cdac285 (patch)
tree35606a2b1ac6422ac34671a801b69218bbfbc058 /tools
parent99c694310fbfc7db37eb5d75f6d12e91cb37f07e (diff)
downloadxen-0512d8f50ab13febdd1a8ef992efab3b5cdac285.tar.gz
xen-0512d8f50ab13febdd1a8ef992efab3b5cdac285.tar.bz2
xen-0512d8f50ab13febdd1a8ef992efab3b5cdac285.zip
Rename two xentrace tools to make it obvious that setmask and setsize are xen related.
Based on a patch from Rob Gardner <rob.gardner@hp.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/xenmon/Makefile10
-rw-r--r--tools/xentrace/Makefile4
2 files changed, 8 insertions, 6 deletions
diff --git a/tools/xenmon/Makefile b/tools/xenmon/Makefile
index baba3e129d..3d46dbe548 100644
--- a/tools/xenmon/Makefile
+++ b/tools/xenmon/Makefile
@@ -25,7 +25,7 @@ CFLAGS += -I $(XEN_XC)
CFLAGS += -I $(XEN_LIBXC)
LDFLAGS += -L $(XEN_LIBXC)
-BIN = setmask xenbaked
+BIN = xentrace_setmask xenbaked
SCRIPTS = xenmon.py
.PHONY: all
@@ -35,10 +35,10 @@ all: build
build: $(BIN)
.PHONY: install
-install: xenbaked setmask
+install: build
[ -d $(DESTDIR)$(sbindir) ] || $(INSTALL_DIR) $(DESTDIR)$(sbindir)
$(INSTALL_PROG) xenbaked $(DESTDIR)$(sbindir)/xenbaked
- $(INSTALL_PROG) setmask $(DESTDIR)$(sbindir)/setmask
+ $(INSTALL_PROG) xentrace_setmask $(DESTDIR)$(sbindir)/xentrace_setmask
$(INSTALL_PROG) xenmon.py $(DESTDIR)$(sbindir)/xenmon.py
.PHONY: clean
@@ -48,5 +48,5 @@ clean:
%: %.c Makefile
$(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
-
-
+xentrace_%: %.c Makefile
+ $(CC) $(CFLAGS) $(LDFLAGS) -lxenctrl -o $@ $<
diff --git a/tools/xentrace/Makefile b/tools/xentrace/Makefile
index 1bf48f6a8b..0ab5e4c060 100644
--- a/tools/xentrace/Makefile
+++ b/tools/xentrace/Makefile
@@ -14,7 +14,7 @@ CFLAGS += -I $(XEN_LIBXC)
HDRS = $(wildcard *.h)
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
-BIN = xentrace setsize
+BIN = xentrace xentrace_setsize
LIBBIN =
SCRIPTS = xentrace_format
MAN1 = $(wildcard *.1)
@@ -58,3 +58,5 @@ clean:
%: %.c $(HDRS) Makefile
$(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxenctrl
+xentrace_%: %.c $(HDRS) Makefile
+ $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxenctrl