#************************************************************************* # 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.sun4 # # This file is maintained by the EPICS community. # Sites may override these definitions in CONFIG_SITE.Host.sun4 ARCH_CLASS = sun4 # Include definitions common to all Unix archs include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon # # required by sun's C++ compiler # AR = ar _AR = $(AR) $(ARFLAGS) G++_AR = $(_AR) CCC_AR = $(CCC) -xar -o ARCMD = $($(CPLUSPLUS)_AR) $@ RANLIB = ranlib RANLIBFLAGS = -t # Configure OS vendor C compilers ACC = /usr/lang/acc ACC_ANSI = $(ACC) -Xa ACC_STRICT = $(ACC) -Xc ACC_TRAD = $(ACC) -Xs ACC_WARN_YES = -vc ACC_WARN_NO = -w ACC_OPT_YES = -O ACC_OPT_NO = -g ACC_SFLAGS_YES= -Bstatic ACC_SFLAGS_NO= ACC_SLIBS_YES= ACC_SLIBS_NO= #ACC_OP_SYS_LDFLAGS = -L$(SPECIAL_LANG) ACC_SHRLIB_CFLAGS_YES = -pic ACC_SHRLIB_LDFLAGS_YES = -assert pure-text -h $@ SUNCC = cc SUNCC_ANSI = echo SUNCC_ANSI not defined SUNCC_STRICT = echo SUNCC_STRICT not defined SUNCC_TRAD = $(SUNCC) SUNCC_WARN_YES = SUNCC_WARN_NO = -w SUNCC_OPT_YES = -O SUNCC_OPT_NO = -g SUNCC_SFLAGS_YES= -Bstatic SUNCC_SFLAGS_NO= SUNCC_SLIBS_YES= SUNCC_SLIBS_NO= SUNCC_SHRLIB_CFLAGS_YES = -pic SUNCC_SHRLIB_LDFLAGS_YES = -assert pure-text -h $@ # Configure OS vendor C++ compiler CCC = /usr/lang/CC CCC_NORMAL = $(CCC) CCC_STRICT = $(CCC) CCC_TEMPL_INST_FLAG = CCC_WARN_YES = CCC_WARN_NO = CCC_TEMPL_INST_FLAG = CCC_WARN_YES = +w CCC_WARN_NO = CCC_OPT_YES = -O CCC_OPT_NO = -g CCC_SFLAGS_YES= -Bstatic CCC_SFLAGS_NO= CCC_SLIBS_YES= CCC_SLIBS_NO= CCC_SHRLIB_CFLAGS_YES = -pic CCC_SHRLIB_LDFLAGS_YES = -assert pure-text -h $@ CCC_DEPENDS_FLAG = -xM1 GCC_ANSI += -D__USE_FIXED_PROTOTYPES__ GCC_STRICT += -D__USE_FIXED_PROTOTYPES__ ACC_ARCH_DEP_LDLIBS = GCC_ARCH_DEP_LDLIBS = -liberty ARCH_DEP_LDLIBS = $($(ANSI)_ARCH_DEP_LDLIBS) ARCH_DEP_CFLAGS = -DSUNOS4 #SPECIAL_LANG = /usr/lang/SC3.0.1 #SPECIAL_LANG = /usr/lang/lib # Runtime ldflags RUNTIME_LDFLAGS =$(addprefix -R,$(EPICS_BASE)/lib/$(EPICS_HOST_ARCH)\ $(EPICS_EXTENSIONS)/lib/$(EPICS_HOST_ARCH))