ia64/xen-unstable

annotate config/StdGNU.mk @ 17046:7e91007fa727

Make stubdom/Makefile override XEN_OS to MiniOS, and add
config/MiniOS.mk. Add PTHREAD_LIBS to configs (usually holding
-lpthread).

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Feb 12 15:03:07 2008 +0000 (2008-02-12)
parents f3b418afc6be
children b0fe56f7b190
rev   line source
kfraser@11879 1 AS = $(CROSS_COMPILE)as
kfraser@11879 2 LD = $(CROSS_COMPILE)ld
kfraser@11879 3 CC = $(CROSS_COMPILE)gcc
ewan@14533 4 CPP = $(CC) -E
kfraser@11879 5 AR = $(CROSS_COMPILE)ar
kfraser@11879 6 RANLIB = $(CROSS_COMPILE)ranlib
kfraser@11879 7 NM = $(CROSS_COMPILE)nm
kfraser@11879 8 STRIP = $(CROSS_COMPILE)strip
kfraser@11879 9 OBJCOPY = $(CROSS_COMPILE)objcopy
kfraser@11879 10 OBJDUMP = $(CROSS_COMPILE)objdump
keir@16958 11 SIZEUTIL = $(CROSS_COMPILE)size
kfraser@11879 12
kaf24@13226 13 MSGFMT = msgfmt
tom@14865 14 MSGMERGE = msgmerge
kaf24@13226 15
kfraser@11879 16 INSTALL = install
kfraser@14286 17 INSTALL_DIR = $(INSTALL) -d -m0755 -p
kfraser@14286 18 INSTALL_DATA = $(INSTALL) -m0644 -p
kfraser@14286 19 INSTALL_PROG = $(INSTALL) -m0755 -p
kfraser@11879 20
keir@16840 21 PREFIX ?= /usr
keir@16843 22 BINDIR = $(PREFIX)/bin
keir@16842 23 INCLUDEDIR = $(PREFIX)/include
keir@16952 24 LIBLEAFDIR = lib
keir@16952 25 LIBLEAFDIR_x86_64 = lib64
keir@16952 26 LIBDIR = $(PREFIX)/$(LIBLEAFDIR)
keir@16952 27 LIBDIR_x86_64 = $(PREFIX)/$(LIBLEAFDIR_x86_64)
keir@16846 28 MANDIR = $(PREFIX)/share/man
keir@16846 29 MAN1DIR = $(MANDIR)/man1
keir@16846 30 MAN8DIR = $(MANDIR)/man8
keir@16845 31 SBINDIR = $(PREFIX)/sbin
kfraser@11879 32
keir@16899 33 PRIVATE_PREFIX = $(LIBDIR)/xen
keir@16899 34 PRIVATE_BINDIR = $(PRIVATE_PREFIX)/bin
keir@16899 35
kfraser@11879 36 SOCKET_LIBS =
kfraser@11879 37 CURSES_LIBS = -lncurses
keir@17046 38 PTHREAD_LIBS = -lpthread
keir@16079 39 UTIL_LIBS = -lutil
kfraser@11879 40 SONAME_LDFLAG = -soname
kfraser@11879 41 SHLIB_CFLAGS = -shared
kfraser@11879 42
kfraser@11879 43 ifneq ($(debug),y)
kfraser@11879 44 # Optimisation flags are overridable
kfraser@11879 45 CFLAGS ?= -O2 -fomit-frame-pointer
kfraser@11879 46 else
kfraser@11879 47 # Less than -O1 produces bad code and large stack frames
kfraser@11879 48 CFLAGS ?= -O1 -fno-omit-frame-pointer
kfraser@11879 49 endif