ia64/xen-unstable

view config/StdGNU.mk @ 17135:368d3774a4b5

Fix libxenstat on Solaris

Recent Solaris enhancements have changed the way virtual NIC
statistics are collected - fix libxenstat up for this.

Signed-off-by: John Levon <john.levon@sun.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Feb 27 13:10:42 2008 +0000 (2008-02-27)
parents 7e91007fa727
children b0fe56f7b190
line source
1 AS = $(CROSS_COMPILE)as
2 LD = $(CROSS_COMPILE)ld
3 CC = $(CROSS_COMPILE)gcc
4 CPP = $(CC) -E
5 AR = $(CROSS_COMPILE)ar
6 RANLIB = $(CROSS_COMPILE)ranlib
7 NM = $(CROSS_COMPILE)nm
8 STRIP = $(CROSS_COMPILE)strip
9 OBJCOPY = $(CROSS_COMPILE)objcopy
10 OBJDUMP = $(CROSS_COMPILE)objdump
11 SIZEUTIL = $(CROSS_COMPILE)size
13 MSGFMT = msgfmt
14 MSGMERGE = msgmerge
16 INSTALL = install
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 LIBLEAFDIR = lib
25 LIBLEAFDIR_x86_64 = lib64
26 LIBDIR = $(PREFIX)/$(LIBLEAFDIR)
27 LIBDIR_x86_64 = $(PREFIX)/$(LIBLEAFDIR_x86_64)
28 MANDIR = $(PREFIX)/share/man
29 MAN1DIR = $(MANDIR)/man1
30 MAN8DIR = $(MANDIR)/man8
31 SBINDIR = $(PREFIX)/sbin
33 PRIVATE_PREFIX = $(LIBDIR)/xen
34 PRIVATE_BINDIR = $(PRIVATE_PREFIX)/bin
36 SOCKET_LIBS =
37 CURSES_LIBS = -lncurses
38 PTHREAD_LIBS = -lpthread
39 UTIL_LIBS = -lutil
40 SONAME_LDFLAG = -soname
41 SHLIB_CFLAGS = -shared
43 ifneq ($(debug),y)
44 # Optimisation flags are overridable
45 CFLAGS ?= -O2 -fomit-frame-pointer
46 else
47 # Less than -O1 produces bad code and large stack frames
48 CFLAGS ?= -O1 -fno-omit-frame-pointer
49 endif