From 7ee4842463e3d9d719cac43589eea07a73c78dee Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Fri, 17 Nov 2006 22:00:03 +0000 Subject: [PATCH] Initial version. --- config/CONFIG.Host.linux-ppc | 24 +++++++++ config/CONFIG.Host.linux-x86-debug | 12 +++++ config/CONFIG.Host.solaris-sparc64-gnu | 18 +++++++ config/CONFIG.Host.win32-x86-cygwin | 58 +++++++++++++++++++++ config/CONFIG.Host.win32-x86-debug | 12 +++++ config/CONFIG.Host.win32-x86-mingw | 43 +++++++++++++++ config/CONFIG_HOST_ARCH.linux-ppc | 14 +++++ config/CONFIG_HOST_ARCH.linux-x86-debug | 15 ++++++ config/CONFIG_HOST_ARCH.solaris-sparc64-gnu | 13 +++++ config/CONFIG_HOST_ARCH.win32-x86-cygwin | 20 +++++++ config/CONFIG_HOST_ARCH.win32-x86-debug | 14 +++++ config/CONFIG_HOST_ARCH.win32-x86-mingw | 29 +++++++++++ 12 files changed, 272 insertions(+) create mode 100644 config/CONFIG.Host.linux-ppc create mode 100644 config/CONFIG.Host.linux-x86-debug create mode 100644 config/CONFIG.Host.solaris-sparc64-gnu create mode 100644 config/CONFIG.Host.win32-x86-cygwin create mode 100644 config/CONFIG.Host.win32-x86-debug create mode 100644 config/CONFIG.Host.win32-x86-mingw create mode 100644 config/CONFIG_HOST_ARCH.linux-ppc create mode 100644 config/CONFIG_HOST_ARCH.linux-x86-debug create mode 100644 config/CONFIG_HOST_ARCH.solaris-sparc64-gnu create mode 100644 config/CONFIG_HOST_ARCH.win32-x86-cygwin create mode 100644 config/CONFIG_HOST_ARCH.win32-x86-debug create mode 100644 config/CONFIG_HOST_ARCH.win32-x86-mingw diff --git a/config/CONFIG.Host.linux-ppc b/config/CONFIG.Host.linux-ppc new file mode 100644 index 000000000..a12606d20 --- /dev/null +++ b/config/CONFIG.Host.linux-ppc @@ -0,0 +1,24 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ + +-include $(EPICS_BASE)/config/CONFIG.Host.Linux + +ARCH_CLASS = ppc + +ARCH_DEP_CPPFLAGS += -D_ppc_ + +GNU_DIR = /usr + +GCC = $(GNU_BIN)/gcc +G++ = $(GNU_BIN)/g++ + +ARCH_DEP_LDLIBS = -lgcc + diff --git a/config/CONFIG.Host.linux-x86-debug b/config/CONFIG.Host.linux-x86-debug new file mode 100644 index 000000000..5787e040a --- /dev/null +++ b/config/CONFIG.Host.linux-x86-debug @@ -0,0 +1,12 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ + +-include $(EPICS_BASE)/config/CONFIG.Host.Linux diff --git a/config/CONFIG.Host.solaris-sparc64-gnu b/config/CONFIG.Host.solaris-sparc64-gnu new file mode 100644 index 000000000..80c759c7e --- /dev/null +++ b/config/CONFIG.Host.solaris-sparc64-gnu @@ -0,0 +1,18 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ + +# solaris-sparc is the new name for solaris +-include $(EPICS_BASE)/config/CONFIG.Host.solarisGnu + +ARCH_DEP_CFLAGS += -mcpu=v9 -m64 +ARCH_DEP_CXXFLAGS += -mcpu=v9 -m64 +ARCH_DEP_LDFLAGS += -mcpu=v9 -m64 + diff --git a/config/CONFIG.Host.win32-x86-cygwin b/config/CONFIG.Host.win32-x86-cygwin new file mode 100644 index 000000000..76b7c1067 --- /dev/null +++ b/config/CONFIG.Host.win32-x86-cygwin @@ -0,0 +1,58 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ +# +# This file is maintained by the EPICS community. +# Sites may override these definitions in CONFIG_SITE.Host.win32-x86-cygwin + +SHARED_LIBRARIES = NO + +#ARCH_CLASS = WIN32 +ARCH_CLASS = cygwin + +# Include definitions common to all Unix archs +include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon + +AR = ar -rc +ARCMD = $(AR) $@ +RANLIB = ranlib -t + +ANSI=GCC +CPLUSPLUS=G++ + +# Dont use -ansi: -ansi eliminates strdup and _tempnam +GCC_ANSI = $(GCC) +GCC_STRICT = $(GCC) -pedantic +G++_NORMAL = $(G++) -pedantic +G++_STRICT = $(G++) -pedantic + +# Dont use -fPIC: with -fPIC we get +# "warning: -fPIC ignored for target (all code is position independent) " +GCC_DEP_CFLAGS = -D_REENTRANT +G++_DEP_CFLAGS = -D_REENTRANT + +OP_SYS_CPPFLAGS = -mno-cygwin +OP_SYS_CXXFLAGS += -D__cplusplus +OP_SYS_LDFLAGS += -mno-cygwin + +# With no-cygwin option: +# compiler defines _X86_ 1 +# compiler defines __MSVCRT__ 1 +# compiler defines __MINGW32__ 1 +# compiler defines __WIN32 1 +# compiler defines __WIN32__ 1 +# compiler defines _WIN32 1 +# compiler defines WIN32 1 +# compiler defines WINNT 1 +# compiler does not define __unix __unix__ unix +# compiler does not define __CYGWIN__ __CYGWIN32__ + +ARCH_DEP_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm + diff --git a/config/CONFIG.Host.win32-x86-debug b/config/CONFIG.Host.win32-x86-debug new file mode 100644 index 000000000..d0d979776 --- /dev/null +++ b/config/CONFIG.Host.win32-x86-debug @@ -0,0 +1,12 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ + +-include $(EPICS_BASE)/config/CONFIG.Host.WIN32 diff --git a/config/CONFIG.Host.win32-x86-mingw b/config/CONFIG.Host.win32-x86-mingw new file mode 100644 index 000000000..a4c90284d --- /dev/null +++ b/config/CONFIG.Host.win32-x86-mingw @@ -0,0 +1,43 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ +# +# This file is maintained by the EPICS community. +# Sites may override these definitions in CONFIG_SITE.Host.win32-x86-mingw + +ARCH_CLASS = WIN32 + +SHARED_LIBRARIES = NO + +# Include definitions common to all Unix archs +include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon + +AR = ar -rc +ARCMD = $(AR) $@ +RANLIB = ranlib -t + +ANSI=GCC +CPLUSPLUS=G++ + +# Compiler defines _X86_ 1 + +# Compiler defines __MSVCRT__ 1 +# Compiler defines __MINGW32__ 1 +# Compiler defines __WIN32 1 +# Compiler defines __WINNT 1 +# Compiler defines __WINNT__ 1 +# Compiler defines __WIN32__ 1 +# Compiler defines _WIN32 1 +# Compiler defines WIN32 1 +# Compiler defines WINNT 1 +# Compiler does not define __unix __unix__ unix + +ARCH_DEP_LDLIBS = -lws2_32 -ladvapi32 -luser32 -lkernel32 -lwinmm + diff --git a/config/CONFIG_HOST_ARCH.linux-ppc b/config/CONFIG_HOST_ARCH.linux-ppc new file mode 100644 index 000000000..2f7ed9e61 --- /dev/null +++ b/config/CONFIG_HOST_ARCH.linux-ppc @@ -0,0 +1,14 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ + +-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Linux + +WIND_HOST_TYPE = ppc-linux diff --git a/config/CONFIG_HOST_ARCH.linux-x86-debug b/config/CONFIG_HOST_ARCH.linux-x86-debug new file mode 100644 index 000000000..ea151f012 --- /dev/null +++ b/config/CONFIG_HOST_ARCH.linux-x86-debug @@ -0,0 +1,15 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ + +# linux-x86 is the new name for linux +-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.Linux + +HOST_OPT = NO diff --git a/config/CONFIG_HOST_ARCH.solaris-sparc64-gnu b/config/CONFIG_HOST_ARCH.solaris-sparc64-gnu new file mode 100644 index 000000000..9651bd188 --- /dev/null +++ b/config/CONFIG_HOST_ARCH.solaris-sparc64-gnu @@ -0,0 +1,13 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ + +-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.solarisGnu + diff --git a/config/CONFIG_HOST_ARCH.win32-x86-cygwin b/config/CONFIG_HOST_ARCH.win32-x86-cygwin new file mode 100644 index 000000000..074eadffd --- /dev/null +++ b/config/CONFIG_HOST_ARCH.win32-x86-cygwin @@ -0,0 +1,20 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ +# +# Override values in CONFIG_SITE_HOST_ARCH.win32-x86-cygwin + +# Include definitions common to all Unix archs +include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon + +HOSTEXE=.exe + +WIND_HOST_TYPE = x86-win32 + diff --git a/config/CONFIG_HOST_ARCH.win32-x86-debug b/config/CONFIG_HOST_ARCH.win32-x86-debug new file mode 100644 index 000000000..a240666b1 --- /dev/null +++ b/config/CONFIG_HOST_ARCH.win32-x86-debug @@ -0,0 +1,14 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ + +-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.WIN32 + +HOST_OPT = NO diff --git a/config/CONFIG_HOST_ARCH.win32-x86-mingw b/config/CONFIG_HOST_ARCH.win32-x86-mingw new file mode 100644 index 000000000..86a648a5d --- /dev/null +++ b/config/CONFIG_HOST_ARCH.win32-x86-mingw @@ -0,0 +1,29 @@ +#************************************************************************* +# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# National Laboratory. +# Copyright (c) 2002 The Regents of the University of California, as +# Operator of Los Alamos National Laboratory. +# EPICS BASE Versions 3.13.7 +# and higher are distributed subject to a Software License Agreement found +# in file LICENSE that is included with this distribution. +#************************************************************************* +# $Id$ +# +# Override values in CONFIG_SITE_HOST_ARCH.win32-x86-mingw + +# Include definitions common to all Unix archs +include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon + +EXE=.exe +HOSTEXE=.exe + +CP =$(PERL) $(EPICS_BASE_TOOLS)/cp.pl +MV =$(PERL) $(EPICS_BASE_TOOLS)/mv.pl +RM =$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -f +MKDIR=$(PERL) $(EPICS_BASE_TOOLS)/mkdir.pl +RMDIR=$(PERL) $(EPICS_BASE_TOOLS)/rm.pl -rf +CHMOD=echo +ECHO=echo + +WIND_HOST_TYPE = x86-win32 +