From 239cd857a8abba007083ce74d163bfc5db7cb669 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Tue, 19 Dec 2006 16:57:05 +0000 Subject: [PATCH] Added osf-alpha files from Kazuro FURUKAWA (modified for R3.14.9). --- configure/os/CONFIG.Common.osf-alpha | 38 ++++++++++++++ configure/os/CONFIG.Common.osf-alpha-gnu | 38 ++++++++++++++ configure/os/CONFIG.osf-alpha-gnu.Common | 14 ++++++ .../os/CONFIG.osf-alpha-gnu.osf-alpha-gnu | 45 +++++++++++++++++ configure/os/CONFIG.osf-alpha.Common | 14 ++++++ configure/os/CONFIG.osf-alpha.osf-alpha | 49 +++++++++++++++++++ 6 files changed, 198 insertions(+) create mode 100644 configure/os/CONFIG.Common.osf-alpha create mode 100644 configure/os/CONFIG.Common.osf-alpha-gnu create mode 100644 configure/os/CONFIG.osf-alpha-gnu.Common create mode 100644 configure/os/CONFIG.osf-alpha-gnu.osf-alpha-gnu create mode 100644 configure/os/CONFIG.osf-alpha.Common create mode 100644 configure/os/CONFIG.osf-alpha.osf-alpha diff --git a/configure/os/CONFIG.Common.osf-alpha b/configure/os/CONFIG.Common.osf-alpha new file mode 100644 index 000000000..2bb9ff416 --- /dev/null +++ b/configure/os/CONFIG.Common.osf-alpha @@ -0,0 +1,38 @@ +# CONFIG.Common.osf-alpha +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for osf-alpha target archs +# Sites may override these definitions in CONFIG_SITE.Common.osf-alpha +#------------------------------------------------------- + +# Include definitions common to all Unix targets +include $(CONFIG)/os/CONFIG.Common.UnixCommon + +OS_CLASS = osf +ARCH_CLASS = alpha + +CODE_CPPFLAGS = + +POSIX_CPPFLAGS = +POSIX_LDLIBS += -lpthread + +OP_SYS_CPPFLAGS += -D_OSF_SOURCE +OP_SYS_LDLIBS += -lrt + +space:=$(empty) $(empty) +colon := : + +# Set runtime path for shared libraries +SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-rpath %) + +# Set runtime path for products +PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-rpath %) + +ifdef CROSS + GNU_TARGET=alpha-osf + CMPLR_SUFFIX= + CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET)) +endif + diff --git a/configure/os/CONFIG.Common.osf-alpha-gnu b/configure/os/CONFIG.Common.osf-alpha-gnu new file mode 100644 index 000000000..d7207c181 --- /dev/null +++ b/configure/os/CONFIG.Common.osf-alpha-gnu @@ -0,0 +1,38 @@ +# CONFIG.Common.osf-alpha-gnu +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for osf-alpha target archs +# Sites may override these definitions in CONFIG_SITE.Common.osf-alpha-gnu +#------------------------------------------------------- + +# Include definitions common to all Unix targets +include $(CONFIG)/os/CONFIG.Common.UnixCommon + +OS_CLASS = osf +ARCH_CLASS = alpha + +CODE_CPPFLAGS = + +POSIX_CPPFLAGS = +POSIX_LDLIBS += -lpthread + +OP_SYS_CPPFLAGS += -D_OSF_SOURCE -D_REENTRANT +OP_SYS_LDLIBS += -lrt + +space:=$(empty) $(empty) +colon := : + +# Set runtime path for shared libraries +SHRLIBDIR_LDFLAGS += $(SHRLIB_DEPLIB_DIRS:%=-Wl,-rpath,%) + +# Set runtime path for products +PRODDIR_LDFLAGS += $(PROD_DEPLIB_DIRS:%=-Wl,-rpath,%) + +ifdef CROSS + GNU_TARGET=alpha-osf + CMPLR_SUFFIX= + CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET)) +endif + diff --git a/configure/os/CONFIG.osf-alpha-gnu.Common b/configure/os/CONFIG.osf-alpha-gnu.Common new file mode 100644 index 000000000..f4dd25b50 --- /dev/null +++ b/configure/os/CONFIG.osf-alpha-gnu.Common @@ -0,0 +1,14 @@ +# CONFIG.osf-alpha-gnu.Common +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for osf-alpha host archs +# Sites may override these definitions in CONFIG_SITE.osf-alpha-gnu.Common +#------------------------------------------------------- + +#Include definitions common to unix hosts +include $(CONFIG)/os/CONFIG.UnixCommon.Common + +WIND_HOST_TYPE = osf-alpha + diff --git a/configure/os/CONFIG.osf-alpha-gnu.osf-alpha-gnu b/configure/os/CONFIG.osf-alpha-gnu.osf-alpha-gnu new file mode 100644 index 000000000..e4ea45317 --- /dev/null +++ b/configure/os/CONFIG.osf-alpha-gnu.osf-alpha-gnu @@ -0,0 +1,45 @@ +# CONFIG.osf-alpha-gnu.osf-alpha-gnu +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for osf-alpha host archs +# Sites may override these definitions in CONFIG_SITE.osf-alpha-gnu.osf-alpha-gnu +#------------------------------------------------------- + +CC = gcc +CCC = g++ +CPP = $(CC) -E +RANLIB = +AR = ar -r +LD = -r + +# Configure OS vendor C compiler +CONFORM_CFLAGS_ANSI = +CONFORM_CFLAGS_STRICT = +CONFORM_CFLAGS_TRAD = +CODE_CFLAGS = +WARN_CFLAGS_YES = +WARN_CFLAGS_NO = -w +OPT_CFLAGS_YES = -O +OPT_CFLAGS_NO = -g + +# Configure OS vendor C++ compiler +CONFORM_CXXFLAGS_NORMAL = +CONFORM_CXXFLAGS_STRICT = +PROF_CXXFLAGS_YES = +p +PROF_CXXFLAGS_NO = +CODE_CXXFLAGS = +WARN_CXXFLAGS_YES = +WARN_CXXFLAGS_NO = +OPT_CXXFLAGS_YES = -O +OPT_CXXFLAGS_NO = -g + +STATIC_LDFLAGS_YES= -Bstatic -lrt -lpthread +STATIC_LDFLAGS_NO= +STATIC_LDLIBS_YES= -Bdynamic +STATIC_LDLIBS_NO= + +SHRLIB_LDFLAGS = -shared +LOADABLE_SHRLIB_LDFLAGS = $(SHRLIB_LDFLAGS) + diff --git a/configure/os/CONFIG.osf-alpha.Common b/configure/os/CONFIG.osf-alpha.Common new file mode 100644 index 000000000..c337925be --- /dev/null +++ b/configure/os/CONFIG.osf-alpha.Common @@ -0,0 +1,14 @@ +# CONFIG.osf-alpha.Common +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for osf-alpha host archs +# Sites may override these definitions in CONFIG_SITE.osf-alpha.Common +#------------------------------------------------------- + +#Include definitions common to unix hosts +include $(CONFIG)/os/CONFIG.UnixCommon.Common + +WIND_HOST_TYPE = osf-alpha + diff --git a/configure/os/CONFIG.osf-alpha.osf-alpha b/configure/os/CONFIG.osf-alpha.osf-alpha new file mode 100644 index 000000000..622f02610 --- /dev/null +++ b/configure/os/CONFIG.osf-alpha.osf-alpha @@ -0,0 +1,49 @@ +# CONFIG.osf-alpha.osf-alpha +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for osf-alpha host archs +# Sites may override these definitions in CONFIG_SITE.osf-alpha.osf-alpha +#------------------------------------------------------- + +CC = cc +CCC = cxx +CPP = $(CC) -E +RANLIB = +AR = ar -r +LD = -r + +# Configure OS vendor C compiler +CONFORM_CFLAGS_ANSI = -std +CONFORM_CFLAGS_STRICT = -std1 -pthread -ieee +CONFORM_CFLAGS_TRAD = -std0 +CODE_CFLAGS = +WARN_CFLAGS_YES = +WARN_CFLAGS_NO = -w +OPT_CFLAGS_YES = -O +OPT_CFLAGS_NO = -g + +# Configure OS vendor C++ compiler +CONFORM_CXXFLAGS_NORMAL = +CONFORM_CXXFLAGS_STRICT = -std gnu -pthread -ieee +PROF_CXXFLAGS_YES = +p +PROF_CXXFLAGS_NO = +CODE_CXXFLAGS = +WARN_CXXFLAGS_YES = +WARN_CXXFLAGS_NO = +OPT_CXXFLAGS_YES = -O +OPT_CXXFLAGS_NO = -g + +STATIC_LDFLAGS_YES= -Bstatic +STATIC_LDFLAGS_NO= +STATIC_LDLIBS_YES= -Bdynamic +STATIC_LDLIBS_NO= + +SHRLIB_LDFLAGS = -shared +LOADABLE_SHRLIB_LDFLAGS = $(SHRLIB_LDFLAGS) + +############# ??????????? +#####ACC_SFLAGS_YES= -non_shared +#####ACC_SFLAGS_NO= -call_shared +