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


 160 include         $(SRC)/lib/Makefile.rootfs
 161 include         $(LIBMDIR)/Makefile.libm.com
 162 
 163 LIBS            = $(DYNLIB)
 164 SRCDIR          = ../common/
 165 DYNFLAGS        += -zignore
 166 
 167 LINTERROFF      = -erroff=E_FP_DIVISION_BY_ZERO 
 168 LINTERROFF      += -erroff=E_FP_INVALID
 169 LINTERROFF      += -erroff=E_BAD_PTR_CAST_ALIGN
 170 LINTERROFF      += -erroff=E_ASSIGMENT_CAUSE_LOSS_PREC
 171 LINTERROFF      += -erroff=E_FUNC_SET_NOT_USED
 172 
 173 LINTFLAGS       += $(LINTERROFF)
 174 LINTFLAGS64     += $(LINTERROFF)
 175 LINTFLAGS64     += -errchk=longptr64
 176 
 177 CLAGS           += $(LINTERROFF)
 178 CFLAGS64        += $(LINTERROFF)
 179 
 180 ASDEF           += -DLIBMVEC_SO_BUILD
 181 
 182 FLTRPATH_sparc          = $$ORIGIN/cpu/$$ISALIST/libmvec_isa.so.1
 183 FLTRPATH_sparcv9        = $$ORIGIN/../cpu/$$ISALIST/sparcv9/libmvec_isa.so.1
 184 FLTRPATH_i386           = $$ORIGIN/libmvec/$$HWCAP
 185 FLTRPATH                = $(FLTRPATH_$(TARGET_ARCH))
 186 
 187 sparc_CFLAGS += -_cc=-W0,-xintrinsic
 188 sparcv9_CFLAGS += -_cc=-W0,-xintrinsic
 189 CPPFLAGS_i386   += -Dfabs=__fabs
 190 
 191 CPPFLAGS        += -DLIBMVEC_SO_BUILD
 192 
 193 SRCS_mvec_i386 = \
 194         ../common/__vsqrtf.c \
 195         #end
 196 
 197 SRCS_mvec_sparc = \
 198         $(SRCS_mvec_i386) \
 199         #end
 200 SRCS_mvec_sparcv9 = \
 201         $(SRCS_mvec_i386) \
 202         #end
 203 
 204 SRCS_mvec = \
 205         $(SRCS_mvec_$(TARGETMACH)) \
 206         ../common/__vTBL_atan1.c \
 207         ../common/__vTBL_atan2.c \
 208         ../common/__vTBL_rsqrt.c \
 209         ../common/__vTBL_sincos.c \
 210         ../common/__vTBL_sincos2.c \
 211         ../common/__vTBL_sqrtf.c \
 212         ../common/__vatan.c \




 160 include         $(SRC)/lib/Makefile.rootfs
 161 include         $(LIBMDIR)/Makefile.libm.com
 162 
 163 LIBS            = $(DYNLIB)
 164 SRCDIR          = ../common/
 165 DYNFLAGS        += -zignore
 166 
 167 LINTERROFF      = -erroff=E_FP_DIVISION_BY_ZERO 
 168 LINTERROFF      += -erroff=E_FP_INVALID
 169 LINTERROFF      += -erroff=E_BAD_PTR_CAST_ALIGN
 170 LINTERROFF      += -erroff=E_ASSIGMENT_CAUSE_LOSS_PREC
 171 LINTERROFF      += -erroff=E_FUNC_SET_NOT_USED
 172 
 173 LINTFLAGS       += $(LINTERROFF)
 174 LINTFLAGS64     += $(LINTERROFF)
 175 LINTFLAGS64     += -errchk=longptr64
 176 
 177 CLAGS           += $(LINTERROFF)
 178 CFLAGS64        += $(LINTERROFF)
 179 


 180 FLTRPATH_sparc          = $$ORIGIN/cpu/$$ISALIST/libmvec_isa.so.1
 181 FLTRPATH_sparcv9        = $$ORIGIN/../cpu/$$ISALIST/sparcv9/libmvec_isa.so.1
 182 FLTRPATH_i386           = $$ORIGIN/libmvec/$$HWCAP
 183 FLTRPATH                = $(FLTRPATH_$(TARGET_ARCH))
 184 
 185 sparc_CFLAGS += -_cc=-W0,-xintrinsic
 186 sparcv9_CFLAGS += -_cc=-W0,-xintrinsic
 187 CPPFLAGS_i386   += -Dfabs=__fabs
 188 


 189 SRCS_mvec_i386 = \
 190         ../common/__vsqrtf.c \
 191         #end
 192 
 193 SRCS_mvec_sparc = \
 194         $(SRCS_mvec_i386) \
 195         #end
 196 SRCS_mvec_sparcv9 = \
 197         $(SRCS_mvec_i386) \
 198         #end
 199 
 200 SRCS_mvec = \
 201         $(SRCS_mvec_$(TARGETMACH)) \
 202         ../common/__vTBL_atan1.c \
 203         ../common/__vTBL_atan2.c \
 204         ../common/__vTBL_rsqrt.c \
 205         ../common/__vTBL_sincos.c \
 206         ../common/__vTBL_sincos2.c \
 207         ../common/__vTBL_sqrtf.c \
 208         ../common/__vatan.c \