debuggers.hg

annotate config/StdGNU.mk @ 11844:3409c35a0b0e

[OpenBSD] Various changes to get Xen building on OpenBSD.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Oct 18 17:08:09 2006 +0100 (2006-10-18)
parents
children 89d4e80cd1b7
rev   line source
kfraser@11844 1 AS = $(CROSS_COMPILE)as
kfraser@11844 2 LD = $(CROSS_COMPILE)ld
kfraser@11844 3 CC = $(CROSS_COMPILE)gcc
kfraser@11844 4 CPP = $(CROSS_COMPILE)gcc -E
kfraser@11844 5 AR = $(CROSS_COMPILE)ar
kfraser@11844 6 RANLIB = $(CROSS_COMPILE)ranlib
kfraser@11844 7 NM = $(CROSS_COMPILE)nm
kfraser@11844 8 STRIP = $(CROSS_COMPILE)strip
kfraser@11844 9 OBJCOPY = $(CROSS_COMPILE)objcopy
kfraser@11844 10 OBJDUMP = $(CROSS_COMPILE)objdump
kfraser@11844 11
kfraser@11844 12 INSTALL = install
kfraser@11844 13 INSTALL_DIR = $(INSTALL) -d -m0755
kfraser@11844 14 INSTALL_DATA = $(INSTALL) -m0644
kfraser@11844 15 INSTALL_PROG = $(INSTALL) -m0755
kfraser@11844 16
kfraser@11844 17 LIB64DIR = lib64
kfraser@11844 18
kfraser@11844 19 SOCKET_LIBS =
kfraser@11844 20 CURSES_LIBS = -lncurses
kfraser@11844 21 SONAME_LDFLAG = -soname
kfraser@11844 22 SHLIB_CFLAGS = -shared
kfraser@11844 23
kfraser@11844 24 ifneq ($(debug),y)
kfraser@11844 25 # Optimisation flags are overridable
kfraser@11844 26 CFLAGS ?= -O2 -fomit-frame-pointer
kfraser@11844 27 else
kfraser@11844 28 # Less than -O1 produces bad code and large stack frames
kfraser@11844 29 CFLAGS ?= -O1 -fno-omit-frame-pointer
kfraser@11844 30 endif