ia64/xen-unstable

view tools/Rules.mk @ 4895:24dfd18ea63e

bitkeeper revision 1.1159.258.120 (42848bfe8kMyWWcBA64rq7h7l7AyoA)

Shadow code bug fix (found by Ian) that was breaking refcounts, and subsequently
causing migration problems.
author mafetter@fleming.research
date Fri May 13 11:14:06 2005 +0000 (2005-05-13)
parents ac1ea7e64ac3
children 1cbbd12a4918 0dc3b8b8c298
line source
1 # -*- mode: Makefile; -*-
3 XEN_XC = $(XEN_ROOT)/tools/python/xen/lowlevel/xc
4 XEN_LIBXC = $(XEN_ROOT)/tools/libxc
5 XEN_LIBXUTIL = $(XEN_ROOT)/tools/libxutil
7 COMPILE_ARCH ?= $(shell uname -m | sed -e s/i.86/x86_32/)
8 TARGET_ARCH ?= $(COMPILE_ARCH)
10 ifeq ($(TARGET_ARCH),x86_32)
11 CFLAGS += -m32 -march=i686
12 LDFLAGS += -m elf_i386
13 endif
15 ifeq ($(TARGET_ARCH),x86_64)
16 CFLAGS += -m64
17 LDFLAGS += -m elf_x86_64
18 endif
20 %.opic: %.c
21 $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
23 %.o: %.c
24 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<