direct-io.hg

view tools/Rules.mk @ 11509:2e6c10dc7c0b

[POWERPC][XEN] make sure put_domain() is called in case of allocate_rma() failuer

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Tue Sep 12 10:53:46 2006 -0400 (2006-09-12)
parents 414dabe82a31
children f4b7b8aefc05
line source
1 # -*- mode: Makefile; -*-
3 # `all' is the default target
4 all:
6 include $(XEN_ROOT)/Config.mk
8 CONFIG_$(shell uname -s) := y
10 XEN_XC = $(XEN_ROOT)/tools/python/xen/lowlevel/xc
11 XEN_LIBXC = $(XEN_ROOT)/tools/libxc
12 XEN_XENSTORE = $(XEN_ROOT)/tools/xenstore
13 XEN_LIBXENSTAT = $(XEN_ROOT)/tools/xenstat/libxenstat/src
15 X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
17 CFLAGS += -D__XEN_TOOLS__
19 %.opic: %.c
20 $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
22 %.o: %.c
23 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
25 %.o: %.cc
26 $(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
28 OS = $(shell uname -s)
30 .PHONY: mk-symlinks mk-symlinks-xen mk-symlinks-$(OS)
32 mk-symlinks-Linux: LINUX_ROOT=$(XEN_ROOT)/linux-2.6-xen-sparse
33 mk-symlinks-Linux:
34 mkdir -p xen/linux
35 ( cd xen/linux && \
36 ln -sf ../../$(LINUX_ROOT)/include/xen/public/*.h . )
37 ( cd xen && rm -f sys && ln -sf linux sys )
39 mk-symlinks-xen:
40 mkdir -p xen
41 ( cd xen && ln -sf ../$(XEN_ROOT)/xen/include/public/*.h . )
42 mkdir -p xen/hvm
43 ( cd xen/hvm && ln -sf ../../$(XEN_ROOT)/xen/include/public/hvm/*.h . )
44 mkdir -p xen/io
45 ( cd xen/io && ln -sf ../../$(XEN_ROOT)/xen/include/public/io/*.h . )
47 mk-symlinks: mk-symlinks-xen mk-symlinks-$(OS)