ia64/xen-unstable

view tools/Rules.mk @ 5145:d61ceec31dfd

bitkeeper revision 1.1547 (42945455UNorq1ha3va8g7OVydNVmw)

XendDomain.py:
Improve error handling.
XendCheckpoint.py:
Switch restore to use os functions to read from the state file.
Simplify code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk
date Wed May 25 10:32:53 2005 +0000 (2005-05-25)
parents 9f22db685802
children 1a7383f84989 707fcf42a5ae
line source
1 # -*- mode: Makefile; -*-
3 include $(XEN_ROOT)/Config.mk
5 XEN_XC = $(XEN_ROOT)/tools/python/xen/lowlevel/xc
6 XEN_LIBXC = $(XEN_ROOT)/tools/libxc
8 ifeq ($(XEN_TARGET_ARCH),x86_32)
9 CFLAGS += -m32 -march=i686
10 LDFLAGS += -m elf_i386
11 endif
13 ifeq ($(XEN_TARGET_ARCH),x86_64)
14 CFLAGS += -m64
15 LDFLAGS += -m elf_x86_64
16 endif
18 X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
20 %.opic: %.c
21 $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
23 %.o: %.c
24 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
26 %.o: %.cc
27 $(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<