ia64/xen-unstable

view config/StdGNU.mk @ 16958:f3b418afc6be

etherboot: Fix the build.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jan 31 14:01:59 2008 +0000 (2008-01-31)
parents 0faf620bc749
children 7e91007fa727
line source
1 AS = $(CROSS_COMPILE)as
2 LD = $(CROSS_COMPILE)ld
3 CC = $(CROSS_COMPILE)gcc
4 CPP = $(CC) -E
5 AR = $(CROSS_COMPILE)ar
6 RANLIB = $(CROSS_COMPILE)ranlib
7 NM = $(CROSS_COMPILE)nm
8 STRIP = $(CROSS_COMPILE)strip
9 OBJCOPY = $(CROSS_COMPILE)objcopy
10 OBJDUMP = $(CROSS_COMPILE)objdump
11 SIZEUTIL = $(CROSS_COMPILE)size
13 MSGFMT = msgfmt
14 MSGMERGE = msgmerge
16 INSTALL = install
17 INSTALL_DIR = $(INSTALL) -d -m0755 -p
18 INSTALL_DATA = $(INSTALL) -m0644 -p
19 INSTALL_PROG = $(INSTALL) -m0755 -p
21 PREFIX ?= /usr
22 BINDIR = $(PREFIX)/bin
23 INCLUDEDIR = $(PREFIX)/include
24 LIBLEAFDIR = lib
25 LIBLEAFDIR_x86_64 = lib64
26 LIBDIR = $(PREFIX)/$(LIBLEAFDIR)
27 LIBDIR_x86_64 = $(PREFIX)/$(LIBLEAFDIR_x86_64)
28 MANDIR = $(PREFIX)/share/man
29 MAN1DIR = $(MANDIR)/man1
30 MAN8DIR = $(MANDIR)/man8
31 SBINDIR = $(PREFIX)/sbin
33 PRIVATE_PREFIX = $(LIBDIR)/xen
34 PRIVATE_BINDIR = $(PRIVATE_PREFIX)/bin
36 SOCKET_LIBS =
37 CURSES_LIBS = -lncurses
38 UTIL_LIBS = -lutil
39 SONAME_LDFLAG = -soname
40 SHLIB_CFLAGS = -shared
42 ifneq ($(debug),y)
43 # Optimisation flags are overridable
44 CFLAGS ?= -O2 -fomit-frame-pointer
45 else
46 # Less than -O1 produces bad code and large stack frames
47 CFLAGS ?= -O1 -fno-omit-frame-pointer
48 endif