aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace/Makefile
diff options
context:
space:
mode:
authormjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>2004-06-29 18:10:39 +0000
committermjw@wray-m-3.hpl.hp.com <mjw@wray-m-3.hpl.hp.com>2004-06-29 18:10:39 +0000
commit48e9a9c636cfbf00a1468f3a3dffe932e3e01a19 (patch)
treed0dc3b91c0fa176b1afe4bb22c8a37a34850f6c3 /tools/xentrace/Makefile
parent4db27a4b7ac9a8b0a3f2aa25a7795ff8731281b3 (diff)
downloadxen-48e9a9c636cfbf00a1468f3a3dffe932e3e01a19.tar.gz
xen-48e9a9c636cfbf00a1468f3a3dffe932e3e01a19.tar.bz2
xen-48e9a9c636cfbf00a1468f3a3dffe932e3e01a19.zip
bitkeeper revision 1.1026.1.8 (40e1b09foCFBM0EuIgrSA1uLJrWuzA)
Restructuring the python code and libs - first stage.
Diffstat (limited to 'tools/xentrace/Makefile')
-rw-r--r--tools/xentrace/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/tools/xentrace/Makefile b/tools/xentrace/Makefile
index f4319be6ed..fb90e2c125 100644
--- a/tools/xentrace/Makefile
+++ b/tools/xentrace/Makefile
@@ -1,10 +1,16 @@
+XEN_ROOT=../..
+include $(XEN_ROOT)/tools/Make.defs
+
CC = gcc
CFLAGS = -Wall -O3 -Werror
-CFLAGS += -I../../xen/include/hypervisor-ifs
-CFLAGS += -I../../linux-xen-sparse/include
-CFLAGS += -I../xu/lib
-CFLAGS += -I../lib
+
+CFLAGS += -I $(XEN_HYPERVISOR_IFS)
+CFLAGS += -I $(XEN_LINUX_INCLUDE)
+CFLAGS += -I $(XEN_XC)
+CFLAGS += -I $(XEN_XU)
+CFLAGS += -I $(XEN_LIBXC)
+CFLAGS += -I $(XEN_LIBXUTIL)
HDRS = $(wildcard *.h)
OBJS = $(patsubst %.c,%.o,$(wildcard *.c))
@@ -28,4 +34,4 @@ clean:
$(RM) *.a *.so *.o *.rpm $(BIN)
%: %.c $(HDRS) Makefile
- $(CC) $(CFLAGS) -o $@ $< -L../xc/lib -lxc
+ $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxc