Print this page
libmvec: further unifdef'ing (LIBMVEC_SO_BUILD)

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libmvec/Makefile.com
          +++ new/usr/src/lib/libmvec/Makefile.com
↓ open down ↓ 169 lines elided ↑ open up ↑
 170  170  LINTERROFF      += -erroff=E_ASSIGMENT_CAUSE_LOSS_PREC
 171  171  LINTERROFF      += -erroff=E_FUNC_SET_NOT_USED
 172  172  
 173  173  LINTFLAGS       += $(LINTERROFF)
 174  174  LINTFLAGS64     += $(LINTERROFF)
 175  175  LINTFLAGS64     += -errchk=longptr64
 176  176  
 177  177  CLAGS           += $(LINTERROFF)
 178  178  CFLAGS64        += $(LINTERROFF)
 179  179  
 180      -ASDEF           += -DLIBMVEC_SO_BUILD
 181      -
 182  180  FLTRPATH_sparc          = $$ORIGIN/cpu/$$ISALIST/libmvec_isa.so.1
 183  181  FLTRPATH_sparcv9        = $$ORIGIN/../cpu/$$ISALIST/sparcv9/libmvec_isa.so.1
 184  182  FLTRPATH_i386           = $$ORIGIN/libmvec/$$HWCAP
 185  183  FLTRPATH                = $(FLTRPATH_$(TARGET_ARCH))
 186  184  
 187  185  sparc_CFLAGS += -_cc=-W0,-xintrinsic
 188  186  sparcv9_CFLAGS += -_cc=-W0,-xintrinsic
 189  187  CPPFLAGS_i386   += -Dfabs=__fabs
 190  188  
 191      -CPPFLAGS        += -DLIBMVEC_SO_BUILD
 192      -
 193  189  SRCS_mvec_i386 = \
 194  190          ../common/__vsqrtf.c \
 195  191          #end
 196  192  
 197  193  SRCS_mvec_sparc = \
 198  194          $(SRCS_mvec_i386) \
 199  195          #end
 200  196  SRCS_mvec_sparcv9 = \
 201  197          $(SRCS_mvec_i386) \
 202  198          #end
↓ open down ↓ 94 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX