ia64/xen-unstable

view config/StdGNU.mk @ 16899:221b867ee084

Add PRIVATE_BINDIR. Use it.

Signed-off-by: Bastian Blank <waldi@debian.org>
author Keir Fraser <keir.fraser@citrix.com>
date Sat Jan 26 14:42:03 2008 +0000 (2008-01-26)
parents 0ededc85e6b4
children 0faf620bc749
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
12 MSGFMT = msgfmt
13 MSGMERGE = msgmerge
15 INSTALL = install
16 INSTALL_DIR = $(INSTALL) -d -m0755 -p
17 INSTALL_DATA = $(INSTALL) -m0644 -p
18 INSTALL_PROG = $(INSTALL) -m0755 -p
20 PREFIX ?= /usr
21 BINDIR = $(PREFIX)/bin
22 INCLUDEDIR = $(PREFIX)/include
23 LIBDIR = $(PREFIX)/lib
24 LIBDIR_x86_64 = $(PREFIX)/lib64
25 MANDIR = $(PREFIX)/share/man
26 MAN1DIR = $(MANDIR)/man1
27 MAN8DIR = $(MANDIR)/man8
28 SBINDIR = $(PREFIX)/sbin
30 PRIVATE_PREFIX = $(LIBDIR)/xen
31 PRIVATE_BINDIR = $(PRIVATE_PREFIX)/bin
33 SOCKET_LIBS =
34 CURSES_LIBS = -lncurses
35 UTIL_LIBS = -lutil
36 SONAME_LDFLAG = -soname
37 SHLIB_CFLAGS = -shared
39 ifneq ($(debug),y)
40 # Optimisation flags are overridable
41 CFLAGS ?= -O2 -fomit-frame-pointer
42 else
43 # Less than -O1 produces bad code and large stack frames
44 CFLAGS ?= -O1 -fno-omit-frame-pointer
45 endif