# SoftRelTools/signed_char_arch_spec.mk # # scott snyder, Feb, 1998. # # This file is a subroutine of signed_char.mk. # # It defines the symbol SIGNED_CHAR_FLAGS to be the switches # needed to enable signed characters for the architecture/compiler # combination given by SIGNED_CHAR_ARCH. # ifneq (,$(findstring -GCC,$(SIGNED_CHAR_ARCH))) # GCC override SIGNED_CHAR_FLAGS := -fsigned-char else ifneq (,$(findstring -KCC,$(SIGNED_CHAR_ARCH))) # KCC override SIGNED_CHAR_FLAGS := --signed_chars else ifneq (,$(findstring IRIX,$(SIGNED_CHAR_ARCH))) # SGI CC override SIGNED_CHAR_FLAGS := -signed else ifneq (,$(findstring OSF,$(SIGNED_CHAR_ARCH))) # DEC cc override SIGNED_CHAR_FLAGS := -signed else ifneq (,$(findstring MSVC,$(SIGNED_CHAR_ARCH))) # MS VC # The default here is signed. override SIGNED_CHAR_FLAGS := else # Unknown. override SIGNED_CHAR_FLAGS := endif endif endif endif endif