ia64/xen-unstable

view tools/Rules.mk @ 8097:7363637e2721

merge

Keir did a similar change earlier, but my version removed some special case
code as well, now that __gpfn_to_mfn() can protect itself.
author Michael.Fetterman@cl.cam.ac.uk
date Mon Nov 28 15:22:47 2005 +0100 (2005-11-28)
parents 06d84bf87159
children 82e48750542c
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
7 XEN_XENSTORE = $(XEN_ROOT)/tools/xenstore
8 XEN_LIBXENSTAT = $(XEN_ROOT)/tools/xenstat/libxenstat/src
10 ifeq ($(XEN_TARGET_ARCH),x86_32)
11 CFLAGS += -m32 -march=i686
12 LDFLAGS += -m32
13 endif
15 ifeq ($(XEN_TARGET_ARCH),x86_64)
16 CFLAGS += -m64
17 LDFLAGS += -m64
18 endif
20 X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
22 %.opic: %.c
23 $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
25 %.o: %.c
26 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
28 %.o: %.cc
29 $(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<