ia64/xen-unstable

view tools/Rules.mk @ 4591:6375127fdf23

bitkeeper revision 1.1311.1.1 (426641eeBv97w6sl983zxeR4Dc3Utg)

Cleanup page table handling. Add macros to access page table
entries, fixup plenty of places in the code to use the page
table types instead of "unsigned long".

Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: michael.fetterman@cl.cam.ac.uk
author mafetter@fleming.research
date Wed Apr 20 11:50:06 2005 +0000 (2005-04-20)
parents 3dac50183187
children 3615dfd94bdb 9f22db685802
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_LIBXUTIL = $(XEN_ROOT)/tools/libxutil
9 ifeq ($(XEN_TARGET_ARCH),x86_32)
10 CFLAGS += -m32 -march=i686
11 LDFLAGS += -m elf_i386
12 endif
14 ifeq ($(XEN_TARGET_ARCH),x86_64)
15 CFLAGS += -m64
16 LDFLAGS += -m elf_x86_64
17 endif
19 X11_LDPATH = -L/usr/X11R6/$(LIBDIR)
21 %.opic: %.c
22 $(CC) $(CPPFLAGS) -DPIC $(CFLAGS) -fPIC -c -o $@ $<
24 %.o: %.c
25 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
27 %.o: %.cc
28 $(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<