ia64/xen-unstable

annotate config/StdGNU.mk @ 14286:9be942ec0247

tools: Clean up use of 'install' command.

- convert raw "install" command to use $(INSTALL)
- convert some $(INSTALL) to $(INSTALL_DATA) as appropriate
- modify the specific $(INSTALL) definitions to use -p.

Original patch by Ben Thomas <ben@virtualiron.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Wed Mar 07 10:49:20 2007 +0000 (2007-03-07)
parents 89d4e80cd1b7
children fb6395d2e979
rev   line source
kfraser@11879 1 AS = $(CROSS_COMPILE)as
kfraser@11879 2 LD = $(CROSS_COMPILE)ld
kfraser@11879 3 CC = $(CROSS_COMPILE)gcc
kfraser@11879 4 CPP = $(CROSS_COMPILE)gcc -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
kfraser@11879 11
kaf24@13226 12 MSGFMT = msgfmt
kaf24@13226 13
kfraser@11879 14 INSTALL = install
kfraser@14286 15 INSTALL_DIR = $(INSTALL) -d -m0755 -p
kfraser@14286 16 INSTALL_DATA = $(INSTALL) -m0644 -p
kfraser@14286 17 INSTALL_PROG = $(INSTALL) -m0755 -p
kfraser@11879 18
kfraser@11879 19 LIB64DIR = lib64
kfraser@11879 20
kfraser@11879 21 SOCKET_LIBS =
kfraser@11879 22 CURSES_LIBS = -lncurses
kfraser@11879 23 SONAME_LDFLAG = -soname
kfraser@11879 24 SHLIB_CFLAGS = -shared
kfraser@11879 25
kfraser@11879 26 ifneq ($(debug),y)
kfraser@11879 27 # Optimisation flags are overridable
kfraser@11879 28 CFLAGS ?= -O2 -fomit-frame-pointer
kfraser@11879 29 else
kfraser@11879 30 # Less than -O1 produces bad code and large stack frames
kfraser@11879 31 CFLAGS ?= -O1 -fno-omit-frame-pointer
kfraser@11879 32 endif