diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-06-29 11:03:24 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-06-29 11:03:24 +0100 |
commit | 5dc9ac92ad2fea4161694c509130d64c247f4135 (patch) | |
tree | 4b8e203a323ec28c3c2f0545a120fed0f76d5618 /tools/misc/Makefile | |
parent | 71eb0dfc66b858528a97b9fbc92d55f13d378cf5 (diff) | |
download | xen-5dc9ac92ad2fea4161694c509130d64c247f4135.tar.gz xen-5dc9ac92ad2fea4161694c509130d64c247f4135.tar.bz2 xen-5dc9ac92ad2fea4161694c509130d64c247f4135.zip |
x86 Cx tracing: adds gtraceview & gtracestat utilities
Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Diffstat (limited to 'tools/misc/Makefile')
-rw-r--r-- | tools/misc/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/misc/Makefile b/tools/misc/Makefile index b6a735bfdd..038fcef23d 100644 --- a/tools/misc/Makefile +++ b/tools/misc/Makefile @@ -10,7 +10,7 @@ CFLAGS += $(INCLUDES) HDRS = $(wildcard *.h) -TARGETS-y := xenperf xenpm xen-tmem-list-parse +TARGETS-y := xenperf xenpm xen-tmem-list-parse gtraceview gtracestat TARGETS-$(CONFIG_X86) += xen-detect TARGETS := $(TARGETS-y) @@ -22,7 +22,7 @@ INSTALL_BIN-y := xencons INSTALL_BIN-$(CONFIG_X86) += xen-detect INSTALL_BIN := $(INSTALL_BIN-y) -INSTALL_SBIN-y := xm xen-bugtool xen-python-path xend xenperf xsview xenpm xen-tmem-list-parse +INSTALL_SBIN-y := xm xen-bugtool xen-python-path xend xenperf xsview xenpm xen-tmem-list-parse gtraceview gtracestat INSTALL_SBIN := $(INSTALL_SBIN-y) DEFAULT_PYTHON_PATH := $(shell $(XEN_ROOT)/tools/python/get-path) @@ -53,7 +53,10 @@ clean: %.o: %.c $(HDRS) Makefile $(CC) -c $(CFLAGS) -o $@ $< -xenperf xenpm: %: %.o Makefile +xenperf xenpm gtracestat: %: %.o Makefile $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LDFLAGS_libxenctrl) +gtraceview: %: %.o Makefile + $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) -lncurses + -include $(DEPS) |