ia64/xen-unstable

view config/SunOS.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)gas
2 LD = $(CROSS_COMPILE)gld
3 CC = $(CROSS_COMPILE)gcc
4 CPP = $(CROSS_COMPILE)gcc -E
5 AR = $(CROSS_COMPILE)gar
6 RANLIB = $(CROSS_COMPILE)granlib
7 NM = $(CROSS_COMPILE)gnm
8 STRIP = $(CROSS_COMPILE)gstrip
9 OBJCOPY = $(CROSS_COMPILE)gobjcopy
10 OBJDUMP = $(CROSS_COMPILE)gobjdump
12 MSGFMT = gmsgfmt
14 SHELL = bash
16 INSTALL = ginstall
17 INSTALL_DIR = $(INSTALL) -d -m0755 -p
18 INSTALL_DATA = $(INSTALL) -m0644 -p
19 INSTALL_PROG = $(INSTALL) -m0755 -p
21 PREFIX ?= /usr
22 BINDIR = $(PREFIX)/bin
23 INCLUDEDIR = $(PREFIX)/include
24 LIBDIR = $(PREFIX)/lib
25 LIBDIR_x86_64 = $(PREFIX)/lib/amd64
26 MANDIR = $(PREFIX)/share/man
27 MAN1DIR = $(MANDIR)/man1
28 MAN8DIR = $(MANDIR)/man8
29 SBINDIR = $(PREFIX)/sbin
31 PRIVATE_PREFIX = $(LIBDIR)/xen
32 PRIVATE_BINDIR = $(PRIVATE_PREFIX)/bin
34 SunOS_LIBDIR = /usr/sfw/lib
35 SunOS_LIBDIR_x86_64 = /usr/sfw/lib/amd64
37 SOCKET_LIBS = -lsocket
38 CURSES_LIBS = -lcurses
39 UTIL_LIBS =
40 SONAME_LDFLAG = -h
41 SHLIB_CFLAGS = -R $(SunOS_LIBDIR) -shared
43 ifneq ($(debug),y)
44 # Optimisation flags are overridable
45 CFLAGS ?= -O2 -fno-omit-frame-pointer
46 else
47 # Less than -O1 produces bad code and large stack frames
48 CFLAGS ?= -O1 -fno-omit-frame-pointer
49 endif
51 CFLAGS += -Wa,--divide -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__