ia64/xen-unstable

annotate config/StdGNU.mk @ 19477:b3daeb123b6f

build: Get rid of some more hardcoded install paths
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 31 13:30:50 2009 +0100 (2009-03-31)
parents 633e08774dab
children 23f9857f642f
rev   line source
kfraser@11879 1 AS = $(CROSS_COMPILE)as
kfraser@11879 2 LD = $(CROSS_COMPILE)ld
kfraser@11879 3 CC = $(CROSS_COMPILE)gcc
ewan@14533 4 CPP = $(CC) -E
kfraser@11879 5 AR = $(CROSS_COMPILE)ar
kfraser@11879 6 RANLIB = $(CROSS_COMPILE)ranlib
kfraser@11879 7 NM = $(CROSS_COMPILE)nm
kfraser@11879 8 STRIP = $(CROSS_COMPILE)strip
kfraser@11879 9 OBJCOPY = $(CROSS_COMPILE)objcopy
kfraser@11879 10 OBJDUMP = $(CROSS_COMPILE)objdump
keir@16958 11 SIZEUTIL = $(CROSS_COMPILE)size
kfraser@11879 12
kaf24@13226 13 MSGFMT = msgfmt
tom@14865 14 MSGMERGE = msgmerge
kaf24@13226 15
keir@17956 16 # Allow git to be wrappered in the environment
keir@17956 17 GIT ?= git
keir@17956 18
keir@18420 19 INSTALL = install
kfraser@14286 20 INSTALL_DIR = $(INSTALL) -d -m0755 -p
kfraser@14286 21 INSTALL_DATA = $(INSTALL) -m0644 -p
kfraser@14286 22 INSTALL_PROG = $(INSTALL) -m0755 -p
kfraser@11879 23
keir@16840 24 PREFIX ?= /usr
keir@16843 25 BINDIR = $(PREFIX)/bin
keir@16842 26 INCLUDEDIR = $(PREFIX)/include
keir@16952 27 LIBLEAFDIR = lib
keir@19404 28 LIBLEAFDIR_x86_32 = lib
keir@16952 29 LIBLEAFDIR_x86_64 = lib64
keir@16952 30 LIBDIR = $(PREFIX)/$(LIBLEAFDIR)
keir@19404 31 LIBDIR_x86_32 = $(PREFIX)/$(LIBLEAFDIR_x86_32)
keir@16952 32 LIBDIR_x86_64 = $(PREFIX)/$(LIBLEAFDIR_x86_64)
keir@19404 33 LIBEXEC = $(LIBDIR_x86_32)/xen/bin
keir@19477 34 SHAREDIR = $(PREFIX)/share
keir@19477 35 MANDIR = $(SHAREDIR)/man
keir@16846 36 MAN1DIR = $(MANDIR)/man1
keir@16846 37 MAN8DIR = $(MANDIR)/man8
keir@16845 38 SBINDIR = $(PREFIX)/sbin
kfraser@11879 39
keir@16899 40 PRIVATE_PREFIX = $(LIBDIR)/xen
keir@16899 41 PRIVATE_BINDIR = $(PRIVATE_PREFIX)/bin
keir@16899 42
kfraser@11879 43 SOCKET_LIBS =
kfraser@11879 44 CURSES_LIBS = -lncurses
keir@17046 45 PTHREAD_LIBS = -lpthread
keir@16079 46 UTIL_LIBS = -lutil
kfraser@11879 47 SONAME_LDFLAG = -soname
kfraser@11879 48 SHLIB_CFLAGS = -shared
kfraser@11879 49
kfraser@11879 50 ifneq ($(debug),y)
keir@17216 51 CFLAGS += -O2 -fomit-frame-pointer
kfraser@11879 52 else
kfraser@11879 53 # Less than -O1 produces bad code and large stack frames
keir@17216 54 CFLAGS += -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls
kfraser@11879 55 endif