Added freebsd-x86 support, modifying freebsd-x86_64 for commonality.

This commit is contained in:
Andrew Johnson
2006-12-07 20:05:20 +00:00
parent 4840787079
commit 2e9bd68b2f
4 changed files with 21 additions and 11 deletions

View File

@@ -12,23 +12,18 @@
# Sites may override these definitions in CONFIG_SITE.Host.freebsd
OS_CLASS = freebsd
ARCH_CLASS = x86_64
# Include definitions common to all Unix archs
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
ARCH_DEP_CPPFLAGS += -D_X86_64_
CODE_CPPFLAGS = -D_REENTRANT
#POSIX_CPPFLAGS = -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500
POSIX_CPPFLAGS = -D_POSIX_THREADS
POSIX_LDLIBS = -lpthread
# -D_BSD_SOURCE for gethostname() in unistd.h as needed by cacChannelIO.cpp.
OP_SYS_CPPFLAGS += -D_BSD_SOURCE
OP_SYS_CPPFLAGS += -Dfreebsd
#OP_SYS_LDLIBS += -lrt
# Set runtime path for shared libraries
RUNTIME_LDFLAGS = $(SHRLIB_SEARCH_FULLPATHDIRS:%=-Wl,-rpath,%)

View File

@@ -0,0 +1,15 @@
#*************************************************************************
# Copyright (c) 2006 UChicago Argonne LLC, 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 is distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
ARCH_CLASS = x86
-include $(EPICS_BASE)/config/CONFIG.Host.freebsd
ARCH_DEP_CPPFLAGS += -D_X86_

View File

@@ -1,12 +1,15 @@
#*************************************************************************
# Copyright (c) 2002 The University of Chicago, as Operator of Argonne
# Copyright (c) 2006 UChicago Argonne LLC, 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
# EPICS BASE is distributed subject to a Software License Agreement found
# in file LICENSE that is included with this distribution.
#*************************************************************************
# $Id$
ARCH_CLASS = x86_64
-include $(EPICS_BASE)/config/CONFIG.Host.freebsd
ARCH_DEP_CPPFLAGS += -D_X86_64_

View File

@@ -9,6 +9,3 @@
# $Id$
-include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon
WIND_HOST_TYPE = i386-linux2