ia64/xen-unstable

annotate config/StdGNU.mk @ 16846:0ededc85e6b4

Add MANDIR, MAN1DIR and MAN8DIR. Use it.

Signed-off-by: Bastian Blank <waldi@debian.org>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jan 22 14:35:17 2008 +0000 (2008-01-22)
parents 71012e36922c
children 221b867ee084
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
kfraser@11879 11
kaf24@13226 12 MSGFMT = msgfmt
tom@14865 13 MSGMERGE = msgmerge
kaf24@13226 14
kfraser@11879 15 INSTALL = install
kfraser@14286 16 INSTALL_DIR = $(INSTALL) -d -m0755 -p
kfraser@14286 17 INSTALL_DATA = $(INSTALL) -m0644 -p
kfraser@14286 18 INSTALL_PROG = $(INSTALL) -m0755 -p
kfraser@11879 19
keir@16840 20 PREFIX ?= /usr
keir@16843 21 BINDIR = $(PREFIX)/bin
keir@16842 22 INCLUDEDIR = $(PREFIX)/include
keir@16841 23 LIBDIR = $(PREFIX)/lib
keir@16841 24 LIBDIR_x86_64 = $(PREFIX)/lib64
keir@16846 25 MANDIR = $(PREFIX)/share/man
keir@16846 26 MAN1DIR = $(MANDIR)/man1
keir@16846 27 MAN8DIR = $(MANDIR)/man8
keir@16845 28 SBINDIR = $(PREFIX)/sbin
kfraser@11879 29
kfraser@11879 30 SOCKET_LIBS =
kfraser@11879 31 CURSES_LIBS = -lncurses
keir@16079 32 UTIL_LIBS = -lutil
kfraser@11879 33 SONAME_LDFLAG = -soname
kfraser@11879 34 SHLIB_CFLAGS = -shared
kfraser@11879 35
kfraser@11879 36 ifneq ($(debug),y)
kfraser@11879 37 # Optimisation flags are overridable
kfraser@11879 38 CFLAGS ?= -O2 -fomit-frame-pointer
kfraser@11879 39 else
kfraser@11879 40 # Less than -O1 produces bad code and large stack frames
kfraser@11879 41 CFLAGS ?= -O1 -fno-omit-frame-pointer
kfraser@11879 42 endif