debuggers.hg

annotate config/StdGNU.mk @ 16937: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
rev   line source
kfraser@11844 1 AS = $(CROSS_COMPILE)as
kfraser@11844 2 LD = $(CROSS_COMPILE)ld
kfraser@11844 3 CC = $(CROSS_COMPILE)gcc
ewan@14569 4 CPP = $(CC) -E
kfraser@11844 5 AR = $(CROSS_COMPILE)ar
kfraser@11844 6 RANLIB = $(CROSS_COMPILE)ranlib
kfraser@11844 7 NM = $(CROSS_COMPILE)nm
kfraser@11844 8 STRIP = $(CROSS_COMPILE)strip
kfraser@11844 9 OBJCOPY = $(CROSS_COMPILE)objcopy
kfraser@11844 10 OBJDUMP = $(CROSS_COMPILE)objdump
kfraser@11844 11
kaf24@13228 12 MSGFMT = msgfmt
tom@14902 13 MSGMERGE = msgmerge
kaf24@13228 14
kfraser@11844 15 INSTALL = install
kfraser@14314 16 INSTALL_DIR = $(INSTALL) -d -m0755 -p
kfraser@14314 17 INSTALL_DATA = $(INSTALL) -m0644 -p
kfraser@14314 18 INSTALL_PROG = $(INSTALL) -m0755 -p
kfraser@11844 19
keir@16823 20 PREFIX ?= /usr
keir@16826 21 BINDIR = $(PREFIX)/bin
keir@16825 22 INCLUDEDIR = $(PREFIX)/include
keir@16824 23 LIBDIR = $(PREFIX)/lib
keir@16824 24 LIBDIR_x86_64 = $(PREFIX)/lib64
keir@16829 25 MANDIR = $(PREFIX)/share/man
keir@16829 26 MAN1DIR = $(MANDIR)/man1
keir@16829 27 MAN8DIR = $(MANDIR)/man8
keir@16828 28 SBINDIR = $(PREFIX)/sbin
kfraser@11844 29
keir@16937 30 PRIVATE_PREFIX = $(LIBDIR)/xen
keir@16937 31 PRIVATE_BINDIR = $(PRIVATE_PREFIX)/bin
keir@16937 32
kfraser@11844 33 SOCKET_LIBS =
kfraser@11844 34 CURSES_LIBS = -lncurses
keir@16117 35 UTIL_LIBS = -lutil
kfraser@11844 36 SONAME_LDFLAG = -soname
kfraser@11844 37 SHLIB_CFLAGS = -shared
kfraser@11844 38
kfraser@11844 39 ifneq ($(debug),y)
kfraser@11844 40 # Optimisation flags are overridable
kfraser@11844 41 CFLAGS ?= -O2 -fomit-frame-pointer
kfraser@11844 42 else
kfraser@11844 43 # Less than -O1 produces bad code and large stack frames
kfraser@11844 44 CFLAGS ?= -O1 -fno-omit-frame-pointer
kfraser@11844 45 endif