direct-io.hg

view Config.mk @ 4399:404af33b77b7

bitkeeper revision 1.1236.1.171 (424bbaa4hQe-DqWXkaydpYrAVLtpFA)

noop merge.
author kaf24@firebug.cl.cam.ac.uk
date Thu Mar 31 08:53:56 2005 +0000 (2005-03-31)
parents 486217f3ad4f
children a01199a95070 e7f3366cfafd
line source
1 # -*- mode: Makefile; -*-
2 # Currently supported architectures: x86_32, x86_64
3 XEN_COMPILE_ARCH ?= $(shell uname -m | sed -e s/i.86/x86_32/)
4 XEN_TARGET_ARCH ?= $(XEN_COMPILE_ARCH)
6 #
7 # Tool configuration Makefile fragment
8 #
9 HOSTCC = gcc
10 HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
12 AS = $(CROSS_COMPILE)as
13 LD = $(CROSS_COMPILE)ld
14 CC = $(CROSS_COMPILE)gcc
15 CPP = $(CROSS_COMPILE)gcc -E
16 AR = $(CROSS_COMPILE)ar
17 NM = $(CROSS_COMPILE)nm
18 STRIP = $(CROSS_COMPILE)strip
19 OBJCOPY = $(CROSS_COMPILE)objcopy
20 OBJDUMP = $(CROSS_COMPILE)objdump
23 ifneq ($(EXTRA_PREFIX),)
24 EXTRA_INCLUDES += $(EXTRA_PREFIX)/include
25 EXTRA_LIB += $(EXTRA_PREFIX)/lib
26 endif
28 LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i))
29 CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i))
31 CFLAGS += -g