75 lines
2.3 KiB
Plaintext
75 lines
2.3 KiB
Plaintext
#*************************************************************************
|
|
# 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.
|
|
#*************************************************************************
|
|
# CONFIG.Host.hp700
|
|
#
|
|
# This file is maintained by the EPICS community.
|
|
# Sites may override these definitions in CONFIG_SITE.Host.hp700
|
|
|
|
ARCH_CLASS = hpux
|
|
|
|
SHARED_LIBRARIES=YES
|
|
|
|
# Include definitions common to all Unix archs
|
|
include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon
|
|
|
|
SHRLIB_SUFFIX = .sl
|
|
|
|
AR = ar
|
|
ARFLAGS = -rc
|
|
|
|
# Configure OS vendor C compiler
|
|
ACC = cc
|
|
ACC_ANSI = $(ACC) -Aa
|
|
ACC_STRICT = $(ACC) -Aa
|
|
ACC_TRAD = $(ACC) -Ac
|
|
ACC_WARN_YES =
|
|
ACC_WARN_NO = -w
|
|
ACC_OPT_YES = -O
|
|
ACC_OPT_NO = -g
|
|
# Always keep libc shared to force using the one supplied with the
|
|
# target machine (HP system and libc must match - important e.g. for
|
|
# multi-CPU-systems)
|
|
ACC_SLDFLAGS_YES= -Wl,-a,archive -l:libc.sl
|
|
ACC_SFLAGS_NO =
|
|
ACC_SLIBS_YES =
|
|
ACC_SLIBS_NO =
|
|
ACC_SHRLIB_LDFLAGS_YES = -b
|
|
|
|
# aCC HP C++ compiler
|
|
CCC = aCC
|
|
# Suppress bogus warnings created by the aCC compiler
|
|
CCC_NORMAL = $(CCC) -AA -Aa -mt +W302 +W829 +W818 +W392 +W469 +W495 +W749 +W667 +W392 +W684
|
|
CCC_STRICT = $(CCC) -AA -Aa -mt
|
|
CCC_TEMPL_INST_FLAG =
|
|
CCC_WARN_YES = +w
|
|
CCC_WARN_NO =
|
|
CCC_OPT_YES = +O3
|
|
CCC_OPT_NO = -g
|
|
# Always keep libc shared to force using the one supplied with the
|
|
# target machine (HP system and libc must match - important e.g. for
|
|
# multi-CPU-systems)
|
|
CCC_SLDFLAGS_YES= -Wl,-a,archive -l:libc.sl
|
|
CCC_SFLAGS_NO=
|
|
CCC_SLIBS_YES =
|
|
CCC_SLIBS_NO=
|
|
CCC_SHRLIB_LDFLAGS_YES = -b
|
|
CCC_DEPENDS_FLAG = +m
|
|
|
|
# Portability across different PA-RISC architecture versions, position
|
|
# independent code, "-mt" (s.a.) handles all the posix stuff
|
|
ARCH_DEP_CPPFLAGS = -DHP_UX +DAportable +z
|
|
ARCH_DEP_CFLAGS = -D_HPUX_SOURCE
|
|
|
|
# Set runtime path for shared libraries
|
|
empty:= # trick from the make docs...
|
|
space:= $(empty) $(empty)
|
|
RUNTIME_LDFLAGS_YES = -Wl,+b$(subst $(space),:,$(sort $(SHRLIB_SEARCH_DIRS))),+s
|
|
RUNTIME_LDFLAGS += $(RUNTIME_LDFLAGS_$(SHARED_LIBRARIES))
|