ia64/xen-unstable

view config/SunOS.mk @ 12640:d30be569532d

Add test_bindings back into the build -- it isn't integrated with the normal
targets, because it introduces an additional dependency (libcurl), but
make test/test_bindings does the right thing.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Tue Nov 28 17:04:32 2006 +0000 (2006-11-28)
parents 4c2d9a2ef1b7
children 89d4e80cd1b7
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 SHELL = bash
14 INSTALL = ginstall
15 INSTALL_DIR = $(INSTALL) -d -m0755
16 INSTALL_DATA = $(INSTALL) -m0644
17 INSTALL_PROG = $(INSTALL) -m0755
19 LIB64DIR = lib/amd64
21 SOCKET_LIBS = -lsocket
22 CURSES_LIBS = -lcurses
23 SONAME_LDFLAG = -h
24 SHLIB_CFLAGS = -R /usr/sfw/$(LIBDIR) -shared
26 ifneq ($(debug),y)
27 # Optimisation flags are overridable
28 CFLAGS ?= -O2 -fno-omit-frame-pointer
29 else
30 # Less than -O1 produces bad code and large stack frames
31 CFLAGS ?= -O1 -fno-omit-frame-pointer
32 endif
34 CFLAGS += -Wa,--divide -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__