# Makefile - makefile for extracting C++ related objects from libimpfp.a
#
# modification history
# --------------------
# 01b,10sep13,mpc  use libimpfpnew.a for ARMARCH7M
# 01a,06feb02,sn   wrote
#
# DESCRIPTION
# This file contains the definitions needed for extracting objects
# from libimpfp.a (C++ intrinsics).

TGT_DIR          = $(WIND_BASE)/target
TOOL             = diab

LIB_BASE_NAME	 = diabcplus
LIB_COMMON	 = false

DIABLIBRARY      = libimpfp.a

# ARMARCH7M VFP only supports single-precision floating-point. The
# Diab library libimpfpnew.a should be used instead of libimpfp.a.

ifeq ($(CPU),ARMARCH7M)
  ifneq ($(_WRS_CONFIG_FP),soft)
    DIABLIBRARY      = libimpfpnew.a
  endif
endif  

CONFIGLETTE_NAME = diab_intrinsics_impfp_cplus

REAL_OBJS        = $(OBJS_LIBIMPFP_CPLUS)

include $(TGT_DIR)/src/tool/diab/rules.diab
