ia64/xen-unstable

view 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
line source
1 AS = $(CROSS_COMPILE)as
2 LD = $(CROSS_COMPILE)ld
3 CC = $(CROSS_COMPILE)gcc
4 CPP = $(CROSS_COMPILE)gcc -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
12 MSGFMT = msgfmt
14 INSTALL = install
15 INSTALL_DIR = $(INSTALL) -d -m0755 -p
16 INSTALL_DATA = $(INSTALL) -m0644 -p
17 INSTALL_PROG = $(INSTALL) -m0755 -p
19 LIB64DIR = lib64
21 SOCKET_LIBS =
22 CURSES_LIBS = -lncurses
23 SONAME_LDFLAG = -soname
24 SHLIB_CFLAGS = -shared
26 ifneq ($(debug),y)
27 # Optimisation flags are overridable
28 CFLAGS ?= -O2 -fomit-frame-pointer
29 else
30 # Less than -O1 produces bad code and large stack frames
31 CFLAGS ?= -O1 -fno-omit-frame-pointer
32 endif