direct-io.hg

view config/SunOS.mk @ 15516:fa9fa5f98c91

Simplify Unisys ES7000 code in light of the fact we do not support
legacy boxes with very non-standard APIC setup.
From: Raj Subrahmanian <raj.subrahmanian@unisys.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Tue Jul 10 10:07:00 2007 +0100 (2007-07-10)
parents 9be942ec0247
children
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 LIB64DIR = lib/amd64
23 SOCKET_LIBS = -lsocket
24 CURSES_LIBS = -lcurses
25 SONAME_LDFLAG = -h
26 SHLIB_CFLAGS = -R /usr/sfw/$(LIBDIR) -shared
28 ifneq ($(debug),y)
29 # Optimisation flags are overridable
30 CFLAGS ?= -O2 -fno-omit-frame-pointer
31 else
32 # Less than -O1 produces bad code and large stack frames
33 CFLAGS ?= -O1 -fno-omit-frame-pointer
34 endif
36 CFLAGS += -Wa,--divide -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__